dynamically create/remove IB elements and instance vars?
dynamically create/remove IB elements and instance vars?
- Subject: dynamically create/remove IB elements and instance vars?
- From: "Patrick J. Collins" <email@hidden>
- Date: Thu, 10 Dec 2009 14:21:08 -0800 (PST)
Hi,
I just wrote a basic little cocoa app to test my knowledge after going through
Apple's Currency Converter tutorial...
I made two text fields, and when you click a button, it combines the two words
together and displays them in a label.
I would like to expand on this and make it a little more interesting and
challenging, but I don't know how to do what I am thinking-- which is:
Create a button which will insert a new label/text field. This action also
needs to dynamically generate an instance variable in my model file for the
text of the new textfield, as well as generate an IBOutlet in my controller.
... I know how to do this immediately with javascript-- but.. objective-c and
xcode... no clue!
Any suggestions?
Patrick J. Collins
http://collinatorstudios.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden