iphone Programming Glossary: paises
When to release a NSString in iPhone http://stackoverflow.com/questions/602178/when-to-release-a-nsstring-in-iphone to release a NSString in iPhone I have the following method NSMutableArray getPaises NSMutableArray paises paises NSMutableArray alloc init while get new row NSString aPais NSString stringWithUTF8String char sqlite3_column_text.. to release a NSString in iPhone I have the following method NSMutableArray getPaises NSMutableArray paises paises NSMutableArray alloc init while get new row NSString aPais NSString stringWithUTF8String char sqlite3_column_text compiledStatement.. alloc init while get new row NSString aPais NSString stringWithUTF8String char sqlite3_column_text compiledStatement 0 paises addObject aPais return paises I am not releasing the aPais because if I do it the application crashes. I don't know when..
|