App Slicing and Bitcode relationship

2015-09-23 Thread ico
Hi, As far as I know, App Slicing has two major parts of functionality: 1. slice the resource so that only the certain suitable resources are downloaded for a specific device, for example, iPhone 5 only downloads @2x images and will not download @3x images. 2. slice the binary code, that is the ap

Re: Beep ( duration, frequency )

2015-09-23 Thread Jens Alfke
> On Sep 23, 2015, at 9:05 PM, dangerwillrobinsondan...@gmail.com wrote: > > There is also AVAudioEngine added in Yosemite. > It's a higher level Objective-C API around Core Audio. > The docs still kind of don't tell you much and at times the API makes more > sense if you know a little about C

Re: [ALERT:Possible Phishing] Beep ( duration, frequency )

2015-09-23 Thread Raglan T. Tiger
I found that Glass, Ping and Pop are real close to the Windows frequencies used. Mark it implemented. -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mo

[ALERT:Possible Phishing] Re: Beep ( duration, frequency )

2015-09-23 Thread dangerwillrobinsondanger
There is also AVAudioEngine added in Yosemite. It's a higher level Objective-C API around Core Audio. The docs still kind of don't tell you much and at times the API makes more sense if you know a little about Core Audio but the friction is a lot less C level. The Amazing Audio Engine is a fa

Re: Beep ( duration, frequency )

2015-09-23 Thread Jens Alfke
> On Sep 23, 2015, at 8:11 PM, Raglan T. Tiger wrote: > > After I frustrated myself I realized your recommendation. Now I want to make > arbitrary sounds (am I a recording engineer to?) to use with +soundNAMED so > any suggestions while I Alphabet? For general sound recording or making synth

Re: Beep ( duration, frequency )

2015-09-23 Thread Raglan T. Tiger
-rags > On Sep 23, 2015, at 7:18 PM, k...@hh.iij4u.or.jp wrote: > > If you want to use different sounds for some alerts or notifications, you can > use sytem provided sounds, such as "Basso", "Frog", "Submarine", etc. > > NSSound *sound = [NSSound soundNamed:@"Submarine"]; > [sound play];

Re: Beep ( duration, frequency )

2015-09-23 Thread Charles Srstka
> On Sep 23, 2015, at 7:40 PM, Jens Alfke wrote: > >> On Sep 23, 2015, at 4:41 PM, Raglan T. Tiger > > wrote: >> >> I want code that is this simple on Windows: >> >> DWORD freq = 587; >> if(!something) freq = 659; >> if(another) freq = 523; >> Beep(freq, 150); >

Re: Beep ( duration, frequency )

2015-09-23 Thread kata
> Windows has a Beep function: > > BOOL WINAPI Beep( > _In_ DWORD dwFreq, > _In_ DWORD dwDuration > ); > > Is there anything this easy for OS X? If you want to use different sounds for some alerts or notifications, you can use sytem provided sounds, such as "Basso", "Frog", "Submarine", etc.

Re: Beep ( duration, frequency )

2015-09-23 Thread Quincey Morris
On Sep 23, 2015, at 17:40 , Jens Alfke wrote: > > No, there’s no simple API for this. There’s a simple way to play an arbitrary finite-length sound (AVAudioPlayer). All you need is a sound file (or a couple of sound files) that can easily be created in an audio editor. It’s only 2 lines to pla

Re: Beep ( duration, frequency )

2015-09-23 Thread Jens Alfke
> On Sep 23, 2015, at 4:41 PM, Raglan T. Tiger wrote: > > I want code that is this simple on Windows: > > DWORD freq = 587; > if(!something) freq = 659; > if(another) freq = 523; > Beep(freq, 150); No, there’s no simple API for this. This API in Windows is a relic of the early PC days when ge

Re: Beep ( duration, frequency )

2015-09-23 Thread Raglan T. Tiger
-rags > On Sep 23, 2015, at 5:49 PM, Ed Wynne wrote: > > That said, synthesizing beep-like-waveforms isn’t very hard. You should ask > google, or stack overflow. Well I have googled and see many more lines of code that the simple windows Beep ... PIA -rags ___

Re: Beep ( duration, frequency )

2015-09-23 Thread Ed Wynne
On Sep 23, 2015, at 7:41 PM, Raglan T. Tiger wrote: > > >> On Sep 23, 2015, at 5:30 PM, Jens Alfke wrote: >> >> What is it you’re trying to do? > > I want code that is this simple on Windows: > > DWORD freq = 587; > if(!something) freq = 659; > if(another) freq = 523; > Beep(freq, 150); O

Re: Beep ( duration, frequency )

2015-09-23 Thread Kaydell Leavitt
> On Sep 23, 2015, at 5:31 PM, Richard Charles wrote: > > >> On Sep 23, 2015, at 5:13 PM, Raglan T. Tiger wrote: >> >> Windows has a Beep function: >> >> BOOL WINAPI Beep( >> _In_ DWORD dwFreq, >> _In_ DWORD dwDuration >> ); >> >> Is there anything this easy for OS X? > > void NSBeep (void

Re: Beep ( duration, frequency )

2015-09-23 Thread Raglan T. Tiger
> On Sep 23, 2015, at 5:30 PM, Jens Alfke wrote: > > What is it you’re trying to do? I want code that is this simple on Windows: DWORD freq = 587; if(!something) freq = 659; if(another) freq = 523; Beep(freq, 150); ___ Cocoa-dev mailing list (Coco

Re: Beep ( duration, frequency )

2015-09-23 Thread Richard Charles
> On Sep 23, 2015, at 5:13 PM, Raglan T. Tiger wrote: > > Windows has a Beep function: > > BOOL WINAPI Beep( > _In_ DWORD dwFreq, > _In_ DWORD dwDuration > ); > > Is there anything this easy for OS X? void NSBeep (void); This is a standard system alert. The term “beep” implies an alert, me

Re: Beep ( duration, frequency )

2015-09-23 Thread Jens Alfke
> On Sep 23, 2015, at 4:13 PM, Raglan T. Tiger wrote: > > Is there anything this easy for OS X? Well, NSBeep() is pretty easy if you just want to play a sound to alert the user. There’s no simple way to play ugly-sounding poorly-timed square waves, like the Windows Beep function. You’d need

Beep ( duration, frequency )

2015-09-23 Thread Raglan T. Tiger
Windows has a Beep function: BOOL WINAPI Beep( _In_ DWORD dwFreq, _In_ DWORD dwDuration ); Is there anything this easy for OS X? -rags ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: swift: windowControllerDidLoadNib called twice

2015-09-23 Thread Boyd Collier
Thanks, Quincey, for taking the trouble to respond. I’m pleased to say that after far too many hours of going over the details of my code (and having to make a trip to our local Apple store to get my “magic mouse” replaced), it is now working correctly. I’ve been writing code for Macs off-and

Re: Toolbar Template Image help

2015-09-23 Thread Lee Ann Rucker
A template image is just one that’s designed according to specific rules and has a name ending in “Template” or the isTemplate flag set: https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/ToolbarIcons.html#//apple_ref/doc/uid/2957-CH89-SW1 Any bla

Re: Toolbar Template Image help

2015-09-23 Thread Jens Alfke
> On Sep 23, 2015, at 1:31 AM, Costas Chatzinikolas > wrote: > > Hi everyone. > > I want to design my toolbar icon images for my segmented control and i want > to start from somewhere. It sounds like you’re looking for an image of the background of the segmented control? You don’t need that.

Re: OpenGL Vertical Syncing effect on run loops

2015-09-23 Thread Michael David Crawford
My Warp Life implementation of Conway's Game of Life updates its model - a square grid of bits - up to 8,000 times per second, but invalidates the display with a display link. It works really well and results in a frame rate far faster than the refresh rate but with smooth animation. I was puzzle

Toolbar Template Image help

2015-09-23 Thread Costas Chatzinikolas
Hi everyone. I want to design my toolbar icon images for my segmented control and i want to start from somewhere. Does any of you have a template image for a toolbar icon to share? I did a lot of search but i could not find a template to download. I am using XCode 7 in Yosemite. Thanks a lot. _