• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Framework Major versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework Major versions


  • Subject: Re: Framework Major versions
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 19 Oct 2010 18:00:13 -0400

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 - email@hidden

_______________________________________________

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

  • Follow-Ups:
    • Re: Framework Major versions
      • From: Ken Ferry <email@hidden>
References: 
 >Framework Major versions (From: Alexander Cohen <email@hidden>)
 >Re: Framework Major versions (From: Nick Zitzmann <email@hidden>)
 >Re: Framework Major versions (From: Bill Cheeseman <email@hidden>)
 >Re: Framework Major versions (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: NSDictionary allValues not mutable
  • Next by Date: Re: Framework Major versions
  • Previous by thread: Re: Framework Major versions
  • Next by thread: Re: Framework Major versions
  • Index(es):
    • Date
    • Thread