apple

Is there a way to tell if your app is being used while the user is on the phone?

There are certain portions of my app that would be better to highlight to the user if they're on the phone. Is there a call to check to see if we're on the phone? Unfortunately, "call" is a horrible word to check for in API documents for obvious reasons. ...

How to prepare for the iPhone development?

Hi there, I am going to develop on iPhone platform. Can some one make an explanation about how to do this? Here is some of my question? If I want to publish my iPhone software (totally free, and will be free forever), do I have to register apple developer with $99? If I don't pay for apple, where else can I get detail development info...

iPhone SDK: Loading Facebook Connect Login View before everything else

I have a full iPhone application done but I now want to add Facebook Connect. My question is how to load a new/separate view that only has the Facebook Connect button. I need it to be that the only way they can get into the app is for the Facebook login to be successful. If there is a current active Facebook session then this will no lo...

Is the Apple Mac OS X Free?

Hi there I am quite new here with Max OS X development. Is the OS X free to download? Cause I am thinking to use this OS X and install into VMWare machine. I assume this ok right? I am appreciated your feedback. Thanks ...

Submitting AddHoc iPhone App Binaries to Apple App Store

Hey I have taken over from a developer who submitted Add Hoc Build Binaries to the app store instead of creating a new binary with an app store development provisioning profile. Can anyone tell me what will happen to these apps? So far they they are fine, approved and selling with the added benefit that we are able to test the actual b...

Swap CSS class on the basis of Scroll Position with Javascript

I'm looking to re-create the Apple Store shopping cart sidebar. http://store.apple.com/us/configure/MB535LL/A?mco=MTA4MTg3NTQ It is similar to "position: fixed" except that it starts out as "position: absolute" with the CSS class "pinned_top" and then switches to CSS class "floating" when a certain scroll-y position is reached. I've ...

iphone : Managing version updates of a native app

Hi, I'd like to make sure a user uses a good version of the iphone app. The idea I had was that whenever a user opens the native iphone application he sends a request to the server with the version number of the application. Depending on the server response, it would activate or not the application. Does Apple demand that the applicat...

iphone: Would Apple reject an app because of using cookies ?

Hi, Would Apple reject a native app because it stores cookies send back and forth to the server ? Thanks for your answer, Fabio ...

Developing iPhone Applications on Mac Os 8.5

I'm new to mac and iPhone programing. I got a mac computer with os 8.5 from a friend, can I program iPhone applications on this computer? If not, what should I do? ...

Mac Mini for iPhone development

I'm about to buy a Mac Mini so I can develop an iPhone application. The details are: 1.42ghz 1gb ram 75gb OS 10.5.08 Is this good enough for developing an iPhone application? ...

How do I create a CGImage with RGB data?

Can anyone show me a clear example of how to use CGImageRef CGImageCreate ( size_t width, size_t height, size_t bitsPerComponent, size_t bitsPerPixel, size_t bytesPerRow, CGColorSpaceRef colorspace, CGBitmapInfo bitmapInfo, CGDataProviderRef provider, const CGFloat decode[], bool shouldInterpolate, CGCo...

How do you use groups in XCode?

I started using groups in Xcode the same way I use packages in Java or namespaces in C++, even though groups have no effect on the language. Then I discovered Smart Groups and realised that it's sort of pointless to have my code neatly organised in "folders". Do you use groups? If so, how and why? ...

Is there a developer licensing program for OSX?

Microsoft offers a bunch of incentives for developers (like MSDN) and startups (like BizSpark) to get them to develop software for the Microsoft platform with less investment. MSDN for example allows me to test my software on every version of Windows in existence without buying a full license to that version. BizSpark is even better, giv...

Redirecting audio output

Hi folks! I need a method to redirect my Mac's audio output to a different computer on the same network as the Mac doesn't have audio output. I'm on Snow Leopard while the other computer which has speakers attached does not have any operating system atm. Any tips appreciated. Max ...

How does Grand Central Dispatch really use the operating system?

I have a solid idea how GCD works, but I want to know more about the touted "operating system management" internals. It seems almost every technical explanation of how Grand Central Dispatch works with the "Operating System" is totally different. I'll paraphrase some of my findings. "It's a daemon that's global to the OS that dis...

View Controller being sent a message even though it has been deallocated.

I am not sure if something has changed in the iPhone SDK 3.0 but I am getting the strangest error. I have a view controller hierarchy where I switch between view controllers depending upon interface orientation. From what I can tell, the error is caused whenever I rotate the interface a view controller which has been deallocated is being...

Bug in iPhone Library Access?

Hi, This code: MPMediaQuery *query = [MPMediaQuery artistsQuery]; NSArray *songsByArtist = [query collections]; for( MPMediaItemCollection *c in songsByArtist ) { NSLog(@"artist %@ has %u songs",[[c representativeItem] valueForProperty:MPMediaItemPropertyArtist], [[c items]count]); } works as expected. But this code: MPMediaQuery ...

How to identify & use OSType in Cocoa

In Cocoa/Mac OSX 10.6 OSType IOSurfaceGetPixelFormat(IOSurfaceRef buffer) returns a type OSType where can I find some documentation/reference on the supported OSType with regard to the context of this function. What sort OSType should I expect with IOSurfaceGetPixelFormat? do you have any ideas on the various expected values from t...

applicationWillTerminate normal exit vs ad exit iPhone question

Is it possible to determine when an app is closing whether it is done by normal means (home button) or because an ad was clicked (admob ad for this example)... Admob doesn't have anything that would help accomplish this goal does it? Any ideas where to start would be greatly appreciated... ...

Apple Magic Mouse Api

Hi all, I just bought a Magic Mouse and I like it pretty much. But as a Mac Developer it's even cooler. But there's one problem: is there already an API available for it? I want to use it for one of my applications. For, example, detect the user's finger positions, swipe or stretch gestures etc... Does anyone know if there's an API for...