• 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: Passing param by reference then using within block throws exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing param by reference then using within block throws exception


  • Subject: Re: Passing param by reference then using within block throws exception
  • From: Steve Mills <email@hidden>
  • Date: Thu, 22 Sep 2016 19:50:53 +0000 (GMT)

On Sep 22, 2016, at 02:45 PM, "Gary L. Wade" <email@hidden> wrote:

Look at these two lines:

   __block NSString*         noFillMeIn;
...
         *noFillMeIn = @"wow";

Unless the original code is correct, you've got mismatched pointers, and you should try turning on more warnings and reading what they say, as well as trying the analyzer.

Copy & paste mistake. The quoted syntax won't even compile.

Sent from iCloud's ridiculous UI, so, sorry about the formatting

 
_______________________________________________

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: 
 >Re: Passing param by reference then using within block throws exception (From: "Gary L. Wade" <email@hidden>)

  • Prev by Date: Re: Triggering a segue from code
  • Next by Date: Re: Maximum image size ?
  • Previous by thread: Re: Passing param by reference then using within block throws exception
  • Next by thread: How to update UI from a background thread
  • Index(es):
    • Date
    • Thread