• 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: Dynamically created widgets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Dynamically created widgets
      • From: Brian Luft <email@hidden>
References: 
 >Dynamically created widgets (From: Brian Luft <email@hidden>)

  • Prev by Date: Re: Current Document
  • Next by Date: Re: Current Document
  • Previous by thread: Dynamically created widgets
  • Next by thread: Re: Dynamically created widgets
  • Index(es):
    • Date
    • Thread