how can i store value in an NSArray using WritetoFile?
i wana store the index of seleted cell of table using NSArray, can u help me.... ...
i wana store the index of seleted cell of table using NSArray, can u help me.... ...
What type of persistent data storage would be easier to encrypt on the iPhone- core data, or property lists? By "easier" I mean require less time and complicated steps to implement. ...
Hi. My Xcode is configured for iPhone dev, and it worked well until yesterday. But it's property list editor currently shows me Mac app's attributes for my iPhone project which includes 'Java', "plugin" and "quicklook" related items. OK, I can input them manually, but it means something wrong to my IDE, so it does not sure it works corr...
What is the best way to count the number of entries in a property list? I currently build a dictionary from the plist entries (*) and then use the dictionary's count: NSData *plistXML = [[NSFileManager defaultManager] contentsAtPath:myPlistPath]; NSDictionary *myPlistDict = (NSDictionary *) [NSPropertyListSerialization ...
Hello, I created a property list with the name propertys.plist. Then I wrote this: NSString *path = [[NSBundle mainBundle] bundlePath]; NSString *finalPath = [path stringByAppendingPathComponent:@"speicherung.plist"]; NSMutableArray *plistData = [[NSMutableArray arrayWithContentsOfFile:finalPath] retain]; int a = [[plistData objectAtInd...
I already have an iPhone application (version 1.0) available in the App Store and am ready to submit a newer version (version 1.1). How do I test the new upgrade to make sure that the current sqlite database and property list files on the earlier version do not get deleted/overwritten etc? The new version assumes the old data in both t...
hi, is it possible to play movies out of a property list? Like is there's a "tag" with the filename in it which gets replaced by the actual iphone/ipad player? The movies are h.265 codec... thanks ...
What is the correct filepath to store a plist on the device. I read this in a tutorial which will work for the computer, would like to know the file location for the device. // write xml representation of dictionary to a file [dictionary writeToFile:@"/Users/henrik/Sites/foo.plist" atomically:NO]; I currently try to write to the f...
Please help me with this memory leak. In the leaks tool it shows a leak: NSCFString (32 bytes) in the library "Foundation" Responsible Frame: NSPropertyListSerialization. I am releasing the error but still a leak. What am I missing? Many thanks! NSPropertyListFormat format; NSString *anError = nil; id plist; plist ...
I used the bundled Property List Editor of Mac OS X Developer Tools to set an environment variable DYLD_LIBRARY_PATH_64-bit to the value path/to/dylib in the file ~/.MacOSX/environment.plist. I saved this file and logged out. Upon logging back in, the console displayed multiple messages of "dyld: warning, unknown environment variable: ...
I have a plist file which contains an array of dictionaries. Here is one of them: Fred Dictionary Name Fred isMale [box is checked] So now I am initializing my Person object with the dictionary I read from the plist file: -(id) initWithDictionary: (NSDictionary *) dictionary { if (self = [super init]) self.name =...