├── LICENSE
├── README.md
└── layout
└── Library
└── PreferenceLoader
└── Preferences
└── PSSpecifiers
├── AppList.plist
├── Localization.plist
├── PSButtonCell.plist
├── PSButtonCellConfirmation.plist
├── PSButtonCellDestructive.plist
├── PSButtonCellIcon.plist
├── PSEditTextCell.plist
├── PSEditTextCellIcon.plist
├── PSEditTextCellSuffix.plist
├── PSEditTextViewCell.plist
├── PSEditTextViewCellIcon.plist
├── PSGiantCell.plist
├── PSGiantCellIcon.plist
├── PSGiantIconCell.plist
├── PSGroupCell.plist
├── PSGroupCellCenter.plist
├── PSGroupCellLeft.plist
├── PSGroupCellRight.plist
├── PSLinkCell.plist
├── PSLinkCellIcon.plist
├── PSLinkListCell.plist
├── PSLinkListCellIcon.plist
├── PSListItemCell.plist
├── PSListItemCellIcon.plist
├── PSSecureEditTextCell.plist
├── PSSecureEditTextCellIcon.plist
├── PSSegmentCell.plist
├── PSSegmentCellIcon.plist
├── PSSliderCell.plist
├── PSSliderCellIcon.plist
├── PSSliderCellImages.plist
├── PSSliderCellSegmented.plist
├── PSSliderCellShow.plist
├── PSSpecifiers.plist
├── PSSpinnerCell.plist
├── PSSpinnerCellIcon.plist
├── PSStaticTextCell.plist
├── PSStaticTextCellIcon.plist
├── PSSwitchCell.plist
├── PSSwitchCellColor.plist
├── PSSwitchCellIcon.plist
├── PSSwitchCellLoading.plist
├── PSTitleValueCell.plist
├── PSTitleValueCellIcon.plist
├── SpeakerMax@2x.png
├── SpeakerMute@2x.png
├── Subitem.plist
├── en.lproj
├── Localization.strings
└── Subitem.strings
└── es.lproj
├── Localization.strings
└── Subitem.strings
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 uroboro
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # PSSpecifiers
2 |
3 | This repository provides examples of PSSpecifiers of these classes:
4 |
5 | - PSButtonCell
6 | - PSEditTextCell
7 | - PSEditTextViewCell
8 | - PSGiantCell
9 | - PSGiantIconCell
10 | - PSGroupCell
11 | - PSLinkCell
12 | - PSLinkListCell
13 | - PSListItemCell
14 | - PSTitleValueCell
15 | - PSSliderCell
16 | - PSSecureEditTextCell
17 | - PSSegmentCell
18 | - PSSpinnerCell
19 | - PSStaticTextCell
20 | - PSSwitchCell
21 |
22 | Plus an example of AppList and Localization using .lproj folders.
23 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/AppList.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSGroupCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSGroupCell;
7 | footerText = "Select an app";
8 | },
9 | {
10 | bundle = AppList;
11 | cell = PSLinkCell;
12 | icon = "/Applications/Preferences.app/icon.png";
13 | isController = 1;
14 | label = "Select App";
15 | ALAllowsSelection = 1;
16 | ALSingleEnabledMode = 1;
17 | }
18 | );
19 | }
20 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/Localization.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSLinkCell;
5 | label = Subitem;
6 | },
7 | {
8 | cell = PSEditTextCell;
9 | footerAlignment = 1;
10 | keyboard = dvorak;
11 | label = FOOD;
12 | placeholder = BREAD;
13 | }
14 | );
15 | }
16 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSButtonCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSButtonCell;
6 | defaults = "com.your.tweak";
7 | id = PSButtonCell;
8 | key = kPSButtonCell;
9 | label = PSButtonCell;
10 | }
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSButtonCellConfirmation.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSButtonCell;
6 | confirmation = {
7 | cancelTitle = cancelTitle;
8 | okTitle = okTitle;
9 | prompt = prompt;
10 | title = title;
11 | };
12 | defaults = "com.your.tweak";
13 | id = PSButtonCellConfirmation;
14 | key = kPSButtonCellConfirmation;
15 | label = PSButtonCellConfirmation;
16 | }
17 | );
18 | }
19 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSButtonCellDestructive.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSButtonCell;
6 | confirmation = {
7 | cancelTitle = cancelTitle;
8 | okTitle = okTitle;
9 | prompt = prompt;
10 | title = title;
11 | };
12 | defaults = "com.your.tweak";
13 | id = PSButtonCellDestructive;
14 | isDestructive = 1;
15 | key = kPSButtonCellDestructive;
16 | label = PSButtonCellDestructive;
17 | }
18 | );
19 | }
20 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSButtonCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSButtonCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSButtonCellIcon;
9 | key = kPSButtonCellIcon;
10 | label = PSButtonCellIcon;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSEditTextCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSEditTextCell;
6 | defaults = "com.your.tweak";
7 | id = PSEditTextCell;
8 | key = kPSEditTextCell;
9 | label = PSEditTextCell;
10 | }
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSEditTextCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSEditTextCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSEditTextCellIcon;
9 | key = kPSEditTextCellIcon;
10 | label = PSEditTextCellIcon;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSEditTextCellSuffix.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSEditTextCell;
6 | defaults = "com.your.tweak";
7 | id = PSEditTextCellSuffix;
8 | key = kPSEditTextCellSuffix;
9 | label = PSEditTextCellSuffix;
10 | suffix = "-abc";
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSEditTextViewCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSEditTextViewCell;
6 | defaults = "com.your.tweak";
7 | id = PSEditTextViewCell;
8 | key = kPSEditTextViewCell;
9 | label = PSEditTextViewCell;
10 | height = 160;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSEditTextViewCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSEditTextViewCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSEditTextViewCellIcon;
9 | key = kPSEditTextViewCellIcon;
10 | label = PSEditTextViewCellIcon;
11 | height = 160;
12 | }
13 | );
14 | }
15 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGiantCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSGiantCell;
6 | defaults = "com.your.tweak";
7 | id = PSGiantCell;
8 | key = kPSGiantCell;
9 | label = PSGiantCell;
10 | }
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGiantCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSGiantCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon@2x~iphone.png";
8 | id = PSGiantCellIcon;
9 | key = kPSGiantCellIcon;
10 | label = PSGiantCellIcon;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGiantIconCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSGiantIconCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon@2x~iphone.png";
8 | id = PSGiantIconCell;
9 | key = kPSGiantIconCell;
10 | label = PSGiantIconCell;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGroupCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSGroupCell;
5 | label = PSGroupCell;
6 | footerText = "Hi, I'm a footer!";
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGroupCellCenter.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSGroupCell;
5 | label = PSGroupCellCenter;
6 | footerAlignment = 1;
7 | footerText = "Hi, I'm a footer!";
8 | }
9 | );
10 | }
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGroupCellLeft.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSGroupCell;
5 | label = PSGroupCellLeft;
6 | footerAlignment = 0;
7 | footerText = "Hi, I'm a footer!";
8 | }
9 | );
10 | }
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSGroupCellRight.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSGroupCell;
5 | label = PSGroupCellRight;
6 | footerAlignment = 2;
7 | footerText = "Hi, I'm a footer!";
8 | }
9 | );
10 | }
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSLinkCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSLinkCell;
5 | label = PSLinkCell;
6 | }
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSLinkCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSLinkCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSLinkCellIcon;
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSLinkListCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSLinkListCell;
6 | defaults = "com.your.tweak";
7 | id = PSLinkListCell;
8 | key = kPSLinkListCell;
9 | label = PSLinkListCell;
10 | detail = PSListItemsController;
11 | shortTitles = (
12 | T1,
13 | T2,
14 | T3,
15 | T4,
16 | T5
17 | );
18 | staticTextMessage = "Hi, I'm a footer!";
19 | validTitles = (
20 | Title1,
21 | Title2,
22 | Title3,
23 | Title4,
24 | Title5
25 | );
26 | validValues = (
27 | 0,
28 | 2,
29 | 3,
30 | 4,
31 | 5
32 | );
33 | }
34 | );
35 | }
36 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSLinkListCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSLinkListCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSLinkListCellIcon;
9 | key = kPSLinkListCellIcon;
10 | label = PSLinkListCellIcon;
11 | detail = PSListItemsController;
12 | shortTitles = (
13 | T1,
14 | T2,
15 | T3,
16 | T4,
17 | T5
18 | );
19 | staticTextMessage = "Hi, I'm a footer!";
20 | validTitles = (
21 | Title1,
22 | Title2,
23 | Title3,
24 | Title4,
25 | Title5
26 | );
27 | validValues = (
28 | 0,
29 | 2,
30 | 3,
31 | 4,
32 | 5
33 | );
34 | }
35 | );
36 | }
37 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSListItemCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSListItemCell;
5 | label = PSListItemCell;
6 | }
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSListItemCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSListItemCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSListItemCellIcon;
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSecureEditTextCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSecureEditTextCell;
6 | defaults = "com.your.tweak";
7 | id = PSSecureEditTextCell;
8 | key = kPSSecureEditTextCell;
9 | label = PSSecureEditTextCell;
10 | }
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSecureEditTextCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSecureEditTextCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSSecureEditTextCellIcon;
9 | key = kPSSecureEditTextCellIcon;
10 | label = PSSecureEditTextCellIcon;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSegmentCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSegmentCell;
6 | defaults = "com.your.tweak";
7 | id = PSSegmentCell;
8 | key = kPSSegmentCell;
9 | label = PSSegmentCell;
10 | validTitles = (
11 | Title1,
12 | Title2,
13 | Title3,
14 | Title4,
15 | Title5
16 | );
17 | validValues = (
18 | 0,
19 | 2,
20 | 3,
21 | 4,
22 | 5
23 | );
24 | }
25 | );
26 | }
27 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSegmentCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSegmentCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSSegmentCellIcon;
9 | key = kPSSegmentCellIcon;
10 | label = PSSegmentCellIcon;
11 | validTitles = (
12 | Title1,
13 | Title2,
14 | Title3,
15 | Title4,
16 | Title5
17 | );
18 | validValues = (
19 | 0,
20 | 2,
21 | 3,
22 | 4,
23 | 5
24 | );
25 | }
26 | );
27 | }
28 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSliderCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSliderCell;
6 | defaults = "com.your.tweak";
7 | id = PSSliderCell;
8 | key = kPSSliderCell;
9 | label = PSSliderCell;
10 | showValue = 0;
11 | min = 0;
12 | max = 1;
13 | }
14 | );
15 | }
16 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSliderCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSliderCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSSliderCell;
9 | key = kPSSliderCell;
10 | label = PSSliderCell;
11 | showValue = 0;
12 | min = 0;
13 | max = 1;
14 | }
15 | );
16 | }
17 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSliderCellImages.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSliderCell;
6 | defaults = "com.your.tweak";
7 | id = PSSliderCellImages;
8 | key = kPSSliderCellImages;
9 | label = PSSliderCellImages;
10 | showValue = 0;
11 | min = 0;
12 | max = 1;
13 | leftImage = "SpeakerMute.png";
14 | rightImage = "SpeakerMax.png";
15 | }
16 | );
17 | }
18 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSliderCellSegmented.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSliderCell;
6 | defaults = "com.your.tweak";
7 | id = PSSliderCellSegmented;
8 | key = kPSSliderCellSegmented;
9 | label = PSSliderCellSegmented;
10 | isSegmented = 1;
11 | segmentCount = 3;
12 | }
13 | );
14 | }
15 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSliderCellShow.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSliderCell;
6 | defaults = "com.your.tweak";
7 | id = PSSliderCellShow;
8 | key = kPSSliderCellShow;
9 | label = PSSliderCellShow;
10 | showValue = 1;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSpecifiers.plist:
--------------------------------------------------------------------------------
1 | {
2 | entry = {
3 | cell = PSLinkCell;
4 | icon = "/Applications/Preferences.app/icon-table@2x.png";
5 | label = "PSSpecifiers";
6 | };
7 | items = (
8 | {
9 | cell = PSLinkCell;
10 | label = AppList;
11 | },
12 | {
13 | cell = PSLinkCell;
14 | label = Localization;
15 | },
16 | {
17 | cell = PSLinkCell;
18 | label = PSButtonCell;
19 | },
20 | {
21 | cell = PSLinkCell;
22 | label = PSButtonCellIcon;
23 | },
24 | {
25 | cell = PSLinkCell;
26 | label = PSButtonCellConfirmation;
27 | },
28 | {
29 | cell = PSLinkCell;
30 | label = PSButtonCellDestructive;
31 | },
32 | {
33 | cell = PSLinkCell;
34 | label = PSEditTextCell;
35 | },
36 | {
37 | cell = PSLinkCell;
38 | label = PSEditTextCellIcon;
39 | },
40 | {
41 | cell = PSLinkCell;
42 | label = PSEditTextCellSuffix;
43 | },
44 | {
45 | cell = PSLinkCell;
46 | label = PSEditTextViewCell;
47 | },
48 | {
49 | cell = PSLinkCell;
50 | label = PSEditTextViewCellIcon;
51 | },
52 | {
53 | cell = PSLinkCell;
54 | label = PSGiantCell;
55 | },
56 | {
57 | cell = PSLinkCell;
58 | label = PSGiantCellIcon;
59 | },
60 | {
61 | cell = PSLinkCell;
62 | label = PSGiantIconCell;
63 | },
64 | {
65 | cell = PSLinkCell;
66 | label = PSGroupCell;
67 | },
68 | {
69 | cell = PSLinkCell;
70 | label = PSGroupCellLeft;
71 | },
72 | {
73 | cell = PSLinkCell;
74 | label = PSGroupCellCenter;
75 | },
76 | {
77 | cell = PSLinkCell;
78 | label = PSGroupCellRight;
79 | },
80 | {
81 | cell = PSLinkCell;
82 | label = PSLinkCell;
83 | },
84 | {
85 | cell = PSLinkCell;
86 | label = PSLinkCellIcon;
87 | },
88 | {
89 | cell = PSLinkCell;
90 | label = PSLinkListCell;
91 | },
92 | {
93 | cell = PSLinkCell;
94 | label = PSLinkListCellIcon;
95 | },
96 | {
97 | cell = PSLinkCell;
98 | label = PSListItemCell;
99 | },
100 | {
101 | cell = PSLinkCell;
102 | label = PSListItemCellIcon;
103 | },
104 | {
105 | cell = PSLinkCell;
106 | label = PSSecureEditTextCell;
107 | },
108 | {
109 | cell = PSLinkCell;
110 | label = PSSecureEditTextCellIcon;
111 | },
112 | {
113 | cell = PSLinkCell;
114 | label = PSSegmentCell;
115 | },
116 | {
117 | cell = PSLinkCell;
118 | label = PSSegmentCellIcon;
119 | },
120 | {
121 | cell = PSLinkCell;
122 | label = PSSliderCell;
123 | },
124 | {
125 | cell = PSLinkCell;
126 | label = PSSliderCellIcon;
127 | },
128 | {
129 | cell = PSLinkCell;
130 | label = PSSliderCellShow;
131 | },
132 | {
133 | cell = PSLinkCell;
134 | label = PSSliderCellSegmented;
135 | },
136 | {
137 | cell = PSLinkCell;
138 | label = PSSliderCellImages;
139 | },
140 | {
141 | cell = PSLinkCell;
142 | label = PSSpinnerCell;
143 | },
144 | {
145 | cell = PSLinkCell;
146 | label = PSSpinnerCellIcon;
147 | },
148 | {
149 | cell = PSLinkCell;
150 | label = PSStaticTextCell;
151 | },
152 | {
153 | cell = PSLinkCell;
154 | label = PSStaticTextCellIcon;
155 | },
156 | {
157 | cell = PSLinkCell;
158 | label = PSSwitchCell;
159 | },
160 | {
161 | cell = PSLinkCell;
162 | label = PSSwitchCellIcon;
163 | },
164 | {
165 | cell = PSLinkCell;
166 | label = PSSwitchCellColor;
167 | },
168 | {
169 | cell = PSLinkCell;
170 | label = PSSwitchCellLoading;
171 | },
172 | {
173 | cell = PSLinkCell;
174 | label = PSTitleValueCell;
175 | },
176 | {
177 | cell = PSLinkCell;
178 | label = PSTitleValueCellIcon;
179 | }
180 | );
181 | title = "PSSpecifier Demo";
182 | }
183 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSpinnerCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSSpinnerCell;
5 | label = PSSpinnerCell;
6 | }
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSpinnerCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSSpinnerCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSSpinnerCell;
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSStaticTextCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSStaticTextCell;
5 | label = PSStaticTextCell;
6 | }
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSStaticTextCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSStaticTextCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSStaticTextCell;
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSwitchCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSwitchCell;
6 | defaults = "com.your.tweak";
7 | id = PSSwitchCell;
8 | key = kPSSwitchCell;
9 | label = PSSwitchCell;
10 | }
11 | );
12 | }
13 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSwitchCellColor.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSwitchCell;
6 | defaults = "com.your.tweak";
7 | id = PSSwitchCellColor;
8 | key = kPSSwitchCellColor;
9 | label = PSSwitchCellColor;
10 | alternateColors = 1;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSwitchCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSwitchCell;
6 | defaults = "com.your.tweak";
7 | icon = "/Applications/Preferences.app/icon-table@2x.png";
8 | id = PSSwitchCellIcon;
9 | key = kPSSwitchCellIcon;
10 | label = PSSwitchCellIcon;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSSwitchCellLoading.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | PostNotification = "com.your.tweak/changed";
5 | cell = PSSwitchCell;
6 | defaults = "com.your.tweak";
7 | id = PSSwitchCellLoading;
8 | key = kPSSwitchCellLoading;
9 | label = PSSwitchCellLoading;
10 | "control-loading" = 1;
11 | }
12 | );
13 | }
14 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSTitleValueCell.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSTitleValueCell;
5 | label = PSTitleValueCell;
6 | }
7 | );
8 | }
9 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/PSTitleValueCellIcon.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSTitleValueCell;
5 | icon = "/Applications/Preferences.app/icon-table@2x.png";
6 | label = PSTitleValueCellIcon;
7 | }
8 | );
9 | }
10 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/SpeakerMax@2x.png:
--------------------------------------------------------------------------------
1 | /var/stash/_.qfUbH2/Applications/Preferences.app/SpeakerMax@2x.png
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/SpeakerMute@2x.png:
--------------------------------------------------------------------------------
1 | /var/stash/_.qfUbH2/Applications/Preferences.app/SpeakerMute@2x.png
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/Subitem.plist:
--------------------------------------------------------------------------------
1 | {
2 | items = (
3 | {
4 | cell = PSTitleValueCell;
5 | label = VEHICLE;
6 | value = CAR;
7 | }
8 | );
9 | title = "PSSpecifier Localization";
10 | }
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/en.lproj/Localization.strings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BREAD
6 | Bread and cheese
7 | FOOD
8 | Food
9 |
10 |
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/en.lproj/Subitem.strings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CAR
6 | Car
7 | VEHICLE
8 | Vehicle
9 |
10 |
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/es.lproj/Localization.strings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BREAD
6 | Pan y queso
7 | FOOD
8 | Comida
9 |
10 |
11 |
--------------------------------------------------------------------------------
/layout/Library/PreferenceLoader/Preferences/PSSpecifiers/es.lproj/Subitem.strings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CAR
6 | Auto
7 | VEHICLE
8 | Vehiculo
9 |
10 |
11 |
--------------------------------------------------------------------------------