Re: Newbie Question about the View
Re: Newbie Question about the View
- Subject: Re: Newbie Question about the View
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Thu, 17 May 2001 16:22:41 -0700
At 12:32 AM +0900 5/17/01, email@hidden wrote:
Hi, I'm a novice in programming GUI application especially for MacOS.
My question may sound somewhat silly but excuse me with your tolerance.
Well.... My question lies in the building interface for text entering.
1. How can I format the entering field in input level?
i.e. in entering field, I want to arrange the characters with some
rules, e.g. 5 letters and space, i.e. 55555 55555 55555.
I want to handle this format in entering level, that is, when
someone enters the character, they are displayed as above.
I want to know what object I should use, and what code should I write.
You want to subclass NSFormatter and apply that format to your field.
See the docs for NSFOrmatter.
2. How can I build multidocumented application?
i.e. I can handle multidocumented application with 1 window. But, I
don't know how to build 2 window system. e.g. A is a main window,
and A calls window B, a result window. How can I manage this? If I
make 2 windows in IB, and link from A to B... is that all? It didn't
work...
Do you mean multidocument or multiwindow? You say multidocument, but
the example you give is multiwindow. They are different concepts.
The answer to your question can be found here:
/Developer/Documentation/Cocoa/ProgrammingTopics/AppDesign/AppDesign.11.html
I expect experts's opinions.
Hey, free advice is worth at least what you paid for it.
--
_Deirdre Stash-o-Matic:
http://weirdre.com http://deirdre.net
Macintosh Developer (seeking work): Will work for Cocoa
"I love deadlines. I like the whooshing sound they make as they fly by."
- Douglas Adams