• 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
recalculateKeyViewLoop doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

recalculateKeyViewLoop doesn't work


  • Subject: recalculateKeyViewLoop doesn't work
  • From: Nava Carmon <email@hidden>
  • Date: Thu, 29 Mar 2012 13:47:56 +0200

Hi

In my cocoa application I want to change the key order of my views. I fill in the nextKeyView reference for all subviews in the desired order. In the view's awakeFromNib function I do the following:

    [[self.view window] setInitialFirstResponder:self.view];
    [[self.view window] setAutorecalculatesKeyViewLoop:NO];
    [[[self view] window] recalculateKeyViewLoop];

where the nextKeyView for the self.view is set to the first subview I want to appear in key order.

Nothing helps and the the key ordering stays default. How to resolve it?

Thanks

Best Regards,

Nava Carmon,

Moshiach Times Ltd.,

e-mail: email@hidden
Skype: navacarmon
Phone: +972.52.8157770




_______________________________________________

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: recalculateKeyViewLoop doesn't work
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Getting the best frame rate for NSView drawing
  • Next by Date: Re: Getting the best frame rate for NSView drawing
  • Previous by thread: Re: Trouble with code signing and app store submission
  • Next by thread: Re: recalculateKeyViewLoop doesn't work
  • Index(es):
    • Date
    • Thread