• 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: Dylib and parent application symbol access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dylib and parent application symbol access


  • Subject: Re: Dylib and parent application symbol access
  • From: Wade Tregaskis <email@hidden>
  • Date: Mon, 09 Jan 2012 18:05:25 -0800

> The dylib project is intended to be an SDK so 3rd parties can write their own plugin.
> The project has to be stand alone and somehow link to the APP.

Then your library is essentially a framework, for the purposes of this discussion.  So the question is why you have your library depending on your app?  The typical pattern is to have your app call into the plug-in library, registering callbacks or similar if necessary.

Note that you can get away with a lot thanks to the dynamic nature of Objective-C.  Can you use ObjC classes and methods instead of C functions & constants?

There's almost certainly a way to do things the way you're insisting, but you'll be working against the flow the entire time.  The closer you can follow the prescribed patterns, the easier it'll be.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Dylib and parent application symbol access
      • From: Robert Bielik <email@hidden>
References: 
 >Dylib and parent application symbol access (From: mark <email@hidden>)
 >Re: Dylib and parent application symbol access (From: Wade Tregaskis <email@hidden>)
 >Re: Dylib and parent application symbol access (From: mark <email@hidden>)

  • Prev by Date: Re: Dylib and parent application symbol access
  • Next by Date: Re: Dylib and parent application symbol access
  • Previous by thread: Re: Dylib and parent application symbol access
  • Next by thread: Re: Dylib and parent application symbol access
  • Index(es):
    • Date
    • Thread