Re: Where to release in UIView
Re: Where to release in UIView
- Subject: Re: Where to release in UIView
- From: DKJ <email@hidden>
- Date: Sat, 18 Jul 2009 08:16:32 -0700
On 18-Jul-09, at 8:08 , Fritz Anderson wrote:
How did you create the NSDictionary? Do you declare a property or
accessor methods for the instance variable? Did you use them? If a
property, does it have the copy or retain attributes?
Show your declaration and initialization code.
This is what I have in awakeFromNib
shadingAreas = [[NSDictionary alloc] initWithObjectsAndKeys:
SaM, @"SaM", SeM, @"SeM", nil];
Which leads to my next question: The objects in this dictionary are
CGMutablePathRefs. How should I wrap these for the dictionary? As
NSValues, using valueWithPointer:?
dkj
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden