Skip to content

Commit cf2e0a9

Browse files
committed
nit: template preference_bundle_modern -> preference_bundle
1 parent c6042ca commit cf2e0a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

preference_bundles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ There is a universal way to make preference bundles for tweaks, although how you
1212

1313
1) Open up your terminal and navigate to your tweak folder.
1414
2) Type in `$THEOS/bin/nic.pl` so we can make a subproject.
15-
3) Choose `iphone/preference_bundle_modern`.
15+
3) Choose `iphone/preference_bundle`.
1616
4) Choose the project name for your preference bundle, a good standard by which to name it would be `YourTweak` + `Prefs`, so for example: `ExampleTweakPrefs`.
1717
5) Choose your bundle ID, `com.yourcompany.exampletweakprefs`.
1818
6) Same as in when we were setting up the tweak, enter your `Author/Maintainer Name`.
19-
7) Next, you will see: `[iphone/preference_bundle_modern] Class name prefix (three or more characters unique to this project) [XXX]`.
19+
7) Next, you will see: `[iphone/preference_bundle] Class name prefix (three or more characters unique to this project) [XXX]`.
2020
- What is this? It is basically the unique prefix for your "classes," so for example, let's say you have a UIViewController and you want it's name to be unique so that when you press the tweak name in the settings app, your tweak shows up.
2121
- Let's say you choose the class name prefix to be `EXM`, your Root List Controller would be called `EXMRootListController.m`. It is __important__ that this is unique to your tweak.
2222

0 commit comments

Comments
 (0)