ios :: AVAudioPlayer :: contents_of
new contents_of(url: NSObject) in "ObjC" `{
NSError *error;
AVAudioPlayer *a = [[AVAudioPlayer alloc] initWithContentsOfURL:(NSURL*)url error:&error];
if (error != nil) {
NSLog(@"Failed to load sound: %@", [error localizedDescription]);
return NULL;
}
return (__bridge AVAudioPlayer*)CFBridgingRetain(a);
`}
lib/ios/audio.nit:71,2--80,3