I am making a fraction calculator app from the Programming In Objective-C 2.0 book. I am using XCode 4.1 for Lion. I have completely and successfully without any error typed in the code. But when I pr
I would like to know how to selectively trim an NSMutableString. For example, if my string is \"MobileSafari_2011-09-10-155814_Jareds-iPhone.plist\", how would I programatically trim off everything ex
One part of the program takes text from a uitextfield, copies it to a mutable string and then performs
I am getting memory leak in instruments in the code -(void)connectionDidFinishLoading:(NSURLConnection *)connection
I\'m a java guy coming over to Objective-C. In java, to add a variable to a string you\'d have to do something along the lines of:
I am a newbie to Obj-C, and am experimenting with few things. I stumbled upon one leak issue and would like to know the logical reason behind it.
So I\'d like to access and display a formatted date outside my function.For the date format I am using NSDateFormatter which works fine..
intialised NSMutableString as below: -(NSString*)filterIt:(NSString*)source { temp1= [[NSString alloc] initWithString:[source stringByReplacingOccurrencesOfString:@\"rlm;\" withString:@\"\"]];
I did a poor job of explaining my original question, so here\'s a second stab.From a top down perspective, here\'s the goal:
I need to use a bunch of string variables throughout my program. I reassign some of them quite often, while开发者_运维百科 others are stuck with the same value during execution.