• 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: Touch screen framework in MAC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Touch screen framework in MAC


  • Subject: Re: Touch screen framework in MAC
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 1 Jun 2010 15:52:43 +0200

On 01.06.2010, at 07:45, Banupriya K wrote:
> I would like to know the framework available for touch screen in MAC os.

 There is no dedicated framework for that on the Mac. I guess it depends on what touch screen you're using and how the manufacturer implements things.

 I think most touch screens just simulate mouse clicks, so your best friend will probably be NSEvent (or all the AppKit methods that get called when an event arrives, like -mouseDown:). NSEvent is also how to get pressure data from graphics tablets (like WACOMs), and some essential trackpad gestures like pinch/zoom, swipe and rotate.

 There's also an NSTouch class that's worth checking out for trackpad gestures. Maybe touchscreen manufacturers support that as well, these days.

-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com



_______________________________________________

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

  • Prev by Date: Re: Writing an NNTP client
  • Next by Date: Re: Writing an NNTP client
  • Previous by thread: Re: Touch screen framework in MAC
  • Next by thread: POST request on iPhone
  • Index(es):
    • Date
    • Thread