Results 1 to 4 of 4
Discuss Preferences plist at the iPhone Developer Exchange - Hackint0sh.org; Hello, i'm updating my app from iPhone 1.x to 2.x all works fine, but i ...
  1. #1
    Rookie Array

    Join Date
    Feb 2008
    Posts
    22
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Preferences plist

    Hello,

    i'm updating my app from iPhone 1.x to 2.x all works fine, but i would like to store my prefs in a .plist file instead of a .dat file :hack:

    Could anyone point me in de right direction to read and write to a .plist file

    thanks in advance



  2. #2
    Rookie Array

    Join Date
    Oct 2007
    Posts
    21
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    You can use NSUserDefaults and forget about the format itself (although it will use plists) or you can use NSArray/NSDictionary writeToFile .

  3. #3
    Rookie Array

    Join Date
    Feb 2008
    Posts
    22
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    thanks i didn't think it was that easy

  4. #4
    Rookie Array

    Join Date
    Oct 2008
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Does anybody know where I can get a list of commands and descriptions for the plist file?

 

 

Similar Threads

  1. Volume Boost & Preferences.plist
    By dirk99 in forum iOS 3.x (iPhone OS 3.x)
    Replies: 0
    Last Post: 06-16-2009, 10:48 AM
  2. [Preferences] Extend them with PList Editing
    By zhivago in forum Free Toolchain Software (Cydia App's)
    Replies: 59
    Last Post: 02-21-2008, 11:26 PM
  3. [Preferences] Extend them with PList Editing
    By zhivago in forum General
    Replies: 54
    Last Post: 02-05-2008, 03:49 AM
  4. Easy job! preferences.plist swapping app
    By vat in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 10-06-2007, 12:50 AM
  5. Preferences.plist HELP
    By Tryptophine in forum General
    Replies: 1
    Last Post: 09-21-2007, 03:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:53 PM.
twitter, follow us!