• 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: "weak link" framework refs for 10.1 compatibility?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "weak link" framework refs for 10.1 compatibility?


  • Subject: Re: "weak link" framework refs for 10.1 compatibility?
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 10 Nov 2002 17:45:29 -0500

on 02-11-10 12:34 PM, Piers Uso Walter at email@hidden wrote:

> // Initially we used the NSAppKitVersionNumber in order to decide
> which bundle version to load (NSAppKitVersionNumber < 645.3:
> AddressBundle_10.1.bundle, NSAppKitVersionNumber >= 645.3:
> AddressBundle_10.2.bundle). This works without any problems, but is not
> very elegant from a conceptual standpoint. It is somewhat far-fetched to
> use the AppKit framework version in order to deduce which address
> framework may be present in a system.

Actually, Apple pretty much promotes this as a reliable technique. As long
as Apple continues to follow its established (but not particularly well
documented) policy of not incrementing the whole number of the AppKit or
foundation version numbers between major releases, you're OK. Assuming that
Apple doesn't radically change the Address Book framework in an interim
release. You can test for interim releases using the Gestalt function.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: "weak link" framework refs for 10.1 compatibility? (From: Piers Uso Walter <email@hidden>)

  • Prev by Date: Re: Setting up a Creator/Mine type
  • Next by Date: Re: MIME/creators
  • Previous by thread: Re: "weak link" framework refs for 10.1 compatibility?
  • Next by thread: Re: "weak link" framework refs for 10.1 compatibility?
  • Index(es):
    • Date
    • Thread