Jump to content

[help]how can i add PSLink into my preferencesbundle with PSSwitch


Go to solution Solved by castix,

18 posts in this topic

Recommended Posts

  • Solution
Posted (edited)

Open your Preferences.mm (or whatever you called it) and paste this new code inside before the // vim:ft=objc

where CUSTOMNAME is the name of the new property list you want to add for your PSLink.

@interface CUSTOMNAMEListController: PSListController {
}
@end

@implementation CUSTOMNAMEListController
- (id)specifiers {
    if(_specifiers == nil) {
        _specifiers = [[self loadSpecifiersFromPlistName:@"CUSTOMNAME" target:self] retain];
    }
    return _specifiers;
}
@end

Now open your main property list. As you already know some XML basics from other preference specifiers, this is the new PSLinkCell which appears in your preference pane. You don't add the swiches you want inside the new PSLink inside this property list. You'll see it later.

<dict>
    <key>cell</key>
        <string>PSLinkCell</string>
    <key>detail</key>
        <string>CUSTOMNAMEListController</string>
    <key>isController</key>
        <string>1</string>
    <key>label</key>
        <string>CUSTOMNAME</string>
</dict>

Finally create a new property list (plist) with your custom name you've chosen previously. In the new plist you can add all items for the PSLinkCell. All your switches, sliders, buttons, segments etc.

The new property list is also going to be in your Resources folder unlike the Preferences.mm.

<?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>PSSwitchCell</string>
    <key>default</key>
        <false/>
    <key>defaults</key>
        <string>Preferences</string>
    <key>key</key>
        <string>Key</string>
    <key>label</key>
        <string>Example for a PSSwitchCell</string>
</dict>
    </array>
    <key>title</key>
    <string>CUSTOMNAME</string>
</dict>
</plist>
Updated by castix

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Pandao Wars: Fight for Freedom v0.7.1 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Pandao Wars: Fight for Freedom By JBX GAMES DOO
      Bundle ID: com.jbxgames.island.wars.fight.defender
      App Store Link: https://apps.apple.com/ca/app/pandao-wars-fight-for-freedom/id6479307717?uo=4 

      🤩 Hack Features

      - Crystal
      - Coins

      • 15 replies
    • Pandao Wars: Fight for Freedom v0.7.1 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Pandao Wars: Fight for Freedom By JBX GAMES DOO
      Bundle ID: com.jbxgames.island.wars.fight.defender
      App Store Link: https://apps.apple.com/ca/app/pandao-wars-fight-for-freedom/id6479307717?uo=4


      🤩 Hack Features

      - Crystal
      - Coins

      • 16 replies
    • Starbrew Cafe: Mystical Merge v1.64.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4

        

      🤩 Hack Features

      - Gems      --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 18 replies
    • Starbrew Cafe: Mystical Merge v1.64.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Starbrew Cafe: Mystical Merge By Extra Dimension Games Inc.
      Bundle ID: games.extradimension.cafemerge
      App Store Link: https://apps.apple.com/us/app/starbrew-cafe-mystical-merge/id6456751444?uo=4
       

      🤩 Hack Features

      - Gems  --- In Store Buy Items [ Items Sale Price ] Show Free When You Buy Then Get Gems
      - Coins
      - Energy [ Buy Cost 0 ]
      - All Order Completed
      • 20 replies
    • Chef Treat v1.0.18 [ +1 Cheats ] Auto Win
      Modded/Hacked App: Chef Treat By HONGKONG 707 INTERACTIVE TECHNOLOGY CO., LIMITED
      Bundle ID: com.match.cheftreat.ios
      App Store Link: https://apps.apple.com/us/app/chef-treat/id6748721903?uo=4


      🤩 Hack Features

      - Auto Win


      • 13 replies
    • Chef Treat v1.0.18 [ +1 Jailed ] Auto Win
      Modded/Hacked App: Chef Treat By HONGKONG 707 INTERACTIVE TECHNOLOGY CO., LIMITED
      Bundle ID: com.match.cheftreat.ios
      App Store Link: https://apps.apple.com/ph/app/chef-treat/id6748721903?uo=4

       
      🤩 Hack Features

      - Auto Win


      • 18 replies
    • Twilight Towers: Merge Defense v1.6.2 [ +4 Jailed  ] Mana Max
      Modded/Hacked App: Twilight Towers: Merge Defense By Fortis, Inc.
      Bundle ID: com.fortisgames.twilighttower
      App Store Link: https://apps.apple.com/ph/app/twilight-towers-merge-defense/id6747725903?uo=4

      🤩 Hack Features

      - Mana Max
      - Tower DMG
      - Tower Ammo
      - Reload NO
      • 9 replies
    • Twilight Towers: Merge Defense v1.6.2 [ +4 Cheats ] Mana Max
      Modded/Hacked App: Twilight Towers: Merge Defense By Fortis, Inc.
      Bundle ID: com.fortisgames.twilighttower
      App Store Link: https://apps.apple.com/ph/app/twilight-towers-merge-defense/id6747725903?uo=4

      🤩 Hack Features

      - Mana Max
      - Tower DMG
      - Tower Ammo
      - Reload NO
      • 9 replies
    • Wiggle Defender: Strategy TD v0.0.12 Jailed Cheats +3
      Modded/Hacked App: Wiggle Defender: Strategy TD By Teamsparta Inc.
      Bundle ID: com.TeamSparta.WiggleDefender
      App Store Link: https://apps.apple.com/us/app/wiggle-defender-strategy-td/id6756547841?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Multiply Attack
      - Free Store (not iAP)
      - PREMIUM

       

      Jailbroken Hack: https://iosgods.com/topic/204454-wiggle-defender-strategy-td-cheats-v0011-3/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/204452-wiggle-defender-strategy-td-v0011-jailed-cheats-3/
      • 5 replies
    • Crozzle - Crossword Puzzles v1.46.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 12 replies
    • Crozzle - Crossword Puzzles v1.46.3 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 9 replies
    • Shiba Story Go! RPG Idle Game v1.5.118 [ +9 Cheats ] Always Win
      Modded/Hacked App: Shiba Story Go! RPG Idle Game By Proof of Play, Inc.
      Bundle ID: com.proofofplay.shibastorygo
      App Store Link: https://apps.apple.com/ph/app/shiba-story-go-rpg-idle-game/id6749783343?uo=4

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys+3

      - Enhance Items

      - Pet Egg

      - Chest Max [ Server Error Show Some Time But Works ]

      - Fast Travel Energy Cost 1

      - Enemy Easy Kill [ Both Of Linked ] Server Error Show Some Time

      - Alway My Turn

      - HP [ Enemy Easy Kill + Alway My Turn ] Disable Then Use This Feature

      - ATK

      - DEF
      • 30 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines