Daily Archives: January 10, 2012
When using delegates in an object in Objective-C it is important that the delegate is only assigned within your object, and never retained. The reason for this is to prevent a retain loop, where two objects retain each other; they will never be released. The fix is simple, but can catch you off guard if you want to create an array or dictionary of delegates (using an NSDictionary or NSArray).
Many of us are already making diet plans for the rest of 2012 while others are still in holiday mode. Either way, there are some guidelines you have to keep in mind in order to achieve your dietary goals.