Creating libraries in Mac

Discussion in 'Mac Programming' started by satyam90, Jan 4, 2008.

  1. satyam90 macrumors regular

    satyam90

    Joined:
    Jul 30, 2007
    Location:
    Bangalore, India
    #1
    Hi, I am developing application with different modules. I want to create library for each module and link to the application at runtime whenever necessary and detatch it when not used. Clearly saying, I want each NIB to be made a library so that all nib's will not be loaded initially. When ever user needs it, it must be loaded.
    I want to create something like DLL's in windows(C#). How can we achieve this?

    Regards,
    satyam.
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    First off, you don't need a library to accomplish this. Just use separate nibs in the app, and load them explicitly via -loadNibNamed:eek:wner: or NSWindowController. If you do still want something like a DLL though, check out frameworks and/or bundles.
     

Share This Page