Talk About Network

Google


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 > Re: Using Objec...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 962 of 1040
Post > Topic >>

Re: Using Objective-C From JavaScript

by Tom Harrington <tph@[EMAIL PROTECTED] > Aug 27, 2007 at 02:31 PM

In article <fav5ca$r3g$1$8300dec7@[EMAIL PROTECTED]
>,
 Simon Slavin <slavins.delete.these.four.words@[EMAIL PROTECTED]
> 
 wrote:

> 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/do***entation/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.

That do***entation applies if you're writing a Mac OS X application that 
uses WebKit for some or all of its UI.  Cocoa Application, or 
do***ent-based application, or whatever, is a decision that depends on 
what the application does.  The Objective-C objects that can then be 
used from JavaScript are whatever is in your application that's 
appropriate to the WebKit ****tion of the app.

Are you looking to write a plugin that would work in Safari?  That 
sounds like it might be what you mean but it's not clear.

-- 
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/
 




 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 Dec 5 6:32:52 CST 2008.