Ok, I got used to coding with PHP. I'm currently trying to do a sudoku app. Now I'm coming to a point where I need to show the proper number in the appropriate cell (UITextfield) based on the number pressed. (I have 9 buttons that correspond to 1-9 respectively)
Conceptually when the used clicks on a cell, I want to: 1. put the UITextFi...
Should I be afraid of using Key-Value Observations (KVO) and NSNotifications? I'm beginning to use them in my app, but I'm a little unfamiliar with the concept of something that could possibly be triggering an appwide call or automatically doing stuff, and a little afraid of the performance hit that such overhead could bring.
Are my con...
hello does anyone know a rating system that can be implemented for iphone detail view that allows user to rate the services offered.
ive used touchcustoms however i cant figure out how to implement it...
...
I'm trying do some encrypt something using 3des on the iphone that must match the results from java and .NET.
the code i have is:
+ (NSString*) doCipher:(NSString*)plainText:(CCOperation)encryptOrDecrypt {
const void *vplainText;
size_t plainTextBufferSize;
if (encryptOrDecrypt == kCCDecrypt)
{
NSData *EncryptData = [NSData dataW...
Hello...
I've build an XML Parse in Objective-C like in this tutorial:
http://www.iphonesdkarticles.com/2008/11/parsing-xml-files.html
I am new to Objective-C and the message objectForKey throws an NSException but i don't know whay.
aPicture = [[Picture alloc] init];
aPicture.pictureID = [[attributeDict objectForKey:@"id"] integerVa...
How do you call a method on only the initial launch of an application? For example, if you wanted to put a tutorial UIAlertView on the very first launch but never again after that?
...
We continue to build our fairly small applications on Android, iPhone and other mobile operating systems. This is fine and fun in the beginning of a new era, but when mobile OS matures, gets to be the preferred device for business people in motion, they want something more.
One would guess they want the same access and capability to ER...
I'm using an NSXMLParser to grab data and build an array of dictionaries with some information on a set of photos. Whenever I attempt to add a dictionary to the array, the value is always (null)
Code:
- (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSStr...
is it possible and how to implement forbiden exit from application on iphone/ipad?
we have an application that must permanently work on ipad device. user should not have any way to exit from application. could you advise how to implement this functionality?
...
I'm interested in customizing the writeToFile method so that I can generate an XML document with a particular schema.
Is there an accepted/recommended way of doing this?
Any and all pointers are appreciated!
...
I want to do some saving stuff when the user hits the back button on a navigation controller. Is this only possible by implementing
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
{
int index = [[self.navigationController....
Hi, does anybody know a way for allow multiple items selected for a setting in Application Settings? I know PSMultiValueSpecifier, but it only allows one and only one selected value.
Thanks!
...
Currently I've been using google's static maps to display maps in a phonegap app I'm developing. But I'm wondering if there's any way to load a google map that the user could scroll into and out of? I would want similar functionality as the maps app in most mobile environments. Is there any way to incorporate that type of service into my...
Hi all, I have an iPhone app which hides the status bar when run. After launching a MFMessageComposeViewController and dismissing it (after either send or cancel) all my previously drawn elements are shifted down 20px. This is clearly to do with the status bar showing when the MFMessageComposeViewController is presented.
Can I either st...
I want to place a number pad for entering digits above a tab bar (like the builtin dialer in MobilePhone.app).
The default behavior is to overlay the tab bar, which not only looks ugly, but also makes it impossible to leave the page. Is it possible (and allowed) to move the keyboard somehow? Or do I need to roll my own keypad control?
...
Dear community,
I am working on an iphone application which would be able to retrieve/publish information from/to a web server. I want to use out-of-the-box technology on the server side and as much built-in iphone capabilities as possible. Here are my thoughts so far:
I initially thought about using rss feeds:
Writing an rss reader is ...
I am trying to create a Pacman AI for the iPhone, not the Ghost AI, but Pacman himself. I am using A* for pathfinding and I have a very simple app up and running which calculates the shortest path between 2 tiles on the game board avoiding walls.
So running 1 function to calculate a path between 2 points is easy. Once the function reach...
My app main view is a tableview with several rows that can be drilled down.
When a row is clicked, I fetch the sub items using core data which could take a fraction of a second to several long seconds depending on how much items are fetched. (0 to thousands)
Placing activity indicator when fetch takes long time is a great UI while plac...
Hello,
I have one UIViewController which manage a portrait view and some application logic. However, I need to setup a different view for the landscape orientation. The widgets between the 2 views are mainly the same but their layout is very different.
My first try was to use one UIViewController and one associated XIB. In the XIB, I ...
I am trying to implement a NORMDIST feature in my iphone application, but I am not sure what library to import, or how I would go about doing this.
If someone can point me in a direction, that would be awesome.
...