<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:media="http://search.yahoo.com/mrss/"
> <channel><title>eSpecialized Blog</title> <atom:link href="http://www.blog.willandnora.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.blog.willandnora.com</link> <description>iPhone Development and more Blog</description> <lastBuildDate>Wed, 15 Feb 2012 20:29:32 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <copyright>Copyright &#xA9; eSpecialized Sudoku Blog 2010 </copyright> <managingEditor>especialized@blog.willandnora.com (eSpecialized Blog)</managingEditor> <webMaster>especialized@blog.willandnora.com (eSpecialized Blog)</webMaster> <image> <url>http://www.blog.sudokugeek.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url><title>eSpecialized Blog</title><link>http://www.blog.willandnora.com</link> <width>144</width> <height>144</height> </image> <itunes:subtitle></itunes:subtitle> <itunes:summary>SudokuGeek Development and Info Blog</itunes:summary> <itunes:keywords></itunes:keywords> <itunes:category text="Society &#38; Culture" /> <itunes:author>eSpecialized Blog</itunes:author> <itunes:owner> <itunes:name>eSpecialized Blog</itunes:name> <itunes:email>especialized@blog.willandnora.com</itunes:email> </itunes:owner> <itunes:block>no</itunes:block> <itunes:explicit>no</itunes:explicit> <itunes:image href="http://www.blog.sudokugeek.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" /> <item><title>Upgrade Ram on iMac or Run Optimizer?</title><link>http://www.blog.willandnora.com/sciencetech/upgrade-ram-imac-or-optimizer-software/</link> <comments>http://www.blog.willandnora.com/sciencetech/upgrade-ram-imac-or-optimizer-software/#comments</comments> <pubDate>Wed, 15 Feb 2012 20:29:32 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[App Review]]></category> <category><![CDATA[Science and Technology]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=295</guid> <description><![CDATA[I&#8217;m not getting anything for mentioning these programs. Your experience may vary with them. Last week I ordered some Additional Ram for our iMac 8 Gigs.  I run Lion in 64 bit mode because that gives me nearly an extra gig of ram (the full 4 gigs) to use. The Windows PC first; Now on [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m not getting anything for mentioning these programs. Your experience may vary with them.</p><p>Last week I ordered some Additional Ram for our iMac 8 Gigs.  I run Lion in 64 bit mode because that gives me nearly an extra gig of ram (the full 4 gigs) to use.</p><p><strong>The Windows PC first;</strong><br
/> Now on the PC before I re-installed windows as 64 bit I had tried for weeks to avoid it.  I downloaded Advanced System Optimizer, I bought it, ran it a few times. It did help somewhat with making it &#8220;feel&#8221; faster.  I even downloaded on the PC Cache Man XP, and other utilities.  Cache man I uninstalled.</p><p>ASO Advanced System Optimizer for Windows -&gt; yes it does help windows Performance feel faster.  The largest speed increase came from using Ready Boost on a USB 8 Gig stick!   This speed increase is noticeable in how Windows Redraws its desktop icons when something changes on the system.  The USB Cache made this nearly instantaneous!</p><p>So ASO is a Yes! Though only marginal upgrades to the feel of speed. Some had to do with installed services, I think the rest for Windows 7 had to do with running 32 bit mode and being cramped into 3.12 GB of ram out of 4! The re-install to Windows 7 64Bit made a huge difference! Of course everyone experiences this, it feels faster at first, and then over time it seems to bog down.</p><p>I have obtained an un-installer for windows, which should help with removing software that bogs down the system coming up in the next 3 months. We shall see! I plan a memory upgrade there too!</p><p><strong>Back to the iMac;</strong><br
/> On the iMac (its a 2 year old model) I obtained &#8220;Mac Keeper&#8221; last week. I decided to purchase it because the iMac became dismally slow this year with a recent upgrade to Lion, running Skype, Xcode, Firefox, Thunderbird, and tons of other apps that are memory hungry at the same time, I noticed lots of slow down.</p><p>&#8220;Mac Keeper&#8221; helped with some of it, un-installs of unused software helped with getting rid of the rest.  The iMac felt better daily. Still running Skype and Xcode together its slow.</p><p>With a 8 GB ram upgrade just 56$ including shipping, and its Kingston Ram! Wow!  Good timing.</p><p>That&#8217;s now installed.  The good news is it added with the 4 Gigs, because there are 4 memory slots, I just slide these in, and it all is working together so far (I come from a generation of &#8220;DON&#8217;T MIX RAM&#8221; including across brands etc.).</p><p>What remains to be seen is how well it performs here on out.</p><p><strong>Mac Keeper =</strong> Yes worth it, for those who cannot afford the ram, or don&#8217;t have the system to support it!</p><p><strong>(ASO) Advanced System Optimizer for Windows =</strong> Yes, helps clean up old software that doesn&#8217;t need to be on the system, helps unbog the system in services if they are running for no reason.</p><p><strong>Ram Upgrade =</strong> Definitely YES if you can do it, you should!  Don&#8217;t overestimate that just Adding Ram will make a system faster, sometimes you have to clean up, and sometimes only a re-install will do it!  And finally, sometimes its bloat ware! Things get bigger with time, Look at Windows XP.  10 Years adds a LOT of size to the OS.</p><p><strong>The big guns;</strong>  Also nothing beats going in with a fine tooth comb and removing things that are unneeded yourself.  A self optimization is sometimes necessary, not everyone is capable of this, and <em><strong>if you don&#8217;t KNOW what your DOING! DON&#8217;T DO IT!</strong></em>  Self optimizations like removing unnecessary programs with their un-installer or a good un-installer program may be in order.  I used <strong>Mac Keeper</strong> and <strong>ASO</strong> due to time constraints between projects, and really these companies make it their Duty to ensure a system is stable after optimization. Don&#8217;t underestimate the geeks hard at work for you with these programs!  They&#8217;ve tested out the best options for stability and ensured a working order machine after the fact!</p><p><strong>Windows Common Tools</strong> -&gt; Disk cleanup -&gt; yup use it!  Check Disk is also important.  SFC /scannow is too!</p><p><strong>Mac</strong> -&gt; Disk Check and backup (Time machine).  its a unix os, so don&#8217;t forget run levels, services, and things of those nature at the command line.</p><p><strong>CloneZilla</strong> -&gt; honorable mention!</p><p><strong>Keeping an Eye on things;</strong><br
/> I have mixed RAM on the iMac, but each bank has its own Matched RAM, so long as only bank switching occurs and the memory controller can deal with it, everything will work fine! NO issues. If I have issues look forward to another post about this in another week. No post = no problems!</p><p>Ram type = DDR3-1066.  Originally installed = 4 Gigs DDR3-1066 in slots 1/2,  Added 8 Gigs DDR4-1066 in slots3/4</p><p>- eSpecialized</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/sciencetech/upgrade-ram-imac-or-optimizer-software/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to use Objective C properties Properly</title><link>http://www.blog.willandnora.com/deviphone/objective-properties-properly/</link> <comments>http://www.blog.willandnora.com/deviphone/objective-properties-properly/#comments</comments> <pubDate>Tue, 06 Dec 2011 18:31:58 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[bCandied]]></category> <category><![CDATA[Develop iPhone/iPod SudokuGeek]]></category> <category><![CDATA[iOS Dev]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=289</guid> <description><![CDATA[In programming for iOS devices, many many people get properties wrong.  It is true, there are many ways to use them. The retain property is probably the best example I can think of.  Some objects when alloc&#8217;d and init&#8217;d, create a retained object.  Some other + functions create autorelease objects in the iOS library.  I [...]]]></description> <content:encoded><![CDATA[<p>In programming for iOS devices, many many people get properties wrong.  It is true, there are many ways to use them.</p><p>The retain property is probably the best example I can think of.  Some objects when alloc&#8217;d and init&#8217;d, create a retained object.  Some other + functions create autorelease objects in the iOS library.  I still have problems with these at times, due to the learning curve, and finding other peoples library&#8217;s do not follow the same conventions or template that the iOS libraries do.</p><div
class="wp_syntax"><div
class="code"><pre class="objc" style="font-family:monospace;"> 
&nbsp;
<span style="color: #6e371a;">#import &amp;lt;Foundation/Foundation.h&amp;gt;</span>
&nbsp;
<span style="color: #a61390;">@interface</span> Properties <span style="color: #002200;">:</span> <span style="color: #400080;">NSObject</span> <span style="color: #002200;">&#123;</span>
<span style="color: #400080;">NSMutableArray</span> <span style="color: #002200;">*</span>myArray; <span style="color: #11740a; font-style: italic;">//optional, properties now create the class object from the synthesize statement in xcode 4 and later.</span>
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #a61390;">@property</span> <span style="color: #002200;">&#40;</span>nonatomic, retain<span style="color: #002200;">&#41;</span> <span style="color: #400080;">NSMutableArray</span> <span style="color: #002200;">*</span>myArray;
&nbsp;
<span style="color: #a61390;">@end</span>
&nbsp;
<span style="color: #6e371a;">#import &quot;Properties.h&quot;</span>
&nbsp;
<span style="color: #a61390;">@implementation</span> Properties
&nbsp;
<span style="color: #a61390;">@synthesize</span> myArray;
&nbsp;
<span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>init
<span style="color: #002200;">&#123;</span>
self <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>super init<span style="color: #002200;">&#93;</span>;
&nbsp;
<span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>self<span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span>
<span style="color: #11740a; font-style: italic;">//here we assign the class object myArray the new alloc/init'd instance.  This alloc/init'd instance comes with a retain value of 1</span>
myArray <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span><span style="color: #400080;">NSMutableArray</span> alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #a61390;">return</span> self;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #002200;">-</span><span style="color: #002200;">&#40;</span><span style="color: #a61390;">void</span><span style="color: #002200;">&#41;</span>dealloc
<span style="color: #002200;">&#123;</span>
<span style="color: #11740a; font-style: italic;">//here we use the accessors to release the contents.</span>
self.myArray <span style="color: #002200;">=</span> <span style="color: #a61390;">nil</span>;
&nbsp;
<span style="color: #002200;">&#91;</span>super dealloc<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#125;</span>
&nbsp;
<span style="color: #a61390;">@end</span></pre></div></div><p>And that my friends is how to use a retain property.  If you set it = to anything else,  use the class object if what is returned is already retained (mutablecopy, copy, alloc/init).  If what you use is autoreleased (+ methods),  use the self.myArray to obtain the object and set a retain value on it.</p><p>I realize I don&#8217;t show assign for objects or others. Assigns you can always use the accessor methods, you must retain or release objects as needed with assigns and watch them just as tho you were using a class object.</p><p>If your App Delegate has your music, sound effects, graphics, opengl context etc retained. All subclasses (main menu, game, prefs etc) should only reference those retained objects with an assign.</p><p>Specifying autorelease;<br
/> You can change a retained object into an autorelease object. Once all objects no longer retain it, it is dealloc&#8217;d.<br
/> 1. Do not add an object to a autorelease pool twice.<br
/> a. Any object that comes from foundation which has a +shared by it, returns an autoreleased object. Read the documentation to ensure this is the case. Adding such an object to autorelease pool will introduce bugs and cause untraceable crashes.<br
/> b. For libraries made by other people, double check their code if its available, sometimes people do not return an autorelease object for their +shared methods.</p><p>2. Do not set a property that is retained, self.myarray = to a [[NSArray allc] init] retain]; this will result in improper retain counts. Count those retains, one by the property, one from alloc/init, and an additional one at the end with retain. 3 retains there.</p><p>I hope this helps you out, always use <strong>leak detector</strong> AND <strong>analyzer</strong> to help flush out bugs introduced using properties, and your retain counts.  Hold down on the Run button, and you will get profile and analyze.  Run analyzer first to fix the code problems directly,  and then use profiler to get extra retain bugs you missed.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/deviphone/objective-properties-properly/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>RFC: Daylight Savings Time &#8211; for all integrated devices</title><link>http://www.blog.willandnora.com/mcu-assembler-robotics/rfc/</link> <comments>http://www.blog.willandnora.com/mcu-assembler-robotics/rfc/#comments</comments> <pubDate>Sun, 20 Nov 2011 07:00:29 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[MCU Assembler Robotics]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=287</guid> <description><![CDATA[Subject Matter: All clocks, computers, portable devices, cell phones, at current time devices require firmware updates if supported to have new dates for day light savings time adjustments. It would be far easier for all new designs to incorporate the ability to adjust the Day light savings time fall back, spring forward dates. At current [...]]]></description> <content:encoded><![CDATA[<p>Subject Matter:  All clocks, computers, portable devices, cell phones,  at current time devices require firmware updates if supported to have new dates for day light savings time adjustments.<br
/> It would be far easier for all new designs to incorporate the ability to adjust the Day light savings time fall back, spring forward dates.</p><p> At current I have a few devices that cannot be updated, and have no interface to do so. At least 2 more sophisticated devices that run off nuclear decay time, and their date systems are hard set.</p><p>So I am throwing this out there, if you plan on releasing a device designed with any kind of real time clock (RTC) that has DST support in it, ensure to allow adjusting the dates for fall back, spring forward.</p><p>It would be far easier to just allow the consumer to adjust the hour + or &#8211; by one hour, than to include a DST setting.</p><p>My home thermostat has a old DST setting in it.  No interface is included either by menu, or usb to update the device. It is quickly becoming obsolete.</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/mcu-assembler-robotics/rfc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>bCandied and SudokuGeek updates</title><link>http://www.blog.willandnora.com/deviphone/bcandied-sudokugeek-updates/</link> <comments>http://www.blog.willandnora.com/deviphone/bcandied-sudokugeek-updates/#comments</comments> <pubDate>Sat, 19 Nov 2011 18:42:08 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[bCandied]]></category> <category><![CDATA[Develop iPhone/iPod SudokuGeek]]></category> <category><![CDATA[bcandied]]></category> <category><![CDATA[robot]]></category> <category><![CDATA[sparky]]></category> <category><![CDATA[sudokugeek]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=285</guid> <description><![CDATA[Unfortunately, its been difficult to work on updates right after my surgery. I am in high hopes that this may fix my sinus issues. Besides all those things.. I believe that the bCandied update is ready at last to go out. I had to re-port half the updates to ensure no bugs appeared. I got [...]]]></description> <content:encoded><![CDATA[<p> Unfortunately, its been difficult to work on updates right after my surgery.  I am in high hopes that this may fix my sinus issues.</p><p> Besides all those things.. I believe that the bCandied update is ready at last to go out.  I had to re-port half the updates to ensure no bugs appeared.  I got the most important ones done for now.</p><p> SudokuGeek -> making it harder.  Now this may be a challenge.  I think I have a way figured out of inserting xwings, triplets, twins, into the puzzles to make a &#8220;Very Difficult&#8221; category.</p><p> Getting back to the Robot >> wow when I cracked open the code to work on it, I found I was a bit muddy minded to work on it.  I have a new AVR32 bit controller, and a Venus GPS module. I will build the RC Rover into my Traxxas Summit.  Now that should be an excellent robot rover! All terrain, way point capable.  I&#8217;ll be writing it entirely in C if any one asks.  Assembler resources for the AVR32 MCU&#8217;s is limited.</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/deviphone/bcandied-sudokugeek-updates/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Sparky Bot</title><link>http://www.blog.willandnora.com/mcu-assembler-robotics/sparky-bot/</link> <comments>http://www.blog.willandnora.com/mcu-assembler-robotics/sparky-bot/#comments</comments> <pubDate>Wed, 02 Nov 2011 18:09:49 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[MCU Assembler Robotics]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=280</guid> <description><![CDATA[I&#8217;ve been working on some extra after hours project; Sparky Bot. Before I realized it I was wanting to develop the bot into a mini sumo bot. I lost focus on my vision of just getting the bot to move around and dance.  Its neat how hobby&#8217;s change and morph with desire to do more. [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been working on some extra after hours project; Sparky Bot.</p><p>Before I realized it I was wanting to develop the bot into a mini sumo bot. I lost focus on my vision of just getting the bot to move around and dance.  Its neat how hobby&#8217;s change and morph with desire to do more.</p><p>The idea of some competition, of building my own sumo ring, and of forming both robot chassis&#8217;s into sumo bots won&#8217;t be forgotten any time soon. Still I had a task to finish, and here are my results;</p><p><strong>Tasks;</strong><br
/> 1. Finish the bot build I had begun a long time ago.<br
/> 2. Get the robot to move around, sort of like a dance,  as much as a wheeled robot could be made to do so.<br
/> 3. All code to be made in Assembler for the AVR<br
/> 4. Movement would utilize counts from the quadrature encoders. The counts would use two interrupt pins as input to count up a distance.</p><p>After much pouring over documentation, assembler how-to and work. I came up with a working robot that does just these tasks.  My list is far longer but this is a good checkpoint before I make improvements.</p><div
id="attachment_281" class="wp-caption aligncenter" style="width: 310px"><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7350_1024.jpg"><img
class="size-medium wp-image-281" title="IMG_7350_1024" src="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7350_1024-300x200.jpg" alt="Image Showing the AVR Mega32" width="300" height="200" /></a><p
class="wp-caption-text">Image Showing the AVR Mega32</p></div><p
style="text-align: center;"><div
id="attachment_282" class="wp-caption aligncenter" style="width: 310px"><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7351_1024.jpg"><img
class="size-medium wp-image-282" title="IMG_7351_1024" src="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7351_1024-300x279.jpg" alt="Right Profile" width="300" height="279" /></a><p
class="wp-caption-text">Right Profile</p></div><p>&nbsp;</p><div
id="attachment_283" class="wp-caption aligncenter" style="width: 290px"><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7352_1024.jpg"><img
class="size-medium wp-image-283" title="IMG_7352_1024" src="http://www.blog.willandnora.com/wp-content/uploads/2011/11/IMG_7352_1024-280x300.jpg" alt="" width="280" height="300" /></a><p
class="wp-caption-text">Left Profile</p></div><p>&nbsp;</p><p><strong>Future of the design;</strong><br
/> 1. Get weight limit to within 500 grams for the sumo bot competition.<br
/> 2. The servo wheels are a little too wide at the moment, I need to put the servo&#8217;s on the inside of the bot to meet the 10CM width and length of the bot.<br
/> 3. The back with the caster wheel has to change in length to fit the 10 CM length limit.<br
/> So this all means that the batteries have to be repositioned. The servo&#8217;s instead of mounting on the outside, have to be on the inside. The batteries will have to fit above the servo&#8217;s.<br
/> Additional parts needed to add are the line detectors so the bot won&#8217;t roll off the table.</p><p><strong>Lessons learned;</strong><br
/> Controlling servo&#8217;s is nothing simple or easy, but requires thinking about what is really happening with the timers and when/how to adjust the PWM out to them in the AVR.</p><p>The &#8220;center&#8221; no roll setting for these continuous rotation servo (aka Gear boxes) floats. So the bot will have to be smart about it, and that requires some extra coding.  Since the quadrature encoders have a direction output, I can utilize that to make adjustments on the fly to the standing still code, to ensure the robot stays stationary.</p><p>Finally roll speed, the speed needs to be equal on both sides to more or less move in a straight line. Some extra code for this will be needed too.</p><p><strong>Finally the movie;<br
/> </strong><a
title="Sparky Moving" href="http://youtu.be/3k2yxaxhIGs" target="_blank"> http://youtu.be/3k2yxaxhIGs</a></p><p>&nbsp;<br
/> <iframe
width="560" height="315" src="http://www.youtube.com/embed/3k2yxaxhIGs" frameborder="0" allowfullscreen></iframe></p></p>]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/mcu-assembler-robotics/sparky-bot/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>UIScrollView doing the impossible &#8211; set contentSize in IB</title><link>http://www.blog.willandnora.com/ios-dev/uiscrollview-impossible-set-contentsize/</link> <comments>http://www.blog.willandnora.com/ios-dev/uiscrollview-impossible-set-contentsize/#comments</comments> <pubDate>Wed, 17 Aug 2011 16:36:06 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[iOS Dev]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=275</guid> <description><![CDATA[I&#8217;ve read often that its not possible to set contentSize in Interface Builder. Well I&#8217;ve found a hack around so to speak. Lets go with dimensions of the touch and phone devices.  320&#215;480 is their screen display size. Assumptions; your UIScrollView is all wired up to your class file. 1. UIView is set to the [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve read often that its not possible to set contentSize in Interface Builder.</p><p>Well I&#8217;ve found a hack around so to speak.</p><p>Lets go with dimensions of the touch and phone devices.  320&#215;480 is their screen display size.</p><p>Assumptions; your UIScrollView is all wired up to your class file.</p><p><strong>1. UIView is set to the dimensions you want to edit at first (say 320&#215;520)</strong></p><p><strong>2. Scrollview -&gt; same as UIView, but all autosizing items enabled locked to each edge.</strong></p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/08/autosizing.jpg"><img
class="aligncenter size-medium wp-image-276" title="autosizing ScrollView" src="http://www.blog.willandnora.com/wp-content/uploads/2011/08/autosizing-300x221.jpg" alt="" width="300" height="221" /></a></p><p><strong>3. Edit the Scrollview the way in which you want it.  Now in the UIScrollview attribute inspector, deselect &#8220;Autoresize Subviews&#8221;</strong></p><p><strong>4. Now comes the time to change the size of the UIView. so select it, and set it to the screen dimensions.</strong></p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/08/autosizingUIView.jpg"><img
class="aligncenter size-medium wp-image-277" title="autosizingUIView" src="http://www.blog.willandnora.com/wp-content/uploads/2011/08/autosizingUIView-300x126.jpg" alt="" width="300" height="126" /></a></p><p>&nbsp;</p><p><strong>5. Now in your viewWill/DidAppear method, use these lines</strong></p><div
class="wp_syntax"><div
class="code"><pre class="objc" style="font-family:monospace;">        CGRect newFrame <span style="color: #002200;">=</span> self.view.frame;
        CGSize newSize <span style="color: #002200;">=</span> CGSizeMake<span style="color: #002200;">&#40;</span>self.view.frame.size.width, scrollView.frame.size.height<span style="color: #002200;">&#41;</span>;
        <span style="color: #002200;">&#91;</span>scrollView setContentSize<span style="color: #002200;">:</span>newSize<span style="color: #002200;">&#93;</span>;
&nbsp;
        <span style="color: #002200;">&#91;</span>scrollView setFrame<span style="color: #002200;">:</span>newFrame<span style="color: #002200;">&#93;</span>;</pre></div></div><p><strong>This accomplishes 2 things;</strong><br
/> It grabs the frame height and sets it into the contentSize. This will allow scrolling.<br
/> The UIScrollView&#8217;s Frame is set to be the UIView&#8217;s frame.</p><p><strong>Debug;</strong><br
/> If you fail to deselect &#8220;Autoresize Subviews&#8221; in IB for the UIScrollView. When the Frame Size adjusts, so will the content, which is not the desired effect. So Just remember, autoresize can be a disaster for UIScrollView in some cases, and an advantage in others.</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/ios-dev/uiscrollview-impossible-set-contentsize/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Xcode 4 Connecting file owner to app delegate</title><link>http://www.blog.willandnora.com/ios-dev/xcode-4-connecting-file-owner/</link> <comments>http://www.blog.willandnora.com/ios-dev/xcode-4-connecting-file-owner/#comments</comments> <pubDate>Thu, 04 Aug 2011 22:54:57 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[iOS Dev]]></category> <category><![CDATA[delegate]]></category> <category><![CDATA[IB]]></category> <category><![CDATA[xcode 4]]></category> <category><![CDATA[xib]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=271</guid> <description><![CDATA[http://stackoverflow.com/questions/6170393/connecting-file-owner-to-app-delegate/6949566#6949566 Posted on Stack over flow, how to connect the delegate to the files owner in the dock. Since the Xcode 4 dock is usually hidden, this much needed part, to connect a delegate of a view to a file, is very needed. And probably asked about and has people frustrated to an end. So [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://stackoverflow.com/questions/6170393/connecting-file-owner-to-app-delegate/6949566#6949566" target="_blank">http://stackoverflow.com/questions/6170393/connecting-file-owner-to-app-delegate/6949566#6949566</a></p><p>Posted on Stack over flow, how to connect the delegate to the files owner in the dock.<br
/> Since the Xcode 4 dock is usually hidden, this much needed part, to connect a delegate of a view to a file, is very needed. And probably asked about and has people frustrated to an end.</p><p>So basically, select an XIB file, the Dock appears second pane from the left.<br
/> open up the Xcode 4 dock, which has a small triangle pointing to the right in it on the lower part of the bar.<br
/> You will see &#8220;Files Owner&#8221; pop up, and you can open up the view and make connections there.</p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/08/ConnectDelegateOutlet.png"><img
class="aligncenter size-medium wp-image-272" title="ConnectDelegateOutlet" src="http://www.blog.willandnora.com/wp-content/uploads/2011/08/ConnectDelegateOutlet-300x168.png" alt="" width="300" height="168" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/ios-dev/xcode-4-connecting-file-owner/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bean Diet &#8211; Day 40</title><link>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-40/</link> <comments>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-40/#comments</comments> <pubDate>Tue, 12 Jul 2011 23:32:53 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[Health and Dieting]]></category> <category><![CDATA[diet]]></category> <category><![CDATA[weight]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=266</guid> <description><![CDATA[I saw my lowest weight today at 258.2lbs on the scale.  This is about 4 lbs in 40 days, but it is an improvement over 262 from the original highest weight. Concerning this recipe; http://www.foodnetwork.com/recipes/alton-brown/the-once-and-future-beans-recipe/index.html This has me wondering what happened the first round making this recipe of beans? Well we made the recipe of [...]]]></description> <content:encoded><![CDATA[<p>I saw my lowest weight today at 258.2lbs on the scale.  This is about 4 lbs in 40 days, but it is an improvement over 262 from the original highest weight.</p><p>Concerning this recipe; <a
href="http://www.foodnetwork.com/recipes/alton-brown/the-once-and-future-beans-recipe/index.html" target="_blank">http://www.foodnetwork.com/recipes/alton-brown/the-once-and-future-beans-recipe/index.html</a></p><p>This has me wondering what happened the first round making this recipe of beans?</p><p>Well we made the recipe of beans differently.  We used White Great Northern Beans from Walmart.  We used low sodium bacon in the first batch from Costco. Also at the very end of cooking, is when I added the Cayenne pepper, black pepper, and salt.  And I only use the sea salt while my wife used kosher salt in our 2nd batch.</p><p>We have obtained a 20 lb bag of Great Northern white beans from Cash and Carry.  We plan to stick to the beans.  I am hopeful that these Great Northern white beans are the same as what we got for the first batch. Soon all will be told.  There are so many sub species of beans, it would be hard to believe that it may just be the first bag of white beans we got that caused such dramatic results.</p><p>Is it the beans, or low sodium bacon that makes all the difference?  Could salty food prevent weight loss?  It doesn&#8217;t appear to be in the list of causes, maybe just water retention issues? <a
href="http://www.water-retention.net/causes-of-water-retention/" target="_blank">http://www.water-retention.net/causes-of-water-retention/</a></p><p>So on to more testing with the recipe.  Fortunately it is not boring to eat it once a day, and just for bfast.</p><p>I also recall adding in lots of cans of beans here and there to add variety.  So I will be sure to do that.</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-40/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bean Diet &#8211; Day 29</title><link>http://www.blog.willandnora.com/health-and-dieting/bean-diet-29/</link> <comments>http://www.blog.willandnora.com/health-and-dieting/bean-diet-29/#comments</comments> <pubDate>Fri, 01 Jul 2011 15:53:11 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[Health and Dieting]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=262</guid> <description><![CDATA[Some catch up. Yesterday, Beans in the AM And the weight in has me at 255.6lbs Lunch was left over food from eating out, a few nacho&#8217;s with steak and some flauta&#8217;s. Dinner was home made mixed pork, potatoes, and carrots, white basmati rice. &#160;]]></description> <content:encoded><![CDATA[<p>Some catch up.</p><p>Yesterday, Beans in the AM</p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/07/2011-06-30-bfast.jpg"><img
class="aligncenter size-full wp-image-263" title="2011-06-30-bfast" src="http://www.blog.willandnora.com/wp-content/uploads/2011/07/2011-06-30-bfast.jpg" alt="" width="480" height="320" /></a><br
/> And the weight in has me at 255.6lbs</p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/07/2011-06-30-weight.jpg"><img
class="aligncenter size-full wp-image-264" title="2011-06-30-weight" src="http://www.blog.willandnora.com/wp-content/uploads/2011/07/2011-06-30-weight.jpg" alt="" width="480" height="320" /></a></p><p>Lunch was left over food from eating out, a few nacho&#8217;s with steak and some flauta&#8217;s.</p><p>Dinner was home made mixed pork, potatoes, and carrots, white basmati rice.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/health-and-dieting/bean-diet-29/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bean Diet &#8211; Day 28 &#8211; Lessons learned</title><link>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-28/</link> <comments>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-28/#comments</comments> <pubDate>Wed, 29 Jun 2011 19:18:12 +0000</pubDate> <dc:creator>eSpecialized</dc:creator> <category><![CDATA[Health and Dieting]]></category> <guid
isPermaLink="false">http://www.blog.willandnora.com/?p=258</guid> <description><![CDATA[Follow day 28 of the bean diet.]]></description> <content:encoded><![CDATA[<p>My wife and I are 4 weeks into this.</p><p>My thoughts during today&#8217;s walk were; stick to the beans.  So I am going to forgo most other foods in favor of beans strictly.</p><p>If this is a bean diet, lets do it that way!  I think in a prior post I was stating to adopt this ideal too.</p><p>For the past week I have eaten beans once daily, if not twice.  The decline did not start occurring till we started in on the White Great Northern baked beans Sunday June 26th.  Since then, each day we have seen about 0.3lbs disappear daily.</p><p><strong>Why the bounce back up then now climbing steadily down? </strong><br
/> 1. Exercise builds muscle mass which is heavier than fat.<br
/> 2. We changed to other beans to try it out, see if the losses continued.  This was at about the same time. We found with other beans you could get hungry again much sooner, and could eat much more than on the white baked beans.</p><p><a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/06/2011-06-29-walk.jpg"><img
class="aligncenter size-full wp-image-259" title="2011-06-29-walk" src="http://www.blog.willandnora.com/wp-content/uploads/2011/06/2011-06-29-walk.jpg" alt="" width="427" height="126" /></a>So going back on my word earlier, I walked to McD&#8217;s and got myself an Egg McMuffin. <img
src='http://www.blog.willandnora.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> 300 calories &#8211; 275. so just +25 calories,  + coffee cream and sugar = 35 more calories.  only drank half (they changed their coffee, its not tasty any longer).</p><p>So 60 calories this AM left to burn!  Beans is on the menu for Lunch.. I have an old DOS program from the 90&#8242;s that lets you combine ingredients and measure the calories better, so I will use that and post later the info on calories more accurately per cup of beans.</p><p>Finally todays lowest weight seen;<br
/> <a
href="http://www.blog.willandnora.com/wp-content/uploads/2011/06/2011-06-29-weight.jpg"><img
class="aligncenter size-full wp-image-260" title="2011-06-29-weight" src="http://www.blog.willandnora.com/wp-content/uploads/2011/06/2011-06-29-weight.jpg" alt="" width="300" height="142" /></a>Seems I cannot get a good image of the scale lately.  So a few times before this I saw 256 several times, then 255 several times.  We will just call it 255.5 lbs then.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.blog.willandnora.com/health-and-dieting/bean-diet-day-28/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/73 queries in 0.483 seconds using disk: basic

Served from: www.blog.willandnora.com @ 2012-05-20 20:02:15 -->
