Re: Cocoa an Resource Forks
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