• 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: Why is [NSArray arrayWithObjects:] failing for me?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is [NSArray arrayWithObjects:] failing for me?


  • Subject: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • From: Kai Brüning <email@hidden>
  • Date: Mon, 4 Jan 2010 14:09:53 +0100

On 4.1.2010, at 13:44, Charles Jenkins wrote:

> Thank you to all who offered your expertise!
>
> Whatta dumb mistake! I thought all objects were retained once when created, not auto-released. Gah!
>
> I've been programming for 20+ years--mostly with C++ and C#. Cocoa-ObjC has the steepest learning curve of any programming I have ever done.

Strange that you feel so. I’d say C++ is way more complex - although I did 20+ years of C++ coding and only 2 of ObjC/Cocoa.

But in any case you can take the whole retain/release problem out of your learning curve by switching to GC - unless you are targeting the iPhone.

> It makes me feel like an idiot, so you can certainly expect to see more of these noobish questions from me... Thanks in advance for your help and patience!

Kai_______________________________________________

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

References: 
 >Why is [NSArray arrayWithObjects:] failing for me? (From: Charles Jenkins <email@hidden>)
 >Re: Why is [NSArray arrayWithObjects:] failing for me? (From: Seth Willits <email@hidden>)
 >Re: Why is [NSArray arrayWithObjects:] failing for me? (From: Charles Jenkins <email@hidden>)

  • Prev by Date: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Next by Date: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Previous by thread: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Next by thread: Re: Why is [NSArray arrayWithObjects:] failing for me?
  • Index(es):
    • Date
    • Thread