Re: [SOLVED] Re: What does this mean?

2012-11-07 Thread Kyle Sluder
On Nov 7, 2012, at 7:23 PM, Graham Cox wrote: > Never mind, Time Machine saved my ass. I must have touched the file somehow > (why are these writable?). Because the headers are located inside the app wrapper instead of /System/Library/Frameworks. I don't know if this issue affects MAS-distrib

Re: [SOLVED] Re: What does this mean?

2012-11-07 Thread Marco S Hyman
On Nov 7, 2012, at 7:23 PM, Graham Cox wrote: > Never mind, Time Machine saved my ass. I must have touched the file somehow > (why are these writable?). Bet it's another case of autosave doing unintended harm. Checking the "Ask to keep changes when closing documents" option in General System

[SOLVED] Re: What does this mean?

2012-11-07 Thread Graham Cox
Never mind, Time Machine saved my ass. I must have touched the file somehow (why are these writable?). --Graham On 08/11/2012, at 2:16 PM, Graham Cox wrote: > I just started getting this error when building with Xcode: > > fatal error: file '/Developer/Applications/Xcode > 4.4.app/Contents/

What does this mean?

2012-11-07 Thread Graham Cox
I just started getting this error when building with Xcode: fatal error: file '/Developer/Applications/Xcode 4.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h' has been modified since the precompil

Re: Help Indexer error - what does it MEAN?

2012-11-07 Thread Matthias Arndt
Hi Graham, I had the same issue today: As Andy mentioned the HTML validation is much stricter than in the past, e. g. all / / / tags have to be closed ... I just finished correcting all help files of one project, checked them via , and HelpIndexer didn't report any

GameKit for OS X - no GKSession?

2012-11-07 Thread Eric E. Dolecki
I have been using GameKit to have two different applications on iPod Touches communicate with one another - works great. I've seen GameKit available for OS X Mountain Lion, so I've added that framework to an OS X project. I wanted to port my iOS code over and have (at least see if it worked) my To

Re: Sony PS3 Move Remote

2012-11-07 Thread Eric E. Dolecki
Thanks. I think I am going to employ some custom hardware to do what I want to do. Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Wed, Nov 7, 2012 at 9:56 AM, Alex Zavatone wrote: > There is an open source lib

Re: Sony PS3 Move Remote

2012-11-07 Thread Alex Zavatone
There is an open source library at the bottom of the Kinect that models a stick figure out of the heat signature of the human body(ies) that are in sight. We played with it a few years back and it wasn't that hard to get going. Don't exactly remember the name though. On Nov 7, 2012, at 9:05 AM

Re: ARC issue

2012-11-07 Thread Ken Thomases
On Nov 7, 2012, at 8:33 AM, Andreas Grosam wrote: > On 07.11.2012, at 14:50, Ken Thomases wrote: > >> This seems like a problem with ARC. Ideally, the compiler would understand >> not just that "error" is __autoreleasing but would understand something >> about its "autorelease scope". That is

Re: ARC issue

2012-11-07 Thread Andreas Grosam
Thank you all for the answers, and your pointers to additional info (@Bob: very useful article )! On 07.11.2012, at 14:50, Ken Thomases wrote: > > I'm guessing that won't change anything. The problem, I think, is that for > parameters like "error" which are returned indirectly via parameter

Sony PS3 Move Remote

2012-11-07 Thread Eric E. Dolecki
I am aware of many sources for OS X development using a Kinect camera but was wondering if it's possible to do similar kinds of things using the Sony PS3 Move remote control. I am looking to provide gestural controls using a touch of hardware to hopefully make the detection finer... the Kinect as

Re: ARC issue

2012-11-07 Thread Ken Thomases
On Nov 7, 2012, at 7:18 AM, Marco Tabini wrote: > On 2012-11-07, at 8:05 AM, Andreas Grosam wrote: > >> NSDictionary* fetchUser(NSNumber* ID, NSError** error) >> { >> id user = nil; >> //@autoreleasepool // crashes when @autoreleasepool is enabled >> { >> id data = ...; // response

Re: ARC issue

2012-11-07 Thread Bob Cromwell
According to ARC documentation, out parameter will be changed to auto release one: NSError ** error will be auto changed to NSError * __autorelease * error. So It's expected behavior that crash happens. An article about this here http://blog.pioneeringsoftware.co.uk/2012/03/06/out-parameter

Re: ARC issue

2012-11-07 Thread Marco Tabini
I wonder if the problem might be that data is an autoreleased object, which automatically gets dealloc'ed at the end of the autorelease pool (as explained in the docs). Have you tried replacing *error = data with *error = [data copy] and seeing what happens? On 2012-11-07, at 8:05 AM, Andrea

ARC issue

2012-11-07 Thread Andreas Grosam
Xcode 4.5.1, ARC enabled. I've this C++ member function, for a testing environment (gtest): NSDictionary* fetchUser(NSNumber* ID, NSError** error) { id user = nil; //@autoreleasepool // crashes when @autoreleasepool is enabled { id data = ...; // response body of a HTTP Res