On Oct 19, 2010, at 5:34 PM, Uli Kusterer wrote:

> On 19.10.2010, at 14:26, Bill Cheeseman wrote:
>> I'm up to F in one of my frameworks, because I keep playing around with 
>> things that require a change in the major version.
> 
> By the way, if you'e changing the instance variable layout, a better approach 
> than changing the framework version each time is probably just to use a 
> struct for your ivars, and only have a pointer to it in your public object's 
> ivars


I have understood this, and I do routinely put some extra ivars in my 
frameworks for this reason (just as Apple does). However, I am not sufficiently 
disciplined to use them that way.  I have been changing things that require 
major version changes. I do this because my work is both commercial and hobby, 
and the hobby part of it leaves me wanting to make my frameworks better without 
regard to previous implementations.

The lesson for commercial developers, or wannabe's, is to think ahead and get 
the major version stuff right the first time, with lots of wiggle room for 
future versions. As we all move to 64-bit, this will become easier.

--

Bill Cheeseman - b...@cheeseman.name

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to