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...
I had a nice and hacky Perl script to automatically scrape and download sales report files from iTunes Connect. As of today, Apple overhauled the sales report site. It looks a lot nicer, but it uses a lot of JavaScript and simple scraping isn't going to work any more.
So, does anybody know of a way to scrape this new site effectively?...
iOS wireless ad hoc distribution fails at the end of download with "Unable to download..." message. I followed steps in the answer of here: http://stackoverflow.com/questions/3098290/ios-4-wireless-app-distribution-for-in-house-applications.
Any workaround?
...
The default height of a UITextField with border style UITextBorderStyleRoundedRect is 31px. For an iPad App, I'd like to make a UITextField with a height of 60px and position the text vertically centered so that it looks good (by default the text is drawn only a few pixel below the top border of the UITextField).
If i do the following.....
Is there some way to know that a queue is suspended and i can resume it and vice-versa? Because otherwise app crashes. Or do i need to store this information in some var and check?
...
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?
...
I recently discovered that UIViews should only have UIViewControllers when they fill the entire window (or are managed by another UIViewController such as a UINavigationController or UISplitViewController). This quotation is from the documentation for UIViewController:
You should not use view controllers to manage views that fill only ...
The recent upgrade to XCode 3.2.4 and iOS SDK 4.1 lead to that my unit tests are not working any longer with my iOS project. The project is currently only running on the simulator, not real hardware.
I tried to make a new blank project with a dummy test case added that will always pass, but it does not work either, giving me this result...
I have a UITableView that is being populated from an NSMutable array that has 79 entries in it. When I run my app and scroll down the table there seems to be multiple entries in one cell. It seems to happen about a screen height and a half down the table.
For example:
One object in the array is @"Dog" and another is @"Cat". In one cell...
How can I make a custom view in iOS which appears above the existing view,but smaller? It should be like UIAlertView, but taken from a .xib file. After user taps a certain button, the small view vanishes and the normal view appears.
If this is posiible, how can I do it? And.. if it's not hard for you, please, include code.
Thanks in ad...
With the following snippet, I'm adding a drop shadow effect to one my UIView. Which works pretty well. But as soon as I set the view's masksToBounds property to YES. The drop shadow effect isn't rendered any more.
self.myView.layer.shadowColor = [[UIColor blackColor] CGColor];
self.myView.layer.shadowOpacity = 1.0;
self.myView.layer.sha...
Hi Everyone,
Is it possible to use double names for images into the resource group?
Thanks :)
...
I just upgraded to iOS 4.1 SDK and now when I run my app in the simulator one of the images (the only one really) that was working fine before the upgrade is no longer showing up in my view. I've tried removing the file and re-adding it to the project, cleaning all targets and running a build, and making changes to the XIB where the UII...
I'm writing a game for iOS. It has a game map, and I'm using OpenGL to draw it, because the other options were too slow. I have units on the map, represented by alphabetic letters, a la Dwarf Fortress. However, rendering text in OpenGL bites.
I'm presently using a performance-tweaked mutant of Texture2D, which was good enough to protot...
I have read and enjoyed the books:
iPhone Programming: The Big Nerd Ranch Guide
and
Beginning iPhone 3 Development: Exploring the iPhone SDK
Which book would you recommend as the third iOS book?
...
I have been playing with the most excellent GrooveMaker - http://www.groovemaker.com/home - on iPad and marveling at how well the graphics sync to the audio. I will be building a imaging app where I need music to drive short animated loops. Can someone suggest what GrooveMaker might be doing and how that might be applied in a more genera...
I'm trying out FTGLES to dynamically display text in arbitrary fonts on OpenGL-ES on iOS (cf. my SO question here). That library seems to require direct access to the TTF file to use the font. Using kosher methods, can one directly access -- by path -- the system font files on iOS? I've RTFM'd and couldn't find anything.
Barring that, d...
For an iOS application I'm making I need to show groups of elements grouped together according to their type, and different groups of types separated from each other in a nicely done layout.
I thought of using an undirected graph, with the grouped nodes all pointing to each other in a sort of circular reference, and then each group as ...
I hope this has a technical (rather than a religious) answer, but I wonder if I should use Objective-C or C++ to create an OpenGL ES Application on the iPad?
As the ultimate goal would be to compile it on Windows and OS X as well, I'm inclined to use C++ (and only use ObjC for the stuff that I have to: App Delegate etc.), but I have zer...
Occasional reader and first time question asker, so please be gentle :)
I am creating a Managed Object (Account), that is being passed into a child view controller where its being set in a property that is retained.
Account * account = [[Account alloc] initWithEntity:entity insertIntoManagedObjectContext:context];
AddAccountViewControl...