apple

Naming guide for Objective-C classes

Hey, If my application is called "Media Player", is it a best practice to name classes: MPSong, MPSinger, MPAlbumsViewController ... ? ...

Designing an Apple Ipod scrollwheel on Android?

I've seen questions like this asked before on here, but for my next app creation i would like to bring back the Apple click wheel used for scrolling on the old ipods and I've seen it in Iron Man 2 when Tony Stark used his futuristic phone and a touch screen click wheel on his smartphone. There must be an easy way to copy the Ipod click w...

Any tips on how to create apps that run on iOS 3 and iOS 4?

Hey, I'm developing an iPhone application and my target is 3GS and 4G devices. iOS 4 introduces methods thats deal with multitasking and newer methods to deal with foreground/background lifecycle events. These new methods aren't available in iOS 3 which simply quits the app and doesn't run it in the background. Any tips on how to create ...

Does anyone have a description of the return codes from libusb on Mac OS X?

I am trying to debug a libusb-based driver that work just fine on Linux and Windows, but fail on Mac OS X. However I am unable to find a description of the return codes from libusb. ...

App submittion from clients side

Hi, I am developing an application which is going to be branded to for different clients. For some clients I will release the application myself using my developer account @ apple, but some clients want to release the application using their own developer account. Off course they can create an account for me which I can build the applic...

Shared Cross-Process Data Object

I need an object/class that keeps data synchronous over multiple processes. Like a singleton instance that works across processes. Is there already a built-in class that can handle this or what's the best way to implement such a thing (NSConnection, NSDistributedNotificationCenter, etc... ?) Regards, Erik Update: Currently I have im...

pyapns - hexlified_token_str

Hi, i try to test pyapns. There is a mention of the hexlified_token_str in the documentation. My token is stored in base64 format. I try to do this >>> notify('myapp', base64.decodestring('Sl96FJtZbZDZECSP3EedQJbsXdtlV+LXWd4+jbzvbHM='), {'aps':{'alert': 'Hello!'}}) But I'm wrong. Traceback (most recent call last): File "<stdin>",...

Is there a API for the new apple remote app?

The new apple remote app on iPhone and iPad is pretty cool. I'm wondering is there a public API to use? Since the remote app is not a server, so it's not like other "control itunes" apps or programs. I'm wondering is there any API or service exposed on PC/Mac side so that other apps can use it to control itunes? Ultimately, I'd like to...

What's the name of that Apple tool which will apply the rounded corners and gloss effect to your icon graphics?

I need to preview my iphone app icons and also need to export these for the web. I remember Apple had a tool that would take a file, apply those effects and then save it. What's the name? ...

Is there a IE tester for mac ?

I friends I want to test my site on different version of IE on mac, is there any software for that ? ...

iPhone Lite version - what is allowed?

I'm scratching my head over this. I have a moderately successful app which has a free "LITE" version in addition to the full one. This is a utility app, not a game with levels, and I'm having trouble figuring out what Apple will accept for the lite version. The reason this is now an issue is that I've brought both code bases together wi...

Question concerning the new apple app-store-guidelines & OpenFlow

In apples new release of the app-store-guidelines they state in 9.2. App user interfaces that mimic any iPod interface will be rejected 10.2. Apps that look similar to apps bundled on the iPhone, including the App Store, iTunes Store, and iBookstore, will be rejected does that mean, that Coverflow is prohibited even if I use OpenFlow ...

Downloading photos from a (USB-connected) iPhone programatically

I'm wondering if it's possible to access the Camera Roll on the iPhone programatically. Some background: I want to basically run a cron job every night that will download all the (preferably new since last time) photos from my iPhone to a folder on my computer. I'm using a Mac, and I'm not terrifically concerned with interoperability — I...

How can I get more than 11 characters into the name of my app on iPhone?

The name I want to use for my app has 12 characters, I had read that Apple will only allow 11 at this time, but then I found an app with 13 (tiltshiftfocus). I was wondering if there is anything special I need to do in order to submit my 12 character app name? ...

Create a Custom View with transparent background for a NSStatusItem

Good Morning, I've created a Status Bar Application for Mac: when I click on the icon in menu bar, a NSCustomView appears with some elements. My NSCustomView is too simple, so I want to create something like this: (Snippet.app) http://i.imgur.com/aweP7.png I've searched in Apple Documentation, but I didn't find nothing usefull. Maybe...

Setting the language for an app store link?

Here's an example of a URL (random selection): http://itunes.apple.com/ca/app/imdb-movies-tv/id342792525?mt=8 Now here's the same link in French: http://itunes.apple.com/fr/app/imdb-movies-tv/id342792525?mt=8 Note that I changed the country code in the URL from "ca" to "fr". Seems to work fine for this app. However, I'm unable to ge...

UITabbar with none item selected

hi , Any one know how to create an app in such a way that when the application loads the uitabbr items are not selected(highlighted).. need to display a view in window on load..no need to display tabbar item contents until click on tabbar button item..? please help me.. ...

Send a MouseEvent to a NSView (WebView) from code

Hi Cocoa Developers, i am trying to send mouseevent (MouseClick or RightMouseClick) to a NSView... in my case a WebView, that contains a loaded Website. I want to script some clicks on links etc. How is it possible to create a NSEvent and send it to the WebView to perform clicks? Thanks a lot ksman ...

AppleScript Processing Files in Folders recursively

Hi, I have a root folder and there are sub folders in it. It is generally one level only but it can be deeper. These folders will have different files including some .rar files. I want to create a recursive function which traverses the folders, check if the file is a rar file and open/extract it. The code is working to first level with ...

How to check if a new contact is added to the address book?

Hey, I'm saving a copy of all contacts in a database. Upon launching, I want to check if there is a new contact in the address book in order to add it to my data base. How to perform this check? I can't find the suitable logic to implement it. ...