Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
afconvert -f caff -d LEI16@44100 -c 1 file.wav file.caf |
// vibrate | |
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); | |
// play short sound (< 30s) | |
SystemSoundID beep; | |
// Create the sound ID | |
NSString *path = [[NSBundle mainBundle] pathForResource:@"sound" ofType:@"caf"]; | |
NSURL *url = [NSURL fileURLWithPath:path]; | |
AudioServicesCreateSystemSoundID((__bridge CFURLRef)url, &beep); |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
WWDC 2014 - Talks by Evangelists | |
============================================================ | |
============================================================ | |
Jake Behrens - App Frameworks Evangelists | |
behrens@apple.com/Twitter: @Behrens | |
============================================================ | |
- A Look Inside Presentation Controllers | |
- Accessibility on iOS | |
- Accessibility on OS X |