Download Xcode.
Create a new project using a "Framework" or "Library" template to create a library.
Create a new project using the "Application / Cocoa application" template to create a Cocoa application.
Add the library to your Cocoa application, include the header files, and just call the library functions.