• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 836
  • Last Modified:

How do I create a Cocoa Dynamic Library for OS X?

So basically I want to create a Dynamic Library in OS X that is built utilizing Cocoa (In Obj-C, not C or C++).  My question is - how do I do this?

Ultimately I want the library to be loaded by another application (which I know how to do).  I just don't know how to create a module utilizing Objective-C.

Thanks!
0
Geesu
Asked:
Geesu
  • 2
1 Solution
 
pgnatyukCommented:
Probably, the easiest way is to create new project in Xcode and choose the framework template.

It's all explained here:
Creating a Framework
http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html

Everything about the dynamic libraries: http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/DynamicLibraries/000-Introduction/Introduction.html

0
 
GeesuAuthor Commented:
My end result is to inject the binary into another running process, I don't believe I can do this w/a framework
0
 
pgnatyukCommented:
For sure I cannot help you with it.
You wanted to know how to create your own dynamic library - you got the answer - Apple explains it perfect.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now