• 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: NSString Retain Count of 2147483647
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString Retain Count of 2147483647


  • Subject: Re: NSString Retain Count of 2147483647
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 24 Jun 2009 11:05:31 -0500

On Jun 24, 2009, at 11:03 AM, Jean-Daniel Dupas wrote:
And it should not be an issue as you should not use it after release (the Static Analyzer will warn you if you do something like that).

I'm not sure the static analyzer will catch/warn about:

id someObject = [[MyObject alloc] init];
[someArray addObject:someObject];
[someObject release];
[someObject doSomething;

As it might assume that someArray took ownership.  If it doesn't, it should.  If someone has a moment to give it a test and it doesn't, please file a bug (due to a hard drive splosion, I don't currently have dev tools :).

b.bum
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSString Retain Count of 2147483647
      • From: Thomas Wetmore <email@hidden>
    • Re: NSString Retain Count of 2147483647
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >NSString Retain Count of 2147483647 (From: Thomas Wetmore <email@hidden>)
 >Re: NSString Retain Count of 2147483647 (From: Gwynne Raskind <email@hidden>)
 >Re: NSString Retain Count of 2147483647 (From: Clark Cox <email@hidden>)
 >Re: NSString Retain Count of 2147483647 (From: Martin Redington <email@hidden>)
 >Re: NSString Retain Count of 2147483647 (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: NSString Retain Count of 2147483647
  • Next by Date: Re: Code sign issues
  • Previous by thread: Re: NSString Retain Count of 2147483647
  • Next by thread: Re: NSString Retain Count of 2147483647
  • Index(es):
    • Date
    • Thread