I got stuck on trying to detect the pair of name and value of the attributes in some general xmls by using libxml2 for parsing the api on iPhone application. For my project, the parsing speed is really important, so I decided to use libxml2 itself instead of using NSXMLParser.
Now, as referring to XMLPerformance that is a sample of iPho...
NSString *tmpTxt = textField.text;
BOOL result = [textField becomeFirstResponder];
textField.text = tmpTxt;
This works 80% of the time, but occasionally:
The whole app will crash.
The text will still be deleted whatever happens.
Whats the best way for a textField to becomeFirstResponder and still retain its text value.
...
I have provisioned an iphone and had the user install the app. It fails.
Is there a crash log that I can see why it failed on the iphone?
Ian
...
Hi everyone,
I have an iPhone app that utilizes TableView to list tagged items that the user has saved. I have Swipe to Delete enabled for these items yet I'm running into an issue with the very first item in the table. All other items show the "Delete" button when swiped, but it does not work for the very first row.
I've searched an...
This question relates to project design. The project takes an electrical system and defines it function programatically. Now that I'm knee-deep in defining the system, I'm incorporating a significant amount of interaction which causes the system to configure itself appropriately. Example: the system opens and closes electrical contact...
Hey there,
so heres the story, Apple recently rejected my app, saying it crashed on their phones, (iPhone 3G and ipod touch 2g), and send me two crash logs. NEITHER of which I can make sense out of.
Here they are.
Incident Identifier: BA4382DD-DA6A-47F7-800D-43AD30919064
CrashReporter Key: 53e41ca2a52f91affddc86f49ce9c4be851fcfd...
Hi everyone.
I have a newly created game using Cocos2D on the iPhone. I am at the sound implementation portion now. I could implement the sounds. But it somehow has a small volum. Especially, the click button effect sounds. They are too small. Could you guys show me how to increase the volumn of that particular sound please? Here is my ...
Which is better to parse JSON/XML on iPhone, so that i can interact with web apps.
Also which is the fastest and most efficient parser out there
...
I'm looking at Apple's "AdvancedTableViewCells" sample project, and in looking at the RootViewController, I noticed the nib loading for the IndividualSubviewsBasedApplicationCell. I was wondering about that nib loading... what is it loading into? There is no handle/variable. I understand the lines below where cell is assigned to the view...
I have got value from the xml 2009-11-23T05:24:41.000Z.Now i want to display string like this Wed, Nov 4, 2009 8:00 PM - Wed, Nov 4, 2009 9:00 PM
How it possible?
...
Hello,
I am developing one iPhone application where I need to send some data (in XML format) from iPhone to server, on the server side I will parse that XML and get data for each XML node and than use them as per my requirement.
My question is:
How will I form the XML file on iPhone?
How will I send that XML file to server?
Which m...
Special Thanks in advance......
I m the beggininer in iphone software development.
Just looking for how to programmatically add real time a watermark image to camera view using cocoa. Not looking for a step by step ( although that would awesome ), but more or less looking for where I should start looking to learn how. Are there framewo...
Im currently writing an iphone app that requires the downloading of data that needs to be parsed and added to a tableView. I have that working the only problem is that i currently call the my method that downloads that data and parses it in the viewDidLoad {} method:
- (void) addData {
//Download some stuff
//Parse some stuff
/...
so I am working on a jb app that requires writing to the file system (/var/mobile/Library/Downloads specifically), and I tried hard coding it in like someone recommended but I cant seem to make it work, i know how to do so to the Documents directory in my app but not the file system, any ideas? thank you!
edit 1 - as reference: the way ...
is it possible to make an iphone app that will only call to one number no matter what number was dialed?
...
I have a UIScrollView with a big contentSize of around 5000*5000. I have the coordinates and the frame of a subview. I want to check whether a subview exists at that exact position in UIScrollView.
If no. I will add a new subView and if Yes I will not add. Can anyone help?
...
Hi there,
can someone please give me an example of how you detect if the iphone is moving left or moving right. like a long version of a shake i want my app to be able to know if the users arm is going right or left. imagine your hand like a window wiper with the phone at the end
any ideas?
Thanks, Sam :P
...
Hey can anybody tell me how I can change the camera view in iphone where i found to buttons like 'use' and 'retake' and 'Move to Scale'message in that window I want to add some Label on top most part.How could I do that.
Reply soon
...
Hello to everybody,
I finished converting my app to use the CoreData layer for a small datawarehouse I want to use. I have some concerns about the performance and how to best use it. In particular:
I have a lot of runs where I read from disk attributes within files: each attribute should generate a new object, unless an object of that t...
I have a UINavigationController in which the root view doesn't display the top navigation bar via
[[self navigationController] setNavigationBarHidden:YES animated:NO];
The view I'm pushing onto this does need to display the navigation bar, and I'm currently using the above method to show it and then hide it again when the view is popp...