• 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: Cocoa an Resource Forks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa an Resource Forks


  • Subject: Re: Cocoa an Resource Forks
  • From: David P Henderson <email@hidden>
  • Date: Fri, 15 Jun 2001 12:12:08 -0400

On Thursday, June 14, 2001, at 12:25 , rsharp wrote:

Speaking of which, is there a way in IB to create say a custom "editor"
for one's object? I guess I'm looking for something like MetroWerk's
Constructor app. It's easy to define an object's field type and an
appropriate editor will be used for that field. e.g. one such field could
be an int that could only have a certain range of values (e.g. month).
It would be cool to open up your object and be able to assign a value via
a popup button.

Use formatters to limit data types and ranges for fields much better. Foundation includes 2 prebuilt ones NSNumberFormatter and NSDateFormatter which are accessible from within IB on the TextView palette. Just drag the appropriate one on to the desired field and use the info panel to set the particulars for the formatter.

Dave
--
Chaos Assembly Werks
"Imagination is more important than knowledge."
- Albert Einstein


  • Prev by Date: NSDistributedNotification Strangeness..
  • Next by Date: Re: NSSound
  • Previous by thread: Re: NSDistributedNotification Strangeness..
  • Next by thread: Re: Cocoa an Resource Forks
  • Index(es):
    • Date
    • Thread