apple

Safari Extension - How to use users settings?

Hi, I'm updating my first Safari Extension, and need some quick help. I've created a button (Although I eventually want it to automatic) that essentially executes a javascript script. I need the script it runs to use a variable which it will grab from the settings in the Preferences panel. How do I get it to check, I know there's some so...

Is there an official reference stating that battery life is one of the reasons why a Garbage Collector was not included inside iOS?

In the following SO question, it is mentionned that the Garage Collector was not included in iOS in order to conserve battery power. Is there an offical reference from Apple stating that battery life is one of the reasons why a Garbage Collector was not included inside iOS? I have been looking for it on google but was not able to find...

CoreData or Individual Files (iOS)

Hi guys, I've got a little conundrum: would it be better to use direct file management, or a CoreData SQLite database? Here's my scenario: I have a bunch of 'user' objects, each with a list of 'post' objects. This is easily done in CoreData, and would be great - however, the 'post' objects are downloaded from a web server, and they ea...

Sending a POST form from Cocoa

Hey all! I read an article from http://deusty.blogspot.com/2006/11/sending-http-get-and-post-from-cocoa.html , but I quite didn't get some things. I tried to establish NSURLConnection with it and some how it won't receive data at all? If you are interested here is the site I am trying to login www.lockerz.com . http://pastebin.com/8fP9T...

AppleScript to Intercept Outgoing Mail from Mail.app

Hi, I'm trying to write an AppleScript to intercept outgoing mail messages from Mail.app. I want to check that, if I'm sending a message to work colleagues (who're in my Work address book group) that I'm using my work account. Otherwise, my threads get all messed up when people reply to the wrong address, etc. There are two parts to m...

What is missing in Objective-C that you don't want to program with it

Now that Apple relaxed the restrictions on developer tools/programs, I wonder what tempts developers to other languages than Apple offers by default, Objective-C, which is quite fun to program with. What missing feautures makes you not to program with it but something else? ...

Apple Automator prompt user to enter folder name

Hello. Is it possible with Automator to create a new folder, but when doing so to have the user enter the location and name the older should be? So, I take an image, scale and rename it, and save it to a new folder defined during the runtime? Thanks. ...

When I submit my app to the Apple app-store do they see my source code?

When I submit my app to the Apple app-store do they see my source code? ...

UILabel nameLabel.text = "test1"; not working and the outlet is connected.

Hi guys I used the code to try set the label text but its not working. I though maybe I forgot to connect the outlet with the label, or i connected the wrong outlet but they were ok once I checked them. Made sure the xib was saved. .m @synthesize nameLabel; @synthesize infoLabel; -(void) updateUI { nameLabel.text = @"test1"; infoLabe...

Distance between 2 MKAnnotations ?

I am nearly sure, that i have seen a method (provided by the Apple-SDK) a time ago, that could find the distance between 2 MKAnnotations. That time i havent seen a use in the funktion. But, how it goes, now i would like to have this function but i can´t find it anymore. Can anyone please help me ? Maybe i have just something wrong in my...

Which App-ID to use when developing for a client?

I'm developing an app for a client who has his own developer account with apple to be able to publish the app under their brand name. So far, I've been using my own account to provide them with preview versions of the app, using an App-ID I created on my account. To upload the app to the store, I'll send my client an archived build of m...

How do I write Applescript that will give me an hourly popup alert

I am wondering how to have a popup alert on my computer (Mac OS X) every hour. I figured writing this in Applescript would be pretty simple but I have no Applescript experience. Thanks ...

Best C++ IDE for Mac OS X

Hello, I am just looking for a C++ IDE for Apple's OS X. I currently use netbeans for java but cannot find something as robust as this for C++. Thanks! ...

Can I buy songs from itunes within my iphone appplication?

Hello, I'm new to iphone development and Sorry if my question sounds stupid. Just wondering is it possible that I can buy songs from the itunes using my iphone application I just saw some apps doing the same. Any help will b greatly appreciated. ...

How can I track a bug report in Apple’s Radar?

Hello! There’s a feature I’d like to use on iOS. It has already been requested on Radar and people from Apple say that they will probably implement it. Is there a way to get to the particular bug report in Radar so that I can watch the progress? I know I can’t see other people’s bug reports on Radar. What if I file a duplicate bug report...

HTML5/Flash component to play Apple's segmented video streams?

What you can recommend out of HTML5 (JS) and Flash components/libraries to play iPhone/iPad-compatible video stream inside web page on conventional browsers? I've checked for FlowPlayer, unfortunatelly it seems not able to work with Apple's segmenter (the one, that cuts video in 10 second .ts fragments, and gives out a playlist). ...

Can I submit the same app to the App Store under multiple, different accounts/identities?

Working for a digital agency, you get a lot of interesting requests! :) I have a client who has asked a rather strange question: Is it possible to submit the same app to the App Store under multiple, different accounts/identities? So if you search for Company A in the App Store, you would get this app as a result, and if you also sear...

How can I force Apple's OpenCL compiler to recompile a cached kernel?

I want to use #include statements in my OpenCL kernels but it appears Apple's OpenCL compiler caches kernels, so if you change the contents of an included file but not the file doing the including, the program will not change between runs. I've coded up an example which illustrates this: http://github.com/enjalot/adventures_in_opencl/tr...

Is there an Android Emulator on OS X?

I want to develop an android application without having to purchase an android phone, 1) Is there an android emulator on the mac? the same as on windows? 2) is it better to develop on an android app on a pc, or a mac? same? ...

Once an application is available in the App Store, is it possible to change the developer/seller account?

We are developing an app for a client who is currently in the process of creating their own Apple account. The problem is they got started with the process late, and we need to submit the app ASAP for review. Has anyone had any experience with changing the seller account after an app has been approved and is available in the App Store?...