Re: Generic Folder icons in Dock

2013-12-16 Thread Jerry Krinock
Also, make sure you don’t have any old versions of your app with different icon values in Info.plist still hanging around on your hard drive, particularly anything in /Applications. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
On Dec 16, 2013, at 8:06 PM, Seth Willits wrote: > On Dec 16, 2013, at 3:21 PM, Alex Hall wrote: > >> I went ahead and used timers, just to get things off the ground. Many people >> seem to dislike them, but they work for me, for now anyway. It's really >> helpful to know about CVDisplayLink

Re: Best solution for game loop on OSX?

2013-12-16 Thread Seth Willits
On Dec 16, 2013, at 3:21 PM, Alex Hall wrote: > I went ahead and used timers, just to get things off the ground. Many people > seem to dislike them, but they work for me, for now anyway. It's really > helpful to know about CVDisplayLink, though, if I ever implement graphics or > need a more st

Re: Best solution for game loop on OSX?

2013-12-16 Thread Seth Willits
Are you *only* trying to do audio, or are you trying to render GL as well? -- Seth Willits On Dec 13, 2013, at 1:57 PM, Alex Hall wrote: > Hello list, > I am attempting to use OpenAL to move a sound source around. To do so > smoothly, though, will require a loop, so I can update the posit

Re: Best solution for game loop on OSX?

2013-12-16 Thread Richard Heard
Perhaps CVDisplayLink is what you are looking for. -R On 13 Dec 2013, at 1:57:15 PM, Alex Hall wrote: > Hello list, > I am attempting to use OpenAL to move a sound source around. To do so > smoothly, though, will require a loop, so I can update the position in small > increments many times per

Re: Best solution for game loop on OSX?

2013-12-16 Thread Marcelo Alves
You can use CVDisplayLink (Foundation, OS X) / CADisplayLink (iOS) with pretty good accuracy or a time dispatch timer. The dispatch timer approach is more portable (no changes in your code), a bit cleaner (block based, instead of function pointers in the case of CVDisplayLink), but it is up to

Re: Generic Folder icons in Dock

2013-12-16 Thread Kyle Sluder
> On Dec 13, 2013, at 1:51 AM, Graham Cox wrote: > > My app’s files are packages. They have the correct icon in the Finder and in > the app’s own “Recent Items” menu, but in the Dock they have generic folder > icons. Is there something I should be doing additionally to get the Dock to > correc

Re: _NSWarnForDrawingImageWithNoCurrentContext

2013-12-16 Thread Stephen J. Butler
Did you try the suggestion the warning listed? Breaking on "void _NSWarnForDrawingImageWithNoCurrentContext()"? Because a stack trace for when the error occurs would be helpful. On Sat, Dec 14, 2013 at 6:32 AM, Leonardo wrote: > Hi, when I rotate my NSView, my image disappears for a second from

Re: Best solution for game loop on OSX?

2013-12-16 Thread ChanMaxthon
My personal preference is GCD dispatching from your graphics rendering loop. Sent from my iPhone > On 2013年12月14日, at 5:57, Alex Hall wrote: > > Hello list, > I am attempting to use OpenAL to move a sound source around. To do so > smoothly, though, will require a loop, so I can update the pos

Re: Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
I went ahead and used timers, just to get things off the ground. Many people seem to dislike them, but they work for me, for now anyway. It's really helpful to know about CVDisplayLink, though, if I ever implement graphics or need a more strict timing solution. Thanks for the response. On Dec 16

Re: Best solution for game loop on OSX?

2013-12-16 Thread Dan Treiman
Alex, Ah, this has been a continuous discussion ever since OSX launched… :-). Heres my 2¢: The two best solutions (and by best I mean least time-wasting) are CVDisplayLink and NSTimer. CVDisplayLink synchronizes with the display refresh rate and gives you callbacks in a background th

Re: Generic Folder icons in Dock

2013-12-16 Thread Sean McBride
On Fri, 13 Dec 2013 10:51:02 +0100, Graham Cox said: >My app’s files are packages. They have the correct icon in the Finder >and in the app’s own “Recent Items” menu, but in the Dock they have >generic folder icons. Is there something I should be doing additionally >to get the Dock to correctly re

Re: Generic Folder icons in Dock

2013-12-16 Thread Shane Stanley
On 13 Dec 2013, at 8:51 PM, Graham Cox wrote: > My app’s files are packages. They have the correct icon in the Finder and in > the app’s own “Recent Items” menu, but in the Dock they have generic folder > icons. Is there something I should be doing additionally to get the Dock to > correctly r

Re: Address Book question

2013-12-16 Thread C.W. Betts
My best guess: the entitlements for your app doesn't include Address Book access. If you are getting this error and your app is not signed, file a bug report at Apple. There might also be an Address Book mailing list. If there is, try asking your question there as well. On Dec 9, 2013, at 9:56

Scrollable NSStackView

2013-12-16 Thread jonat...@mugginsoft.com
WWDC 2013 Session Video 213: Best Practices for Cocoa animation briefly describes embedding an NSStackView in an NSScrollView. The commentary mentions in passing that the NSClipView instance must use flipped co-ordinates. Why? Is this a general requirement for using auto layout subviews in an NSS

Unit testing Cocoa Application built with custom frameworks

2013-12-16 Thread Apparao Mulpuri
Hi List, I have an application developed with few custom frameworks and plugins. Started writing Unit tests for the Frameworks first. Unfortunatly, Otect(/Developer/Tools/otest) is giving the crash with the following error: setenv _REAL_SDKROOT macosx10.5 /bin/sh -c /Users//../../Build/.build/De

Unit testing Cocoa Application built with custom frameworks

2013-12-16 Thread Appa Rao Mulpuri
Hi List, I have an application developed with few custom frameworks and plugins. Started writing Unit tests for the Frameworks first. Unfortunatly, Otect(/Developer/Tools/otest) is giving the crash with the following error: 2013-12-12 18:03:36.280 otest-x86_64[77507:707] The test bundle at /U

Unit testing Cocoa application

2013-12-16 Thread Appa Rao Mulpuri
Hi List, I have an application developed with few custom frameworks and plugins. Started writing Unit tests for the Frameworks first. Unfortunatly, Otect(/Developer/Tools/otest) is giving the crash with the following error: setenv _REAL_SDKROOT macosx10.5 /bin/sh -c /Users//../../Build/.build

NSDistributedNotificationCenter Strangeness

2013-12-16 Thread Pax
Here's a little oddity that might either be me being foolish (again) or relate to an open Radar. I'm inclined to the former because (according to my search of this list, to see if anyone else was having the same problem) the Radar was opened in 2011 - which should be enough time to squish the b

_NSWarnForDrawingImageWithNoCurrentContext

2013-12-16 Thread Leonardo
Hi, when I rotate my NSView, my image disappears for a second from the screen and I get this error message It does not make sense to draw an image when [NSGraphicsContext currentContext] is nil. This is a programming error. Break on void _NSWarnForDrawingImageWithNoCurrentContext() to debug. Thi

NSDistributedNotificationCenter Strangeness

2013-12-16 Thread Pax
Here's a little oddity that might either be me being foolish (again) or relate to an open Radar. I'm inclined to the former because (according to my search of this list, to see if anyone else was having the same problem) the Radar was opened in 2011 - which should be enough time to squish the b

Best solution for game loop on OSX?

2013-12-16 Thread Alex Hall
Hello list, I am attempting to use OpenAL to move a sound source around. To do so smoothly, though, will require a loop, so I can update the position in small increments many times per second. This is essentially a game loop, so I've done much searching on implementing game loops in Objective-C.

Unit testing my Cocoa application

2013-12-16 Thread Appa Rao Mulpuri
Hi List, I have an application developed with few custom frameworks and plugins. Started writing Unit tests for the Frameworks first. Unfortunatly, Otect(/Developer/Tools/otest) is giving the crash with the following error: setenv _REAL_SDKROOT macosx10.5 /bin/sh -c /Users//../../Build/.build

Re: iPad keyboards

2013-12-16 Thread Maxthon Chan
Hangout is code-styled to iOS 7 fashion (pretty much in order to keep in align with their Google+ app which is already using iOS 7 SDK). Those non-iOS 6-look controls are not presented by the app per se. UIAlertView is in SpringBoard.app (it blocks power button and home button) and the cut/copy

Re: iPad keyboards

2013-12-16 Thread Rick Mann
On Dec 12, 2013, at 21:11 , Maxthon Chan wrote: > If you run a stock iOS 6 app on iOS 7 you get most of the UI in iOS 6 style. > As what I said, UIAlertView is not in your app but SpringBoard.app so that > will still get the iOS 7 look, for SpringBoard.app is linked against iOS 7 > SDK. > >

Re: iPad keyboards

2013-12-16 Thread Maxthon Chan
If you run a stock iOS 6 app on iOS 7 you get most of the UI in iOS 6 style. As what I said, UIAlertView is not in your app but SpringBoard.app so that will still get the iOS 7 look, for SpringBoard.app is linked against iOS 7 SDK. If you are styling iOS 6 app in the fashion of iOS 7 app you can

Generic Folder icons in Dock

2013-12-16 Thread Graham Cox
My app’s files are packages. They have the correct icon in the Finder and in the app’s own “Recent Items” menu, but in the Dock they have generic folder icons. Is there something I should be doing additionally to get the Dock to correctly recognise these, or is it a Dock bug? —Graham __