O'Reilly logo

Advanced Mac OS X Programming: The Big Nerd Ranch Guide by Mark Dalrymple

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Libraries or Frameworks?

So, should you be turning all of your common code into frameworks? In general, no. Frameworks are great if you are supplying libraries to third parties for them to be used as-is. Your users can include the frameworks in their application bundles and happily use your stuff.

Where you get into trouble is following along the line of thought I have a suite of apps, so I’ll make a bunch of shared frameworks that all of them can use and put them up in /Library/Frameworks. Along this path lies madness. You need administrator privileges to install and update the frameworks. You will need to use an install package, or else escalate privilege, to install your frameworks.

Once you have your shared frameworks installed, you need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required