Hi. I have the following XML (doing an app for iPhone):
<Row>
<Field name="employee_id_disp">00070431</Field>
<Field name="given_name">John</Field>
<Field name="family_name">Doe</Field>
</Row> ...
How can I retrieve values only for one of the attributes, for example value "John" for attribute name="given_name" ?
Thanks for answers.
...
Hello all,
I have an app that builds a video from a large number of single frame images. These frame images are currently stored in a folder on my computer and when building my app in simulator I use the path to the folder to load the images.
Now I'm building my App on the device and of course the device cannot find this path. Putting ...
Hi all what i want to do is to download plist from server http:// and i'd like to know how and where it is stored.
Can the iphone compare date from 2 plist files ? ?
thanks to all, if you do not want to post code or explain please link it. !Because i'm really stuck and need help
thanks
...
I'm trying to get BNRPersistence running in an iPhone app, but I'm having a problem that I have no idea how to solve. Keep in mind I'm relatively new to iPhone dev.
The problem is that BNRStoreDocument subclasses NSDocument, which exists in the Cocoa framework and thus isn't available on the iPhone. So obviously I'm getting compile erro...
Hi,
I have a search bar in my main screen - root table view controller. If I browse other screens and come back, sometimes, the search bar disappears. Here's my code.
searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 44.0)];
searchBar.delegate = self;
searchBar.tintColor = [UI...
Folks,
I am starting work on an iPad/iPhone application that is essentially a form-filing UI. The requirement is to present a (rather large) form to the user. The form is composed of sections and questions, like so:
Form
Question 0.1
Question 0.2
Section 1
Question 1.1
etc.
The user can take various paths down the form based on an...
Hi all,
I'm developing a native iPhone app using Phonegap, so everything is done in HTML and JS. I am using the Flurry SDK for analytics and want to use the
[FlurryAPI logEvent:@"EVENT_NAME"];
method to track events. Is there a way to do this in Javascript? So when tracking a link I would imagine using something like
<a onClick="fl...
Hi: I tried to gain performance by setting -setfetchbatchsize to 20 on NSFetchedResultsController with about 2k core data entries. But I can't recognize any changes in retrieval time by using -setfetchbatchsize. It is as slow as before on the iPhone...
Any experiences?
Edit: I just found a bug report with a similar issue: http://openra...
Hey all, putting the finishing touches on a project of mine so I figured I would run through it and see if and where I had any memory leaks. Found and fixed most of them but there are a couple of things regarding the memory leaks and object alloc that I am confused about.
1) There are 2 memory leaks that do not show me as responsible. ...
I have an iPad application that uses the whole screen (that is, UIStatusBarHidden is set true in the Info.plist file). The main window's and main view's frames are set to (0, 0, 768, 1024). The main view has multitouch enabled.
The view controller has this code to handle touches:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEve...
I want to write a MobileSubstrate (http://www.iphonedevwiki.net/index.php/MobileSubstrate) addon that takes every HTTP request and modifies the URL. (The reason is very complicated and would take a while to explain, so just trust me that there's not an alternative). Basically, I need to know what's the best Objective-C message or C funct...
Hi All;
My app is based around a grid and an image that moves within a grid that is contained within a scrollview.
I have an imageview that I am animating from one cell to another in time with a slow finger movement and recentering the scrollview. That is rather straight forward. I have also implement the ability to detect a swipe and ...
I have a string that I'm converting to a float that I want to check for values in an if statement.
The original float value is the iPhone's trueHeading that is returned from the didUpdateHeading method. When I convert the original float to a string using @"%.2f" it works perfectly, but what I'm trying to do is convert the original float...
My UITable is returning EXEC_BAD_ACCESS, but why!
See this code snippet!
Loading the UITableView works fine, so allXYZArray != nil and is populated!
Then scrolling the tableview to the bottom and back up causes it to crash, as it goes to reload the method cellForRowAtIndexPath
It fails on line: "NSLog(@"allXYZArray::count: %i", [allX...
Hey all. I have a fairly simple question. I am developing a "rich" iPad app, and I have two background images specifically designed for landscape and portrait. I'd like this ImageView to automatically change depending on the devices orientation. (like pretty much all of Apples iPad apps).
Can anyone point me in the right direction? I'm...
Hi, I have a tableview on a nib file with the interaction setting turned off. I'm animating a section change like this:
[myTableView beginUpdates];
[myTableView deleteSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:YES];
[myTableView insertSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:YES];
[myTableView endUpdate...
What is the best or recommended technique for animating PNG Sequences.
Heres what I've learned:
Do it Manually
Using MutableArrays containing Strings, you can animate a UIImageView with a timer which increments an index number
UIImage - animation methods
This works, the only problem is to find if an image has completed its animation, y...
Hi everyone:
I met a problem on using camera by scratch on iphone. Other people's code just run fine on my 3GS. But my code doesn't.
When I implemented a UIViewController controller, and I add the following code in viewdidload:
UIImagePickerController *picker = [UIImagePickerController alloc] init];
picker.source = UIImagePickerContro...
I have a UIView called activityView, which contains two subviews activityIndicator and cancelOperationsButton. These views are embedded in a XIB and wired up to my view controller.
I have two methods that deal with activating (showing) and deactivating (hiding) these two subviews:
- (void) enableActivityIndicator {
[activityIndicat...
I have a UILabel which contains textvalue and i want to bold a particular character in that whole string so please let me inform is it possible? and yes then please give me some example it really important for me.Please help me.
...