how can i replace json string?
i want to replace particular data's in json string ...
i want to replace particular data's in json string ...
I want to set the keyboard type of the UISearchBar to UIKeyboardAppearanceAlert, but I can't seem to access the UIKeyboard of the UISearchBar. ...
I have created UITableViewController based class with XIB. In XIB I have changed style to "Grouped". Unfortunately, when I build the application, the table turns out to by "Plain". What might be a problem? I have tried "Cleaning all targets". No success. EDIT: Problem solved. As you know you have to add the view to the parent contr...
Hi Friends, I am using Synchronous request and passing the credentials but I am getting authentication error in response. Below is my code of request and response from server. Request:- NSURLCredential *userCredentials = [NSURLCredential credentialWithUser:@"username" p...
I am writing an iPhone app which will start with asking the user to register with a login/passwd. These should be : Saved securely locally Send securely to a remote web-server What do I need to achieve the above? Say, for local storage, shall I save them in a file or database? Shall I encrypt it? For sending it over, is HTTPS suffici...
Hi all, Can anybody tell me what the following control is called? Thanx in advance. ...
i have two iphone SDK 3.0 and 4.0 on two different folders i want to add images to my iphone simulator 4.0 how could i do that the directory such as application support/media/ does not shows when selecting iphone simulator 4.0 please guide me how i could do that ...
hello all, I want to implement chat client for iphone using jabber/XMPP. The XMPP framework on google repository shows that it is depreciated. Does someone knows where to start for xmpp chat client for iPhone? ...
I'm doing heavy computation using the GPU, which involves a lot of render-to-texture operations. It's an iterative computation, so there's a lot of rendering to a texture, then rendering that texture to another texture, then rendering the second texture back to the first texture and so on, passing the texture through a shader each time. ...
-(void)keyboardWillShow : (NSNotification *)sender { @try { // NSLog(@"notification in first view"); for (UIWindow *keyboardWindow in [[UIApplication sharedApplication] windows]) { for (UIView *keyboard in [keyboardWindow subviews]) { if([[keyboard description] hasPrefix:@"<UIKeyboard"] == Y...
When creating an NSFetchedResultsController instance, there is this sectionNameKeyPath: argument, which most peoeple seem to set to nil. Now lets say I have Employees in the table view and I want that they're sectioned by their street address streetName. Every Employee is associated with an StreetAddress Property. So I would put an @"add...
NSFetchedResultsController *frc = [[NSFetchedResultsController alloc] initWithFetchRequest:fetchRequest managedObjectContext:moc sectionNameKeyPath:nil cacheName:@"Root"]; Why do we have to think about a cacheName? How important is this decision? What would happen if there are two NSFetchedResultsController instances using the exact sa...
Hi, i am working with web services these days ,and with all xml files that i am parsing things are fine ,but with the last one the famous method "stringWithContentsOfURL" returns empty data. Why? ...
Hi, Just ran into this recently and I thought it'd be helpful to share. The HTML <label> element is supported in a weird way by iPhone's (v3) browser. Try this: <input type="checkbox" id="chkTest" /><label for="chkTest">Click me!</label> Tapping the "Click me!" label has no effect, the checkbox is not checked. Lack of support in a ...
I need to make a game with a tool bar of shapes that can be dragged on screen with the following functionality shapes can be copied shapes can be stretched and resized shapes can be rotated shape color can change shapes can be cut in half and each half is now its own shape is Quartz 2D the right way to approach this? ...
hi all, I am wondering what the best approach is for creating a horizontal list with custom buttons. I read there is no native control for that: I am considering a UIView with a scroll view inside. On this scrollview I visualize my array of button objects. Any thoughts? ...
I have implemented one photo application in which i want to implement zoom and pinch zoom effect same as default photo application in iphone.How it possible please help me for this query.thanks in advance. ...
hello all i want to add my own toolbar with done button above the keyboard so i would have to customized my keyboard if i want to do that but i want to perform this task on 3.0 as well as 4.0 please guide me how could i do that thanks in Advance ...
Does code like this (potentially) violate the iPhone Developer License Agreement? Class clazz = NSClassFromString(@"WNEntity"); id entity = [clazz entityWithImage:@"Icon.png"]; SEL setPositionSelector = NSSelectorFromString(@"setPosition:"); objc_msgSend(entity, setPositionSelector, CGPointMake(200, 100)); I'm working on code that dyn...
Hi all, I would like to have both master and detail views visible in landscape and portrait modes. Like how the Settings app is implemented. I do not find any samples for this. Appreciate your help.. ...