When is it appropriate to use openGl-es on the iPhone versus other toolkits? I have been learning to use it and suddenly feel it might be overkill for what I have in mind. Is it a good choice for something like a blackjack game?
...
Some help would be greatly appreciated here!
I have a custom UITableView cell, consisting of an image (green,orange or red) and two labels in different font sizes. The UITableView is driven by an NSMutableArray of objects.
The UITableView is split into three sections, with the first section containing all the cells with the red image,...
Hi,
I'm trying to set the image of a new view. I set the controller's image an then display the view. But in the controller's viewDidLoad, no image is available.
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo {
EditPictureSaveViewController...
I'd like to use gravatar in my iPhone application. Is there anyway to generate a hexadecimal MD5 hash in Objective-C for iPhone? Using openssl on iPhone is a no-go.
...
Background:
This is really a general best-practices question, but some background about the specific situation might be helpful:
We are developing a "connected" application for the iPhone. It will communicate with the backend application via REST services. In order to not have to prompt the user for a username and password every time...
We're beginning development of an in-house app in the iPhone Enterprise developer program. Since it's close to OS 3.0, we're reconsidering our original design of using SQLite and using Core Data instead. Here's some more info:
There is a legacy desktop application that this is replacing. We will reuse the existing back end.
We curre...
Hi,
I'm implementing a rich UITableView with custom created UITableViewCell, I show these on the screen in one fashion, but once they go off the screen I want to take a note of that, since the second time they come on I would like them to get displayed in a different manner. Think auto "mark as read" when going off the screen.
I've bee...
For a relatively simple app that manipulates objects that store a date/time and some other values? Should I use property lists? archiving? or sqlite?
...
Hi,
I have made a quad curve path using the method CGPathAddQuadCurveToPoint. I got the path perfectly. But, I want to know all the coordinate points which are participated in the path.
Is there a way to retrieve all the coordinate points in a path?
If not do u have any other solution for retrieving all the points in a curve mathemat...
I'm want to create a CRM app for me just for fun and to learn more about Cocoa, because CRM application evolve based on a Calendar, I wonder where can I get that cool Calendar control that iCal has in the iPhone.
I can't see it in my Library and I'm using SDK 3.0 beta 5.
And by the way, where can I get a free/paid controls collection l...
Does anyone know of a way to simulate pressing a detail disclosure button?
...
Is it possible to access the data belonging to the apps that ship with the iPhone? I know we can access the contacts information, but I am interested in being able to read/write/delete to the Notes App documents that a user makes or read/write/delete bookmarks from safari. What applications have data that we can access? Can we access da...
Hi
I want to format a NSDecimalNumber as a Dollars value ($1.50) but Im getting a crash.
This is my method:
+(NSString*) formatPriceForUser:(NSDecimalNumber*)dPrice{
NSNumberFormatter *formatter;
if (!formatter) {
formatter = [[NSNumberFormatter alloc] init];
[formatter setNumberStyle:NSNumberFormatterCurrencyStyle];
...
This is really a three-part question, but I've answered the first question myself:
I'm working on the iPhone, with many objects (up to 200) on the screen. Each object needs to look if it's overlapping other objects, and act accordingly. My original naive implementation was for each object to run through the list of each other object t...
Hello all,
I am using NSXMLParser like this :
- (BOOL)parseXMLData:(NSData *)inData
{
provisioningParser = [[NSXMLParser alloc] initWithData: inData]; // defined if .h
[provisioningParser setDelegate:self];
[provisioningParser setShouldProcessNamespaces:NO];
[provisioningParser setShouldReportNamespacePrefixes:NO];
[provisioningP...
When creating iPhone apps in simulator, I sometimes see messages like "Springboard failed to launch application", etc.
What is Springboard? Are there things I should know about it as a developer?
...
Yesterday I testet a lot on my device. Suddenly I get this error message when I hit Build & Go in Xcode. First, it asks me if it's ok to sign with my key. I click yes, and then that error message appears. My iPod is connected as usual, iTunes starts automatically and I close that to prevent interruptions.
I tried restarting Xcode. Doesn...
Can someone show me a diagram of how view controllers work in cocoa (obj-c).
I just want to understand because they are confusing me
Thanks!
...
I'm still getting the hang of working in a threaded environment using NSOperation, and I'm interested in understand if using the 'nonatomic' property is even worthwhile if you're subclassing NSOperation?
If your defaultQueue is set to 1, is the additional overhead of nonatomic worth it? Might it be needed if you're executing more than 1...
I've familiarized myself with the NSXMLParser from the iPhone SDK but I find the event-driven nature of it awkward for my purposes. I just want to extract some element values but this concept of having to handle the startElement, foundCharacters, and endElement seems like more work than it really should be. Am I just looking at this the ...