iphone Programming Glossary: mystringvariable
Memory leak in NSString stringWithUTF8String http://stackoverflow.com/questions/6185533/memory-leak-in-nsstring-stringwithutf8string class dealloc method.Also set it nil. Example if you are doing YourClass classObj YourClass alloc init classObj.myStringvariable NSString stringWithUTF8String char sqlite3_column_text selectStatement 5 the class structure will like @interface YourClass.. char sqlite3_column_text selectStatement 5 the class structure will like @interface YourClass NSString myStringvariable @property nonatomic retain NSString myStringvariable .m file will be @synthesise myStringvariable void init myStringvariable.. 5 the class structure will like @interface YourClass NSString myStringvariable @property nonatomic retain NSString myStringvariable .m file will be @synthesise myStringvariable void init myStringvariable @ void dealloc myStringvariable release myStringvariable..
|