how do I save an array from one class to another object's array? I'm creating a saveExercise method in the first class...can I just create an instance of the other class and make self.exercise = [Class2 array] if array is a property of Class 2?
@gregrock Unfortunately i don't know cocos 2D too :( Few here know who i know, but aren't here right now. All i was trying to say is - If not posted on the web, please do it ^_^
NSString *test = @"d'escape";
NSLog(@"%@", [test stringByReplacingOccurrencesOfString:@"'" withString:@"\'"]);
prints me this
2010-10-25 15:10:54.833 MyApp[7136:207] d'escape
What am I doing wrong ? I want to get this :
2010-10-25 15:10:54.833 MyApp[7136:207] d\'escape
yea which is weird because, it doesnot matter where I put ' in, the log comes out that way
actually
that is false
one moment please
ok in the case above :SQLite 3 INSERT statement bug! near "04": syntax error
same error for this :INSERT INTO PeopleTable VALUES (14,'draft', '', 'No Photo', '','', 'Test Exercise','Missing','N/A','N/A','Unknown','','','','','','\'','04/10/12 - 18:48','No UUID')
I'm writing an application for the iPhone that communicates with a SQLite database but I'm running into a small problem. Whenever I try to query information based on a condition that contains an apostrophe, no results are returned.... even if a result that matches the requested condition exists....
Hey everyone, I currently have a bounty on a question that is probably really simple, but I'm very new to Objective-C. Any help would be great! Here is a link to it: http://stackoverflow.com/questions/10050645/saving-images-in-ios
@Byte comedy? no i cant.. it is a little strange but i mostly watch drama or historical movies since i have come to this city(this is istanbul by the way:)
When I first mentioned the Magical Record library there seemed to be a lot of excitement from everyone that worked with Core Data, and Magical Record has gone on to become an extremely popular library thanks to constant updates from the developers recently adding support for ARC/Non-ARC projects and easy iCloud integration. Today I came across [...]