apple

Authenticating GKLocalPlayer with Game Center

I am trying to authenticate a GKLocalPlayer with Game Center. However, the code supplied by Apple - (void) authenticateLocalPlayer { [[GKLocalPlayer localPlayer] authenticateWithCompletionHandler:^(NSError *error) { if (error == nil) { // Insert code here to handle a successful authentication. ...

iPod/iPhone USB Product IDs

Is there a list somewhere of all iProduct USB prodcut ids? I use the IOKit to get notifications for attached/detached USB devices and would like to identify the device. Currently i get the device name and search for "iPod" and "iPhone" but i guess that's not really safe since it could also be an accessory (or could it?). Regards, Erik ...

Ruby iphone develop

Hey you guys :-) Recently Apple, made an announcement about you now can code in other programming languages. So well i thought nice! Finally i can make iphone apps.. But i can't figure how to code the apps i Ruby.. So i googled - a lot! and did'nt find anything.. so if someone out there know anything.. tell me! :-)! /Oluf Nielsen ...

.doc support in mac

I created a Word document with an image in my windows pc and saved it as mine.docx.Then i transferred it to my mac.When i opened it there the image just doesnt show up in the document.Doesnt mac support .docs with images??The apple tech forum says there is support for .doc but there is no mention about images.Also the documents icon has...

videos play on iPhone but not on iPad with SDK 4.1

Hi I have several apps using a MPMoviePlayerController. These apps play HTTP Live streaming video fine when compiled with the older SDKs but with 4.1 on the iPad (3.2) the apps will only play audio and the standard controls are not showing. On iPhone devices (any version) it plays the videos just fine. The code looks like this: mMovi...

How to disable auto-login in iPhone programmatically?

From iPhone Os 3.0, Apple released Auto-login and join functions for captive protals. So can not using http automated authentication for hotspots to login. Does anyone know how to disable the features programmatically ? I heard, the app, Boingo, implements the disable thing. At this time, I really need it. ...

What platforms will the XCode IDE run on?

Hi Everybody, Ok, it's a noobie question but I have to start somewhere. I have a PowerMac G4 computer, the one with the AGP graphics card. I'll like to run the XCode development environment and code Apps for the iPhone. When I download the development pack from Apple, it won't run on this computer. I would guess that only the 'new...

Is it Possible to Create Mac OS X installer from scratch ?

I saw page when I was Searching with the key word "Open source" http://www.opensource.apple.com/release/mac-os-x-1064/ I just want to ask whether it is possible to build a entire OS using the source code ? and if yes then what exactly needs to be done. ...

What is with Objective C Nib Files?

Do Nib files automatically initialize certain properties? In most objective-c code I've seen, you initialize a pointer with: MyObject* obj = [MyObject alloc]; [MyObject doStuff]; [obj release]; However, with certain objects (like ViewController Subclasses) UIView objects are used without being initialized, and aren't ever released. D...

UIGetScreenImage the app is not getting the approval due to this method

HI i am using zxing API into my application and it says that the application cannot be posted to the App Store because it is using private or undocumented APIs: Private Symbol References UIGetScreenImage can somebody help me out as soon as possible ...

Does NSXMLNode's nodesForXPath:error: guarantee a specific ordering?

I extract nodes from an XML document by calling -nodesForXPath:error:. Now i wonder if it guarantees, that the nodes are returned in the same order as they appear from top to bottom in the document (it's crucial in my case). My XML looks something like this and i retrieve the b tags with the XPath query: <a> <b> ... </b...

Is it possible to determine how the app was built?

Is there any way to determine in code whether the app currently running is a developer, ad-hoc, or app store build? ...

Is the current MacBook a suitable machine for XCode?

Hi Everybody, I'll like to buy an Apple computer to develop Apps for the iPhone. I am a hobbyist, not a professional programmer and I would favour a laptop for portability. Going by Apple's website, the standard MacBook looks Ok for me. I don't need mega performance, provided I can write, compile and test iPhone Apps at an acceptabl...

apple's developer license

Hi Guys, We are company with 10 iOS developers. Do we need to purchase developer license for each machine? Or is there any concept of purchasing bulk licenses? Like what is the alternative of single user license? Regards ...

iPhone app - interface design

After I complete my application, and want to hire a designer to work on the "user interface" what files do I supply him with? (I dont want to give him my entire app with source code, to the designer, is that possible to get get the interface done?) thanks. ...

Cocoa app handling a standard HTTP url scheme

I need to handle HTTP URLs that begin with a certain domain with my app, because it points to a REST source. The web service however is not under my control, so i can't easily introduce a custom url scheme to open the links with my app. Is there a way to intercept and handle such URLs in a Cocoa app? Example: http://static.domain.name/...

Change Window Button's Control Tint

I'd like to override the default system control tint for my app to be always NSGraphiteControlTint. The following code doesn't seem to work though. Any suggestions? NSButton *button = [window standardWindowButton:NSWindowCloseButton]; [[button cell] setControlTint:NSGraphiteControlTint]; Regards, Erik ...

view based vs windows based iphone application

REF: XCode what is the differences between view based vs windows based iphone application? Where are you going to use view based and windows based application? Example? what does facebook use? ...

Apple IOS & Lack of HTML5 WebSockets Support

Why won't Apple support websockets on IOS Safari? This is really annoying for me... I'm now looking at having to implement a Comet/Bayeaux fallback for browsers that don't support HTML WebSockets ;( ...

Is it reasonable to consider a future Retina / HD iPad when starting a new project?

A few days ago a client asked me if the transition to the iPhone 4s retina display was a difficult one, development-wise. This made me ask myself whether I should have considered iPhones with high resolution dispays even before the iPhone 4 had been announced - creating artwork with higher resolution, preparing codepaths... (while, of c...