• 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
Question(s) on NSForm(s)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question(s) on NSForm(s)


  • Subject: Question(s) on NSForm(s)
  • From: Graham Wihlidal <email@hidden>
  • Date: Thu, 15 Nov 2001 00:30:41 -0700

Hey list,

Thanks for the previous replies, they've been helpful. :)

I have a few questions about NSForms. I have a few fields (Nickname, Username, Password, Confirm, Email)

Password and Confirm have to be Secure fields, and everything but Email has to be limited to 16 chars

I can do the text limit through the haschanged delegate, and the custom class for the password fields works fine if I use a separate field for each input, but then you lose the nice interaction with the tab key and cycling the focus between each field. I am fairly sure NSForm is the way to go, but I have a few questions:

When you drag the control onto the window, it defaults to 2 inputs, how do you increase that number?

How do I make 2 of the fields password fields?

I'm guessing for the text limit delegate, I would subclass NSFormCell? And then some of the basic functions from NSTextField SHOULD theoretically work with this class? Then I could check the length and set the value to a chopped string? Unless someone would be so kind as to detail a simple way to use NSFormatter? I have no clue how to use it yet :/

As always, feedback is much appreciated. Thank you

~Graham


  • Follow-Ups:
    • Re: Question(s) on NSForm(s)
      • From: Drew McCormack <email@hidden>
  • Prev by Date: Re: WHOA! Weird bug!!!
  • Next by Date: Re: Find dialog
  • Previous by thread: FSOpenIterator - I solved it!
  • Next by thread: Re: Question(s) on NSForm(s)
  • Index(es):
    • Date
    • Thread