Re: Struct Data Types
Re: Struct Data Types
- Subject: Re: Struct Data Types
- From: Adhamh Findlay <email@hidden>
- Date: Thu, 16 Aug 2007 21:26:11 -0500
On Aug 16, 2007, at 8:08 PM, Andrew Farmer wrote:
Because memory management for structures returned by reference is
extremely messy. As structs are not Objective-C objects, they
cannot make use of autorelease pools or retain/release counts.
A more general question, why are things like NSRange and NSRect
structs at all? I've never understood why this aren't objects...
Adhamh
_______________________________________________
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