• 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: init vs awakefromnib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init vs awakefromnib


  • Subject: Re: init vs awakefromnib
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 10 Mar 2007 17:20:42 -0800
  • Thread-topic: init vs awakefromnib

on 07/03/10 16:30, Ahmet Taha Sakar at email@hidden wrote:

> I declare it in the interface, and in implimentation I alloc and init.
>
> so it's like
> NSMutableArray *myarray;
>
>
> myArray = [[NSMutableArray alloc] init]
>
> If I do the second line in init method of class, it doesnt stick around.
> but if I do it in awakefromnib it's there.

You should post some code, because that's not the way it works.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

References: 
 >Re: init vs awakefromnib (From: "Ahmet Taha Sakar" <email@hidden>)

  • Prev by Date: Re: Allowing cancel and progress but not updating display
  • Next by Date: Re: Need help with setNeedsDisplay
  • Previous by thread: Re: init vs awakefromnib
  • Next by thread: Re: init vs awakefromnib
  • Index(es):
    • Date
    • Thread