• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interaction with web javascript & cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interaction with web javascript & cocoa


  • Subject: Re: Interaction with web javascript & cocoa
  • From: Benjamin Dobson <email@hidden>
  • Date: Tue, 20 Jan 2009 22:12:18 +0000


On 20 Jan 2009, at 22:06:52, Alex Mills wrote:

Hey,

I have built a Javascript WYSIWYG editor. I want to build a WebKit based cocoa app with buttons that can call a function from the editor loaded in webkit. For example I want to have a button within the Cocoa interface that calls the Javascript function 'makeBold()' to make the selected text within the editor bold. If this is possible I then want to save the editor generated html to string so that I can store it within Core Data. I checked out the Apple Webkit programming guide but it doesn't provide much.

Any help would be greatly appreciated.

Cheers
Alex Mills
www.alexmillsdesign.com

I would assume you just send the web view to a javascript: URL, but I haven't even looked at the docs on this one.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Interaction with web javascript & cocoa (From: Alex Mills <email@hidden>)

  • Prev by Date: Interaction with web javascript & cocoa
  • Next by Date: Re: Interaction with web javascript & cocoa
  • Previous by thread: Interaction with web javascript & cocoa
  • Next by thread: Re: Interaction with web javascript & cocoa
  • Index(es):
    • Date
    • Thread