• 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
Obtaining version number of framework at runtime... API available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining version number of framework at runtime... API available?


  • Subject: Obtaining version number of framework at runtime... API available?
  • From: Ray Rischpater <email@hidden>
  • Date: Mon, 12 Nov 2001 15:21:33 -0800

I'm fairly new to Cocoa, and am in the process of designing a pluggable architecture for an application.

For obvious reasons, NSBundle and the framework notion seem the obvious choice. I've read over the System Overview document, which discusses the internal representation of a framework, and how the framework can store versioning information. All of this is well and good.

Query: how can I actually check a framework's version number at runtime? Do I have to walk the framework's directory structure, or is there an API? In other words, if I've loaded my framework as a bundle, is there a quick-and-easy way to see what version it will support?

(I would think the answer is yes, but I'm still doing the documentation dance. I'd hate to use a non-standard technique like having my framework export a version method if it wasn't necessary...)

Thanks in advance,
Ray Rischpater


  • Follow-Ups:
    • Re: Obtaining version number of framework at runtime... API available?
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: bad documentation
  • Next by Date: Re: bad documentation
  • Previous by thread: Re: bad documentation
  • Next by thread: Re: Obtaining version number of framework at runtime... API available?
  • Index(es):
    • Date
    • Thread