• 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: Question about NSObject based Class & delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about NSObject based Class & delegates


  • Subject: Re: Question about NSObject based Class & delegates
  • From: Eric Dolecki <email@hidden>
  • Date: Mon, 14 Aug 2017 23:29:08 +0000
  • Thread-topic: Question about NSObject based Class & delegates

I get exc_bad_access. I guess that a plain init for AVAudioPlayer isn't enough.
Later in a try catch I apply the delegate after creation with a URL and it
seems to be okay.

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Jens Alfke <email@hidden>
Sent: Monday, August 14, 2017 6:40:14 PM
To: Eric E. Dolecki
Cc: cocoa-dev
Subject: Re: Question about NSObject based Class & delegates

That should work. What’s the crash (backtrace, other messages?)

—Jens
_______________________________________________

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: 
 >Question about NSObject based Class & delegates (From: "Eric E. Dolecki" <email@hidden>)
 >Re: Question about NSObject based Class & delegates (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Question about NSObject based Class & delegates
  • Next by Date: Decompressing JPEG data into specific format, getting raw pixels
  • Previous by thread: Re: Question about NSObject based Class & delegates
  • Next by thread: Re: Question about NSObject based Class & delegates
  • Index(es):
    • Date
    • Thread