• 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: How to create programaticlly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: {Cocoa semi-related} Unable to de-archive an archive from SQLite.
  • Next by Date: Re: {Cocoa semi-related} Unable to de-archive an archive from SQLite.
  • Previous by thread: Re: How to create programaticlly
  • Next by thread: Core Data debugging
  • Index(es):
    • Date
    • Thread