Re: Dynamically created widgets
Re: Dynamically created widgets
- Subject: Re: Dynamically created widgets
- From: Ondra Cada <email@hidden>
- Date: Wed, 17 Oct 2001 11:57:59 +0100
Brian,
>
>>>>> Brian Luft (BL) wrote at Tue, 16 Oct 2001 22:31:30 -0500:
BL> How would one go about doing this with Cocoa?
BL> Under other operating systems, I've enumerated the MIDI devices and
BL> programmatically created the controls for each. What's the Cocoa way of
BL> doing this?
The easiest way is preparing NIBs containing partial views (like "all
widgets related to one channel", or whatever), loading them multiple times
(once for each channel, etc).
If your situation happens not to fit that, you can always create and connect
anything programmatically in Cocoa, but the above approach tends to be
better in a vast majority of situations.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc