Building a Cocoa App

[ Start > Building a Cocoa App ] [ Edit this Page | Show Page Versions | Show Raw Source ]


Building a new PikeCocoa app

1. build Pike.framework: from Pike/build/platform, run make framework.

  1. copy Pike.framework to directory mkapp resides in.
  2. build Public.ObjectiveC module
  3. copy resulting Public.pmod to Pike.framework/Versions/Current/Resources/i386/modules/
  4. run "mkapp Appname" to build application bundle
  5. Open Interface Builder and choose "File -> New..."
  6. Select "Application" and click "create".
  7. Select "File->Save..." and choose to save the file as a version 3.x NIB file (not XIB).
  8. Name the file "MainMenu.nib"
  9. copy the resulting nib bundle to Appname.app/Contents/Resources
  10. Start up the app!

    See Also


Powered by PikeWiki2

 
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University