• 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: Linking to MLMediaSourcePhotosIdentifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking to MLMediaSourcePhotosIdentifier


  • Subject: Re: Linking to MLMediaSourcePhotosIdentifier
  • From: Graham Cox <email@hidden>
  • Date: Thu, 23 Apr 2015 15:38:49 +1000

> On 23 Apr 2015, at 3:30 pm, Roland King <email@hidden> wrote:
>
> Check if the address of the string constant is NULL. If it is, it wasn’t found. That’s the same as checking for weak linked methods.


But that test itself crashes…


i.e. if I do this:

if( MLMediaSourcePhotosIdentifier == nil )
{


	...
}

I get EXC_BAD_ACCESS.

—Graham



_______________________________________________

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: Linking to MLMediaSourcePhotosIdentifier
      • From: Roland King <email@hidden>
References: 
 >Linking to MLMediaSourcePhotosIdentifier (From: Graham Cox <email@hidden>)
 >Re: Linking to MLMediaSourcePhotosIdentifier (From: Roland King <email@hidden>)

  • Prev by Date: Re: Linking to MLMediaSourcePhotosIdentifier
  • Next by Date: Re: Linking to MLMediaSourcePhotosIdentifier
  • Previous by thread: Re: Linking to MLMediaSourcePhotosIdentifier
  • Next by thread: Re: Linking to MLMediaSourcePhotosIdentifier
  • Index(es):
    • Date
    • Thread