On Oct 7, 2015, at 17:50 , Graham Cox <graham....@bigpond.com> wrote: > > I’d rather do it in code, because I have hundreds of these fields and it > would be a lot simpler to simply set the cell class once in code instead of > hundreds of times in IB.
On Oct 7, 2015, at 20:13 , Graham Cox <graham....@bigpond.com> wrote: > > 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 These statements sound a bit contradictory to me, but never mind. You’re asking about swapping out the cells of text fields programmatically. Is is technically impossible for you to swap out the text fields themselves? (If necessary, by loading the affected controls uncustomized at first, then replacing them with customized ones loaded from a text field nib that has a custom cell set in IB?) _______________________________________________ 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