Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer > Using Objective...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 962 of 1025
Post > Topic >>

Using Objective-C From JavaScript

by Simon Slavin <slavins.delete.these.four.words@[EMAIL PROTECTED] Aug 27, 2007 at 07:32 PM

I'm really not very good at this.  I've written quite a lot of stuff in
Cocoa but it has all been entire Applications and now I need to write a
plugin or a framework or something.  I'm following the instructions on
this page

http://developer.apple.com/documentation/AppleApplications/Conceptual/Safar
iJSProgTopics/index.html

and it gets into a a nice example involving BasicAddressBook and talks
about editing a .m file.  But what kind of project is this ?  Should I
create it in Xcode by using 'Cocoa Application' or 'Cocoa Bundle' or is it
a library or what ?  It's not an application, in that 'main' does nothing
and it has no interface, so I guess the application options are wrong.

I assume I should link to WebKit.framework.  But the page mentions
WebScriptObject.h .  Should I be importing that somewhere, or is it part
of Cocoa or WebKit.framework or something else that means it will be
implicitly incorporated ?

Simon.
-- 
http://www.hearsay.demon.co.uk




 6 Posts in Topic:
Using Objective-C From JavaScript
Simon Slavin <slavins.  2007-08-27 19:32:32 
Re: Using Objective-C From JavaScript
Tom Harrington <tph@[E  2007-08-27 14:31:52 
Re: Using Objective-C From JavaScript
Simon Slavin <slavins.  2007-08-28 02:33:42 
Re: Using Objective-C From JavaScript
Tom Harrington <tph@[E  2007-08-27 21:15:39 
Re: Using Objective-C From JavaScript
Simon Slavin <slavins.  2007-08-29 22:25:40 
Re: Using Objective-C From JavaScript
David Phillip Oster <o  2007-08-28 02:53:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 4 16:44:04 CDT 2008.