nicklockwood / iVersion

[DEPRECATED]
http://www.charcoaldesign.co.uk/source/cocoa#iversion
Other
1.95k stars 292 forks source link

Add update level #35

Open goncalofalcao opened 11 years ago

goncalofalcao commented 11 years ago

New Options: (old .plist file works fine with this new version i tested it)

3 new level options:

how to setup new settings:

[iVersion sharedInstance].updateLevel = 2; (1 for low, 2 for medium, 3 for high)

or in remote plist (old plist files structure still works):

This plist file will behave differently for different versions of the application:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>1.0</key>
    <dict>
        <key>details</key>
        <array>
            <string>First release</string>
        </array>
        <key>level</key>
        <integer>1</integer>
    </dict>
    <key>1.1</key>
    <dict>
        <key>details</key>
        <array>
            <string>NEW: Added  new snoodlebar feature</string>
            <string>FIX: Fixed the bugalloo glitch that makes the app crash a lot!!</string>
        </array>
        <key>level</key>
        <integer>3</integer>
    </dict>
    <key>1.2</key>
    <array>
        <string>NEW: Some important feature</string>
        <string>CHANGE: Some significant change</string>
    </array>
        <key>1.3</key>
    <dict>
        <key>details</key>
        <array>
            <string>NEW: Something cool</string>
            <string>FIX: Really important bug but app still works</string>
        </array>
        <key>level</key>
        <integer>2</integer>
    </dict>
</dict>
</plist>

Any questions feel free to ask, i can re-rewrite the readme file to incorporate this changes if you need it.

nicklockwood commented 11 years ago

Hi, thanks for this. It's an interesting idea. I'm not 100% sure about the implementation. I'll need to think about it a bit.