Re: NSOpenPanel problem
Re: NSOpenPanel problem
- Subject: Re: NSOpenPanel problem
- From: "Jan E. Schotsman" <email@hidden>
- Date: Mon, 23 Jan 2012 19:22:06 +0100
On Jan 23, 2012, at 5:08 PM, Ken Thomases wrote:
If you're supporting Leopard, then you can't use ARC and the
original problem goes away.
??? I have set development target = 10.7 SDK, deployment target =
10.5 and ARC is on.
The compiler doesn't complain. I have clicked the "validate settings"
button and no problems are reported. Latest Mac OS, latest Xcode.
Also, serializing a string doesn't help because you still have a
Cocoa object -- an NSData now instead of an NSString -- and you have
to manage its memory just the same.
That's what [data getBytes:length:] is for.
Jan E.
_______________________________________________
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