> On 8 Oct 2015, at 11:50 am, Graham Cox <graham....@bigpond.com> wrote: > > I understand that cells are going away, but there currently doesn’t seem to > be a replacement for returning a custom field editor for a given text field > that doesn’t involve its cell. If there is, and I’ve missed it, that would be > a better solution, so maybe someone could point me at what I should be doing.
I should just clarify: I do know about NSWindow and the window delegate’s involvement in returning a Field Editor, but it’s a poor fit for what I want to do in this case, which is to provide a custom Field Editor only for some specific fields, which are loaded dynamically and could end up in any of several different windows, which otherwise need to know nothing about them. -[NSCell fieldEditorForView:] does exactly what I need, and it’s documented for this exact purpose. Unfortunately it’s a method of NSCell, not of NSControl, and so far it has no replacement in NSControl that can be used as cells are deprecated. —Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com