apple

Cocoa API comments guideline

I'm maintaining an utility cocoa-objc framework which keeps growing. Coming from Java, I'm used to write javadoc comments for all the API I write. What are the guidelines for writing good API comments in cocoa-objc ? Is there a tool to automatically generate an API documentation like Javadoc (what is the tool used by apple for generatin...

Using Celestial framework in your submitted app ?

Hello all, In my app I am using celestial framework in order to control my volume application from the iPhone button volume. Do you think I can be rejected by Apple ? Thansk for your advice. Thierry ...

How was your iPhone developer experience?

Have you developed an app for the iPhone platform, and gone through all the hoops (both legal and technical) to have Apple distribute your app via the AppStore? How was the experience for you? How long did it take to make your completed app available in iTunes? Did you register as yourself, create a company, or use a "DBA" tax ID? An...

Connecting to Apple Podcast Producer with ASP.Net

I'm trying to find documentation on Apples Podcast Producer; specifically if there are any webservices I can use to fetch content with asp.net. I dont use ruby so am unable to make sense of it, and to be honest not sure how I would use it within an ASP.net app. ...

Adding a static library to an iPhone project

Hi guys, The motivation for this question is me trying to get LDAP functions to work with an iPhone application which is a project I'm attempting for part of my dissertation. When I was developing the application I used the ldap.framework framework that is part of Mac OS X. This works fine in the simulator, but when I try to now get t...

Is it possible to create URLs to items on the Apple iTunes store programmatically?

Is it possible to create URLs direct to items on the Apple iTunes store programmatically? I have noticed that last.fm and similar sites have links which take the user directly to a part of the iTunes store, such as an album page. The URL for the link is created by last.fm. Here's an example of such an URL: http://www.last.fm/affiliate_...

QTKit PAL Mode

I used MyRecorder sample by QTKit, it records everything but I have a problem that my camera is PAL and the resolution of H264 encoding for PAL and NTSC are different. PAL is 724x568 and NTSC is 724x480. When I choose QT Profile for H264High, it by default takes only 724x480 NTSC resolution output file but my camera is 724x568 so the fi...

What technique should i use to replicate the Compose email view in an iphone App?

So I have an Application that involves sending emails through an API. What I would like is that to have the same or similar to compose email interface available on the phone already. Unfortunately in all apples Goodness there is no view that just does that. [AppleComposeMailViewController alloc]; Would do the trick nicely...

Memory Leak Issue with NSMutableArray

I wrote this function in a Helper class for reading a table from my database, and returning it to my controller. On my viewdidload, i cache this result into a class variable (retain property set) and trying to use that inside a picker view control's delegate method. (titleForRow) Somehow, I get a EXC_BAD_ACCESS when I try to access the...

Issues with setting idleTimerDisabled = YES when screen is locked.

Hi, I'm writing a mapping application that is required to run even when the iphone is locked. so, in my application's applicationDidFinishLaunching method I call, application.idleTimerDisabled = YES; and revert it back when application exits. But there seems to be a lot of issues with this. When the iPhone is tethered and the app is s...

Disable NSToolbar customisation via window's toolbar button?

I am looking to disable the Command + Click combination on a toolbar button (located top-right) in a Cocoa window. I would still like to let the user show and hide the toolbar, but I do not want them to be able to select a different display mode (e.g. small icons, no icons, etc). Has anyone found a way to do this? Thanks in advance. ...

Trouble Extending Network with Apple Airport Extreme (PC won't connect with Ethernet)

So I have an Apple Airport Extreme base station that I use to create a wifi network at my house. But on a separate story from this station i have a PC (running Windows 7) that does not have a wireless card. Luckily, I have another Airport Extreme Base Station, so I figured I'd have my second station "extend" the existing network. I as...

Mistake or confusion in Apple SDK documentation on NSURLConnection?

Hi everybody, I have recently been learning the Apple SDK (for iPhone, etc) and came across something I can't understand. In the docs for "Using NSURLConnection" from http://developer.apple.com/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html I found a strange piece of explanation and example code. Firs...

Can I use Apple artwork in my iPhone app?

In my app, I want to give the user the opportunity to add some comments to a listed item. Rather than showing a "add comments" button, I want to show a little icon. Being lazy, but also, using the visual language of a Mac user, I would like to use the the icon of the TextEdit application. What would Apple think of this? Obviously, I coul...

What is the reason for the rise of programmers using Apple machines?

I noticed a rise in the number of developers (mostly doing web development) using Apple machines. Does Mac OS offer a better environment for programming or is it because of the hardware? What are the reasons? ...

Java server socket buffers not being garbage collected on Mac--why?

I'm hunting a memory error in an application, and it seems to be related to the byte[] buffers generated by ServerSocketChannel.accept(). According to jvisualvm, of the 505 megs in use by the application, over 90% of the memory is being used by byte[] arrays. Tracking it further, there are 68k+ instances of byte[] and by far the most c...

Code sample for capturing audio from a Mac in Cocoa and saving to file?

I'm due to work on a small application that captures audio from the Mac's Audio Queue and needs to save it to disk in some reasonable audio format. Does anyone have a some decent sample code (Cocoa / Objective-C) that they can share? I specifically need to capture the audio that is being passed to the Built-in Output device in order ...

cocoa/apple symbol server

Is there an equivalent in dbg/cocoa/apple word for the Microsoft public symbol server and windbg (http://msdl.microsoft.com/download/symbols)? So basically 1) does gdb support the concept of a symbol server and 2) does apple supply a public URL for their own public symbols? ...

Where can I get better Apple documentation?

More often than I'd have hoped I seem to come across method/property definitions in Apple's documentation that are vague at best and meaningless, to me, at worst. For example, take the following method description from NSNumberFormatter Class Reference: setPartialStringValidationEnabled: Sets whether partial string validation ...

Documentation on Apple Mail's .emlx data structure(s) (for conversion purposes)?

This appears to be a rare gem: where to find documentation on the structure of Apple Mail's .emlx files (and their partial variants, and the meaning of the directory structures). The docs do not appear to exist on Apple's site, nor can I find any reasonable mention of it via Google. The point of this is the creation of a bash/ruby/pyth...