• 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: Newbie Question about the View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question about the View


  • Subject: Re: Newbie Question about the View
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 16 May 2001 18:39:08 +0200

On mercredi, mai 16, 2001, at 05:32 , 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.

Have a look at NSFormatter: http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ObjC_classic/
Classes/NSFormatter.html

and the OmniFoundation Framework for implementation samples.


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...

Why not doing One controller for each window and calling the result window controller from the main window controller.

--
Stephane


References: 
 >Newbie Question about the View (From: email@hidden)

  • Prev by Date: Re: wrapping text in an NSTextView
  • Next by Date: Re: Writing on an NSImage in Java
  • Previous by thread: Newbie Question about the View
  • Next by thread: Re: Newbie Question about the View
  • Index(es):
    • Date
    • Thread