• 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: Deselect keyboard focus of an NSMatrix cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deselect keyboard focus of an NSMatrix cell


  • Subject: Re: Deselect keyboard focus of an NSMatrix cell
  • From: Jochen Moeller <email@hidden>
  • Date: Sun, 25 Jul 2010 17:58:45 +0200

Hello Kyle,

you are right, I did not call -endEditingFor: because in the example given in the reference this method is only called when -makeFirstResponder: returns NO. But in my case -makeFirstResponder:view returns YES, so the view (custom content view or text field object) should have the field editor.

Now I catched up the call to -endEditingFor:anId whereat for "anId" I tried the latest selected cell of the matrix or the matrix itself. Both had no effect, unfortunately. The key focus (blue selected content of the cell with focus ring around) remained in the cell of the matrix when hitting Return. In the bugreport I attached the project folder as demo.

Cheers and thanks a lot,
Jochen Moeller



Am 25.07.2010 um 02:20 schrieb Kyle Sluder:

> On Jul 24, 2010, at 3:03 PM, Jochen Moeller <email@hidden> wrote:
>
>> Hi,
>>
>> so it is programmatically still not possible to give the key focus to a view with -makeFirstResponder: when a text field cell is selected in a matrix. Therefore I submitted a bug report with Bug ID# 8231732.
>
> I notice that in your last email you didn't mention calling -endEditingFor:. Did you try this? What were the results?
>
> --Kyle Sluder

_______________________________________________

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: 
 >Deselect keyboard focus of an NSMatrix cell (From: Jochen Moeller <email@hidden>)
 >Re: Deselect keyboard focus of an NSMatrix cell (From: Kyle Sluder <email@hidden>)
 >Re: Deselect keyboard focus of an NSMatrix cell (From: Jochen Moeller <email@hidden>)
 >Re: Deselect keyboard focus of an NSMatrix cell (From: Jochen Moeller <email@hidden>)
 >Re: Deselect keyboard focus of an NSMatrix cell (From: Kyle Sluder <email@hidden>)

  • Prev by Date: OT?: Spinning Ball Animation in ABCNews iPad app - New CoreAnimation feature?
  • Next by Date: Re: Discard all drawing in a UIView
  • Previous by thread: Re: Deselect keyboard focus of an NSMatrix cell
  • Next by thread: Re: print object by %@ [solved]
  • Index(es):
    • Date
    • Thread