• 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: Checking for nil-return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for nil-return


  • Subject: Re: Checking for nil-return
  • From: Remco Poelstra <email@hidden>
  • Date: Tue, 05 Oct 2010 16:18:06 +0200

Op 5-10-2010 16:11, Dave DeLong schreef:
Then you have much bigger problems.

I already thought so :). But I noticed that [NSArray arrayWithCapacity] also never returns nil. But I can create a very large array, and I can make it bigger with addObjects:atIndexes: and that function returns void, so always succeeds. How is that possible?


Regards,

Remco Poelstra
_______________________________________________

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: Checking for nil-return
      • From: Matt Gough <email@hidden>
References: 
 >Checking for nil-return (From: Remco Poelstra <email@hidden>)
 >Re: Checking for nil-return (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Checking for nil-return
  • Next by Date: Re: Checking for nil-return
  • Previous by thread: Re: Checking for nil-return
  • Next by thread: Re: Checking for nil-return
  • Index(es):
    • Date
    • Thread