• 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: How to change Tool modes programmatically for a Image View?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change Tool modes programmatically for a Image View?


  • Subject: Re: How to change Tool modes programmatically for a Image View?
  • From: Randall Meadows <email@hidden>
  • Date: Fri, 23 May 2008 14:44:47 -0600

On May 23, 2008, at 2:31 PM, Karl von Moller wrote:

Posted this question last night and maybe it was missed by most??!!

Hi, I'm trying to find out if it's possible to change the tool mode of an IKImageView's View programmatically? These are the tool modes provided by IKImageView's header file

IKToolModeNone;
IKToolModeMove;
IKToolModeSelect;
IKToolModeCrop;
IKToolModeRotate;
IKToolModeAnnotate;

Obviously these can be set in IB but I would like to have a single button in the user interface that would let the user cycle through the various tool options.

Can this be done?

-setCurrentToolMode:, as in

[myView setCurrentToolMode:IKToolModeSelect];

which can also be written as

myView.currentToolMode = IKToolModeSelect;

Review the documentation on ObjC-2.0 Properties to see why, even though the documentation does not list this specific method name, the object will respond to that message.
_______________________________________________


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


  • Follow-Ups:
    • Re: How to change Tool modes programmatically for a Image View?
      • From: Karl von Moller <email@hidden>
References: 
 >RE: How to change Tool modes programmatically for a Image View? (From: Karl von Moller <email@hidden>)

  • Prev by Date: Pasteboard question
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: RE: How to change Tool modes programmatically for a Image View?
  • Next by thread: Re: How to change Tool modes programmatically for a Image View?
  • Index(es):
    • Date
    • Thread