• 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: Methods with Variable Numbers of Arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Methods with Variable Numbers of Arguments


  • Subject: Re: Methods with Variable Numbers of Arguments
  • From: matt neuburg <email@hidden>
  • Date: Tue, 17 Dec 2002 14:02:25 -0800

On 12/17/02 at roughly 3:30 PM, thus spake Joe Osborn <email@hidden>:

>I'm just not sure where it could happen... I'm invoking the method like
>this:
>
> OSBlock * block = [OSBlock blockWithString:@"[self workEffectively];
>return [NSData class];" nouns:self, [NSData class]];
>
>So I don't see how anything could happen to the string constant I feed.

I didn't say it was *that* string. I said it was *a* string. When there's a retain error and a string vanishes, string pointers can shift down and start pointing at the wrong thing. Sometimes it's another string. Sometimes it's garbage. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Methods with Variable Numbers of Arguments (From: Joe Osborn <email@hidden>)

  • Prev by Date: Re: Help me please to find a job in Cocoa
  • Next by Date: Re: Sharing methods with other objects
  • Previous by thread: Re: Methods with Variable Numbers of Arguments
  • Next by thread: Re: Methods with Variable Numbers of Arguments
  • Index(es):
    • Date
    • Thread