FROM : David Dunham
DATE : Wed Aug 02 22:28:30 2006
On 2 Aug 2006, at 11:15, Matthew Stone wrote:
> I was wondering how I could create my user interface using Cocoa
> (objective-c) based on input from a text file. For example, if a
> text file is chosen that has 2 separate lines that are questions, I
> want to display each question with an additional NSTextField in
> which the user could supply an answer to the question.
It's easy enough to create an NSTextField on the fly and send
addSubView: -- why does this need to be saved in a .nib? This also
means you can track each one, which might be tricky in a nib (since
there's an arbitrary number of questions).
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
DATE : Wed Aug 02 22:28:30 2006
On 2 Aug 2006, at 11:15, Matthew Stone wrote:
> I was wondering how I could create my user interface using Cocoa
> (objective-c) based on input from a text file. For example, if a
> text file is chosen that has 2 separate lines that are questions, I
> want to display each question with an additional NSTextField in
> which the user could supply an answer to the question.
It's easy enough to create an NSTextField on the fly and send
addSubView: -- why does this need to be saved in a .nib? This also
means you can track each one, which might be tricky in a nib (since
there's an arbitrary number of questions).
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
Efficiency is intelligent laziness.
| Related mails | Author | Date |
|---|---|---|
| Matthew Stone | Aug 2, 20:15 | |
| I. Savant | Aug 2, 20:27 | |
| David Dunham | Aug 2, 22:28 |






Cocoa mail archive

