iphone

Open source UI framework(s) for manipulating core data in UITableViewController's

Does anyone know of an existing open source UI framework that would help with repetitive tasks like adding or editing core data objects with a UITableViewController with a fairly standard (but hopefully customizable) look and feel? When you are dealing with a lot of objects, it gets repetitive and redundant quickly. If not, I'm conside...

Javascript keyboard in iphone

Hi, Is anyone who help me for my iphone application in which i am using javascript keyboard over the text area i want to know that is there any way to remain enable the javascript keyboard after pressing the return key,and the cursor should move to next line without hiding the javascript keyboard. Thanks Ramel singh Rana ...

MKMapView -> display a button for my location

Hello to all! I have a MKMapView implemented with these lines of source code (my location is a blue bullet, the other one's are purple pins): - (MKAnnotationView *)mapView:(MKMapView *)mapViewLocal viewForAnnotation:(id <MKAnnotation>)annotation { if (annotation == mapViewLocal.userLocation) { mapViewLocal.userLocation.titl...

How can I get the link to the twitpic-site with the latest image of a specific user?

Hello, I wrote a little app that uploads a selected picture form the ImagePicker to twitpic with this code (extract): - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { [picker dismissModalViewControllerAnimated:YES]; UIImage * images = [info objectForKey:@"UIImag...

How to use NSFetchedResultsController to support managing data on UITableView like iPhone Photo app.

I am a beginner for iPhone development, I use core data as backed store and show multiple data entities on UITableView. Each data entity will be show as a preview thumbnail, one table view cell will hold 1 to 4 thumbnail. That's means 3 table cells may show at most 12 data entities, just like iPhone Photo. I also need operate to each of...

NSXMLParser and BOM bytes

Hi, I'm getting my xml file as a result of a php query from some server. When I print the resulting data to the console I'm getting well-structured xml file. When I try to parse it using NSXMLParser it returns NSXMLParserErrorDomain with code 4 - empty document. I saw that xmls that it couldn't parse have BOM (Byte order mark) sequence ...

How do I add one UIImageView into multiple superviews without allocating multiple subviews(UIImageViews)

I want to be able to add one allocation of a UIImageView to multiple UIViews. How would I do this without allocating multiple UIImageViews? ...

How Can I Create a Nib with an asociated View Class that can be used by Multiple ViewControllers

I'm opening a new question to followup on my last one (http://stackoverflow.com/questions/2064513/superview-and-parentviewcontroller-nil-after-adding-a-subview). Basically I get that using subviews is a good idea, but that I shouldn't have a ViewController controlling a subview that lives inside another ViewController. Basically I'd like...

How to intantiate a UITableViewCell from a nib

One can add a tableviewcell in the nib of its tableviewcontroller, but how do you get to it ? ...

SNMP Library for iPhone

Are there any open source libraries for doing SNMP GET/SETs using the Objective C/Cocoa Touch (for IPhone)? ...

How to display UIActionSheet just below top navigation status bar on iPhone

I would like to display an action sheet sliding from just below the very top status bar. When I use the navigationBar as the view to show in, the sheet is still displayed at the bottom of the screen. How can I show it originating from the top instead? The class I'm calling the following code from is a 'UIViewController' UIActionSheet...

Add PageControl programmatically

I would like to add a UIPageControl item programmatically to my view Controller. The self.view property contains a UIScrollView with the following properties: scrollView = [[UIScrollView alloc] initWithFrame:applicationFrame]; scrollView.backgroundColor = [UIColor blackColor]; scrollView.maximumZoomScale = 1.0; scrollView.minimumZoomSca...

UITableView isn't refreshing properly after changing dataSource

I have a UITableView with several datasources. This is because, I need to switch the data with a UISegmentedControl, and if I add them as subviews, I cannot use the statusBar to scroll up, etc. At first, I show a login screen: self.tableView.dataSource = loginTableView; self.tableView.delegate = loginTableView; [self.tableView reloadDa...

Find an Url in a NSString or find a String between two Strings

Hello, I have a NSString with this content: <?xml version="1.0" encoding="UTF-8"?> <rsp stat="ok"> <mediaid>y2q62</mediaid> <mediaurl>http://twitpic.com/url&lt;/mediaurl&gt; </rsp> Now I want to get the twitpic-Url in a new NSString without all the other Strings. How can I make this? Can I search in NSStrings? Like: Find the strings...

NSThread plus tickertape animation

Hi all, I have a question that we might answer together i have a tickertape in my iphone app (Like those stick tickers) and i use a NSThread to keep the memory away from the main thread so it will not slow down the app. Now the thing is it does its job well but when i scroll on a UITableView that i have on the same view i notice that my...

where to start with audio synthesis on iPhone

I'd like to build a synthesizer for the iPhone. I understand that it's possible to use custom audio units for the iPhone. At first glance, this sounds promising, since there's lots and lots of Audio Unit programming resources available. However, using custom audio units on the iPhone seems a bit tricky ( see: http://lists.apple.com/archi...

How can I reference an Object and edit it's properties from a NSMutableArray?

NSMutableArray *persons = [ [ NSMutableArray alloc ] init ]; How can I edit person attributes without doing something like: Person *p = [ [ Person alloc ] init ]; p = [ persons objectAtIndex:0 ]; p.name = "James Foo"; [ persons replaceObjectAtIndex: ([ persons count ] - 1 ) withObject:p]; I would like to do something like: [ perso...

Google map on iphone apps : current location

Hi, I am working on an iPhone app in which I am implementing a map view. When the map loads, a purple pin is displayed at the current location. My problem is that I want to show the current location on a new view when the user touches this purple pin. Any idea? Please help. Thanks, Aaryan ...

What's the Point of (NSError**)error?

Example: The -save: method of NSManagedObjectContext is declared like this: - (BOOL)save:(NSError **)error Since NSError is already an class, and passing an pointer would actually have the effect of modifying this object inside implementation of -save:, where's the point of passing an pointer to an pointer here? What's the advantage /...

UISearchBar Table Section Index Titles Overlap

How do I change the width of the UISearchBar when it is inside a table header so that the section index doesn't overlap the textfield? I want to recreate the same layout you find in the contacts view of the phone app. ...