apple

Install Unhandled Exception filters for Mac OS X

Windows has SetUnhandledExceptionFilter API to enable applications to handle crashes. Is there something similar for the Mac platform? I didn't find anything like it on developer.apple.com... Thanks! ...

NSString to wchar_t*?

I can't seem to find a good built-in way to convert an NSString to wchar_t... any tips on how to do this? Anything Apple exposes on the NSString class is for c-strings (char*) or for unichars, but nothing for wchar*. ...

How to test on the IPhone without having access to one?

Want to write a site for the iphone, but I don't have one and I don't know anyone who has one. Is there a way to develop for it without having access to one, maybe apple has some sort of sim for this or something. Anyone know of anything? ...

Apple/iPhone Development IDE Preferences?

I'm going to do something I never thought I'd do... learn how to program for Apple hardware . After working in C, C++, C#, .NET, and even in the golden days of DOS (a little DOS4G/W memory extender in Borland Turbo-C, anyone?) and even as a kid, playing around with Atari 8-Bit Turbo-BASIC, I feel a little traitorous on multiple levels ...

Setting value of instance variable dynamically

Hi all, I'm trying to set the value of an instance variable dynamically at runtime in Objective-C. Assume I have a class called stock which has an instance variable float price. I have the following code: stock* s; ...//initialisation etc float newPrice = 12.56; Ivar variable = class_getInstanceVariable(NSClassFromString(@"stock"), "pri...

Removing App ID from Developer Connection

How do I remove an App ID from the developer program portal area? I mistakenly added a couple of app id's under the wrong login and would like to remove them, but I am not seeing a way to do so. Any help would be appreciated! ...

Renting development machines by the hour using remote access

I am thinking about getting an iPhone, but there are no good solutions for developing iPhone applications on the Windows platform. I don't own or have easy access to a Mac. Were my position switched, I know I could at minimum rent a VPS and do Windows work using RDP or VNC. As limited as the Windows VPS machines are, one can still run a...

How can I query chapter metadata from a m4a file?

I need to write some code that will let me query a m4a file and extract the chapter information out. Including: chapter name chapter start time chapter artwork I did some quick searching and it seems this is viewed as proprietary information by Apple? I found some discussions, but most were from 2005. Also there have been some si...

Does anyone know how to write an Apple Push Notification Provider in C#?

Apple really has bad documentation about how the provider connects and communicates to their service. I am confused about the protocol. If anyone out there could provide a C# sample of how this is don, it would be greatly appreciated. ...

How is iPhone OS developed?

Is it a separate branch of Mac OS X? If so, does the code get synchronized with 10.6? (that might be somewhat a separate question, but why couldn't they make a Mobile Leopard rather then separate OS for iPhone?) Please do try to respect the Apple's NDAs while answering. Update: I start to get the rough idea: the open source kernel...

Should I connect my iPhone app directly to a web service or proxy through my own site?

What's the best approach for using a web service in an iPhone app? Should I connect directly to the service or proxy the request through my own web server and where I can cache the results and, if the service changes, make any updates in a single location without having to have my app update approved by Apple. ...

RubyGems via MacPorts a good idea?

Upon upgrading from a MB to a new MBP, Apple's migration assistant didn't move my gems. I'm installing rubygems via macports this time, hoping to avoid this upon next upgrade. Tell me why I'm wrong. ...

Does anyone know why an Apple Push Notification development certificate would work locally, but not on my hosting server?

My client certificate seems to work locally, but not on my hosting server. So I have a "p12" that I exported my certificate to (for push notification development). I can perform a push from both my OSX and Windows boxes (on local network). The moment I move the push and certificate out to my hosting server, I get a timeout. The Apple Pu...

Is it possible to make your uploaded iphone application auto-update?

I am about to upload my Iphone application to the apple store, however I intend to release more versions in the near future. Is there anyway to make my application auto update once I upload a new version to the apple store?. That is as I am about to upload version 1.0, once i upload version 1.x, can the user be notified of this or can th...

Issues with NSURL and iPhone SDK 3.0 for placing phone calls

There is a newly introduced issue with iPhone 3.0 SDK and how it deals with the NSURL method for automatically making phone calls. It used to be that you could call a method (NSURL), pass in a string with a URL prefix (tel://, sms, etc...) and the iPhone OS would dispatch the message to the device, such as iTunes, App Store, Phone, SMS,...

Feedback on Apple instruments tool

Hi all, I was wondering if there are some video tutorials on using the instruments tool and / or good step by step tutorials with good illustrations. ...

IPhone application won't launch correctly

So I'm developing and iPhone game right now and everything has been working just fine when I test it on my first gen iPod touch. Last night, I added in some NSUserDefaults stuff to save a few variables for it. I ran it on the simulator a few times and it worked perfectly, but when I built the app and put it on my iPod, all I got when I l...

What is behind the appearance of iPhone developer frustration?

I see lots of unhappiness in the iPhone dev forums (and elsewhere) regarding Apple's treatment of developers. Common complaints include App reviews that take weeks or months, only to be rejected without detailed explanation. Updates that take even longer for review than the original app. A number of developers have taken to filing b...

How can I test Apple Push Notification Service without an iPhone?

Is it possible test the Apple Push Notification Services without an iPhone application? (Creating an emulator on windows?) If isn't, how could I test that? Is there a free sample application compiled to do that? I created the Server provider, but I need test the functionallity. ...

Collaborating on an iPhone app?

I need an iPhone app built and at the moment it's looking like it would be best if a few developers worked on it. Is this possible with an iPhone app/what would be the best way for everyone to work vaguely together so that it can be all put together at the end? Cheers! EDIT-People will be spread out, maybe over the world, or at least a...