• 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: NSTextField subclass needs cell subclass as well - how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField subclass needs cell subclass as well - how?


  • Subject: Re: NSTextField subclass needs cell subclass as well - how?
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 07 Oct 2015 20:33:56 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sA459inBzy:SMTPCORP

On Oct 7, 2015, at 17:50 , Graham Cox <email@hidden> 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 <email@hidden> 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 (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: NSTextField subclass needs cell subclass as well - how?
      • From: Graham Cox <email@hidden>
References: 
 >NSTextField subclass needs cell subclass as well - how? (From: Graham Cox <email@hidden>)
 >Re: NSTextField subclass needs cell subclass as well - how? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSTextField subclass needs cell subclass as well - how?
  • Next by Date: Re: NSSplitViewController : not in Interface Builder library?
  • Previous by thread: Re: NSTextField subclass needs cell subclass as well - how?
  • Next by thread: Re: NSTextField subclass needs cell subclass as well - how?
  • Index(es):
    • Date
    • Thread