• 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: Charles Jenkins <email@hidden>
  • Date: Mon, 04 Jan 2010 07:58:35 -0500

On 2010-01-03 00:08, Eric Smith wrote:
Correct, do not release the array. If you don't create it with "init", or retain it, then you should not release it.
Eric, thank you for stating that rule. It should be easy enough to remember and help me avoid this problem in the future.

In my defense, there seems to be a bug in the latest XCode, which make strings stored in NSArrays look like garbage when inspected during debugging. So the elements of pnl appeared to be trashed immediately upon creation. That's why I was looking for the bug in the wrong place.

Does anyone else find XCode extremely buggy? I have to continually close and reopen my editing window because the code display gets trashed and appears to scramble my code. It doesn't really change the source code file; it just makes it look as if I've randomly gone through the file deleting stuff, and when I see that happen, I immediately save, close, and reopen the window, and everything is fine.

Mac software is usually first class, stable, and beautiful. How do folks write such great software when they're stuck with such a sub-par IDE? :-)

_______________________________________________

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


  • Follow-Ups:
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Alex Kac <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: "Paul Sanders" <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Paul Bruneau <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Dave Keck <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Kai BrĂ¼ning <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Roland King <email@hidden>
    • Re: Why is [NSArray arrayWithObjects:] failing for me?
      • From: Graham Cox <email@hidden>
References: 
 >Why is [NSArray arrayWithObjects:] failing for me? (From: Charles Jenkins <email@hidden>)
 >Re: Why is [NSArray arrayWithObjects:] failing for me? (From: "Eric E. Dolecki" <email@hidden>)

  • Prev by Date: Re: Setting NSWindow titlebar height
  • 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