• 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
How to stop warning?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to stop warning?


  • Subject: How to stop warning?
  • From: Dave <email@hidden>
  • Date: Wed, 10 Feb 2016 14:21:17 +0000

Hi,

I’m subclassing and overriding methods on a Class that has nullable/non null syntax enabled. I getting a warning on the following declaration:

-(nullable LTWNodeInfo*) getNodeAtIndexPath:(nonnull NSIndexPath*) theIndexPath  error:(NSError**) theErrorPtr;

Its saying that “theError” needs nullable/nonnull, but I can’t figure out the correct syntax for this to stop it moaning. Any ideas?

Also I can’t seem to find where these are documented?

Thanks in advance.

All the Best
Dave



 _______________________________________________
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: How to stop warning?
      • From: Jens Alfke <email@hidden>
    • Re: How to stop warning?
      • From: Jeff Hajewski <email@hidden>
  • Prev by Date: Re: Problem with Debugger Showing Object as a Collection?
  • Next by Date: Re: How to stop warning?
  • Previous by thread: Re: Side-by-side source/assembly views?
  • Next by thread: Re: How to stop warning?
  • Index(es):
    • Date
    • Thread