A Nib Question: Multiple Instantiations of Views
A Nib Question: Multiple Instantiations of Views
- Subject: A Nib Question: Multiple Instantiations of Views
- From: The Amazing Llama <email@hidden>
- Date: Thu, 4 Apr 2002 00:16:26 -0800
I have a .nib in which I define a window, Foo, and an unconnected view,
Bar.
Bar has widgets in it, including a button that opens and closes a tray
off of Foo and some random text objects.
What I want to do is instantiate multiple copies of Bar, with different
text in the text objects, and pop them all into Foo so that all of them
appear in a list.
So the basic question is this: how do I
- load a view from the nib so that I get the formatting information,
- programmatically make lots of copies of it
- programmatically change the text, and
- programmatically put them all into the window?
Can I?
-The Amazing Llama <tallama at mac dot com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.