Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 6, 2005, 01:08 AM   #1
NewbieNerd
macrumors 6502a
 
Join Date: Sep 2005
Location: Chicago, IL
Send a message via AIM to NewbieNerd
Creating libraries in Objective-C/Cocoa

I'm pretty new to the Cocoa programming, and I am curious about what the different libraries are to create in XCode. Suppose I want to start a library project called X. If I choose dynamically linked library, it builds libX.dylib; if I choose static library, it builds libX.a; if I choose bundle, it builds libX.bundle. What are these things and what is the difference? Should I just create all seperate class files on my own and then tie them together via a single header file libX.h that just imports them? TEACH ME!
NewbieNerd is offline   0 Reply With Quote
Old Nov 6, 2005, 03:21 AM   #2
caveman_uk
Guest
 
caveman_uk's Avatar
 
Join Date: Feb 2003
Location: Hitchin, Herts, UK
What are you creating a library to do? If it's to be used by other Cocoa programs then IMO you're best off creating a framework. If you want to create a system library then my guess is you shouldn't being using cocoa at all- foundation maybe.
caveman_uk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Cocoa Touch and Objective C phalgun27 iPhone/iPad Programming 7 Aug 1, 2013 07:09 PM
Basic Objective-C Cocoa questions? cpuin Mac Programming 8 Jun 3, 2013 07:10 PM
BecomeAnXcoder : A free book for starting with Cocoa using Objective-C msaljaber iPhone/iPad Programming 0 Feb 7, 2013 05:30 AM
WebView in Cocoa (Objective-C) tr!pf!3 Mac Programming 0 Aug 28, 2012 09:48 AM
cocoa objective c pdfview not loaded in nsviewcontroller subview haseena Mac Programming 0 May 30, 2012 01:59 AM

Forum Jump

All times are GMT -5. The time now is 03:48 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC