Re: How to create programaticlly
Re: How to create programaticlly
- Subject: Re: How to create programaticlly
- From: Joel Norvell <email@hidden>
- Date: Tue, 14 Jul 2009 16:37:09 -0700 (PDT)
Hi Agha,
In my previous note, I forgot to mention that the button will have to be explicitly connected to its window's view hierarchy, unless your view controller does this for you.
So you'll probably need to find its super view and do something like this:
[itsSuperview addSubview: newButton];
And this may not be the only point I overlooked, which only reinforces the wisdom of I. Savant's admonition*.
My best,
Joel
*Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime. –Chinese Proverb
_______________________________________________
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