Skip to content
Guest Big Announcement

[Tutorial] How To Add PSLinkListCell in Your Preference Bundle

Featured Replies

Hey guys, today I am going to show you how to make a PSLinkListCell in preference bundle ... If someone doesn't know what this means you can have look at the pictures below : 
 
a7d635315714c315f03a72fb978a2fe1.png9ea50962f7d7bf5de6623ac7f9f92afa.png
 
 
Okey lets start : 
 
 
1. You need first to make the tweak and the preference bundle so you can check SUPERGIU tutorial and learn how to make the first basic steps : link here
 
2. After you have made the preference bundle , go to resources file and open the .plist file inside .
 
3. Add this code in your plist file:

<?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>items</key>
<array>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Main</string>
</dict>
<dict>
<key>cell</key>
<string>PSSwitchCell</string>
<key>default</key>
<true/>
<key>defaults</key>
<string>com.iOSGods.frederic13578</string>
<key>key</key>
<string>enabled</string>
<key>label</key>
<string>Enable</string>
</dict>
<dict>
<key>cell</key>
<string>PSGroupCell</string>
<key>label</key>
<string>Colors</string>
</dict>
<dict>
<key>cell</key>
<string>PSLinkListCell</string>
<key>defaults</key>
<string>com.iOSGods.frederic13578</string>
<key>detail</key>
<string>PSListItemsController</string>
<key>key</key>
<string>color</string>
<key>label</key>
<string>Color</string>
<key>validTitles</key>
<array>
<string>dida</string>
<string>frederic13578</string>
<string>Kenny808</string>
<string>Cr4zyas4d</string>
<string>whatever</string>
<string>Green</string>
</array>
<key>validValues</key>
<array>
<string>dida</string>
<string>frederic13578</string>
<string>Kenny808</string>
<string>Cr4zyas4d</string>
<string>whatever</string>
<string>Green</string>
</array>
</dict>
</array>
<key>title</key>
<string>test colors</string>
</dict>
</plist>

Another example:

<dict>
            <key>cell</key>
            <string>PSGroupCell</string>
            <key>label</key>
            <string>Select your amount of currency in-game:</string>
        </dict>
	<dict>
		<key>cell</key>
		<string>PSLinkListCell</string>
		<key>detail</key>
		<string>PSListItemsController</string>
		<key>defaults</key>
		<string>iosgods.com.spoodermanunlimited</string>
		<key>default</key>
		<integer>0</integer>
		<key>key</key>
		<string>key1</string>
		<key>label</key>
		<string>Amount</string>
		<key>validValues</key>
            <array>
			<integer>10000</integer>
			<integer>50000</integer>
			<integer>2000000</integer>
			<integer>500000</integer>
            </array>
                <key>validTitles</key>
            <array>
			<string>10k</string>
			<string>50k</string>
			<string>2000k</string>
			<string>500k</string>
            </array>
	</dict> 

 
4. After you have copied the text above just save it and CD into your project folder and make the package.
 
Now just go to your settings and your PSLinkListCell is ready to use .
 
More information on PSLinkListCell: http://iphonedevwiki.net/index.php/Preferences_specifier_plist#PSLinkListCell_.26_PSSegmentCell


Plz tell me what did you think in the comment below and thx :D
 
 
Credits : frederic13578

  • Replies 26
  • Views 7.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • frederic13578
    frederic13578

    Hey guys, today I am going to show you how to make a PSLinkListCell in preference bundle ... If someone doesn't know what this means you can have look at the pictures below :        Okey lets start :

  • frederic13578
    frederic13578

    welcome kenny

  • frederic13578
    frederic13578

    like put more details and pics ? i will do it tomorow

  • Author

Pretty simple tutorial. :)

 

Nice job! :thumbsup:

 

If you can supply a project folder for the tutorial, that would help users out a lot! :)

 

like put more details and pics ? i will do it tomorow :D

Loool thx i want it badle

badle? o_0

wtf, I can't copy paste it oO

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.