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 <j...@mooseyard.com>
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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to