upload code - based on UnderTime
This commit is contained in:
parent
04329da6bf
commit
be7a129d21
279 changed files with 272 additions and 912 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
.DS_Store
|
|
@ -1,12 +1,13 @@
|
|||
Package: com.mpg13.undertime
|
||||
Package: dev.mpg13.notundertime
|
||||
Name: UnderTime
|
||||
Depends: mobilesubstrate
|
||||
conflicts: dev.mpg13.undertime
|
||||
Architecture: iphoneos-arm
|
||||
Description: Customizable date under time in iX StatusBar.
|
||||
Homepage: https://mpg13.github.io
|
||||
Depiction: https://mpg13.github.io/repo/depicts/undertime.html
|
||||
Maintainer: MPG13 <micahplacido@gmail.com>
|
||||
Author: MPG13 <micahplacido@gmail.com>
|
||||
Description: Customizable iX StatusBar carrier.
|
||||
Homepage: https://micahpgomez.dev
|
||||
Depiction: https://micahpgomez.dev/repo/depicts/depiction.html?selectedPackage=dev.mpg13.notundertime
|
||||
Maintainer: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||
Author: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||
Section: Tweaks
|
||||
Version: 1.6-21+debug
|
||||
Installed-Size: 200
|
||||
Version: 4.2.0-7+debug
|
||||
Installed-Size: 156
|
||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
Filter = {
|
||||
Classes = ( "_UIStatusBarStringView", "_UIStatusBarTimeItem", "_UIStatusBarNavigationItem" );
|
||||
Classes = ( "_UIStatusBarStringView");
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,268 +10,44 @@
|
|||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>UnderTime</string>
|
||||
<string>NotUnderTime</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<true/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<string>com.mpg13.NotUnderTime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>hasSeconds</string>
|
||||
<key>label</key>
|
||||
<string>Time has seconds in it</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Edit all settings you want changed!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Prefs don't always save right!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Go swipe back a page and re-open</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>UnderTime Settings to make sure</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>that your settings saved!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line (Keep it shorter than 7 character!)</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneEnable</string>
|
||||
<key>label</key>
|
||||
<string>Custom First Line</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneStandard</string>
|
||||
<key>label</key>
|
||||
<string>First Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<string>MicahPGomez</string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<string>com.mpg13.NotUnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<string>Text:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Top line format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>First Line Only</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Second Line (Keep it shorter than 7 characters!)</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineTwoStandard</string>
|
||||
<key>label</key>
|
||||
<string>Second Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>key</key>
|
||||
<string>lineTwo</string>
|
||||
<key>placeholder</key>
|
||||
<string>Bottom Line Format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Use nsdateformatter.com to help you format your date!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Seconds will not update on the lockscreen!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Font Size</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>sizeOfFont</string>
|
||||
<key>max</key>
|
||||
<real>18</real>
|
||||
<key>min</key>
|
||||
<real>6</real>
|
||||
<key>showValue</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Font Alpha</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontAlpha</string>
|
||||
<key>max</key>
|
||||
<real>1</real>
|
||||
<key>min</key>
|
||||
<real>0</real>
|
||||
<key>showValue</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontHex</string>
|
||||
<key>label</key>
|
||||
<string>Font Color (Hex): #</string>
|
||||
<key>placeholder</key>
|
||||
<string>Color Code</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>customColor</string>
|
||||
<key>label</key>
|
||||
<string>Custom Color Enable</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<string>Insert Text</string>
|
||||
</dict><dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
|
@ -289,19 +65,11 @@
|
|||
<key>label</key>
|
||||
<string>Respring</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>height</key>
|
||||
<string>30</string>
|
||||
<key>cell</key>
|
||||
<string>PSSpinnerCell</string>
|
||||
<key>label</key>
|
||||
<string>Thanks for using UnderTime!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Developed partially by MPG13 | Forked from NeinZedd's "DateUnderTimeX" and "SecondsInTimeX". Thanks NZ9!</string>
|
||||
<string>Developed by MPG13 | Forked from Blake Boxberger's "DateUnderTimeX" because I can't make tweaks.</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>title</key>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 843 B |
|
@ -15,7 +15,7 @@
|
|||
<key>isController</key>
|
||||
<true/>
|
||||
<key>label</key>
|
||||
<string>UnderTime</string>
|
||||
<string>NotUnderTime</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -1 +1 @@
|
|||
./packages/com.mpg13.undertime_1.6-21+debug_iphoneos-arm.deb
|
||||
./packages/dev.mpg13.notundertime_4.2.0-7+debug_iphoneos-arm.deb
|
||||
|
|
24
.theos/obj/debug/NotUnderTime.bundle/Info.plist
Normal file
24
.theos/obj/debug/NotUnderTime.bundle/Info.plist
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>NotUnderTime</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>dev.mpg13.notundertime</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>udtRootListController</string>
|
||||
</dict>
|
||||
</plist>
|
78
.theos/obj/debug/NotUnderTime.bundle/Root.plist
Normal file
78
.theos/obj/debug/NotUnderTime.bundle/Root.plist
Normal file
|
@ -0,0 +1,78 @@
|
|||
<?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>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>NotUnderTime</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<true/>
|
||||
<key>defaults</key>
|
||||
<string>dev.mpg13.notundertime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string>MicahPGomez</string>
|
||||
<key>defaults</key>
|
||||
<string>dev.mpg13.NotUnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Text:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Insert Text</string>
|
||||
</dict><dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string> </string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>action</key>
|
||||
<string>respring</string>
|
||||
<key>height</key>
|
||||
<string>30</string>
|
||||
<key>cell</key>
|
||||
<string>PSButtonCell</string>
|
||||
<key>label</key>
|
||||
<string>Respring</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Developed by MPG13 | Forked from Blake Boxberger's "DateUnderTimeX" because I can't make tweaks.</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>title</key>
|
||||
<string>NotUnderTime</string>
|
||||
</dict>
|
||||
</plist>
|
BIN
.theos/obj/debug/NotUnderTime.bundle/icon@2x.png
Normal file
BIN
.theos/obj/debug/NotUnderTime.bundle/icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 843 B |
|
@ -10,268 +10,44 @@
|
|||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>UnderTime</string>
|
||||
<string>NotUnderTime</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<true/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<string>com.mpg13.NotUnderTime</string>
|
||||
<key>key</key>
|
||||
<string>Enable</string>
|
||||
<key>label</key>
|
||||
<string>Enable tweak</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>hasSeconds</string>
|
||||
<key>label</key>
|
||||
<string>Time has seconds in it</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string></string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Edit all settings you want changed!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Prefs don't always save right!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>Go swipe back a page and re-open</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>UnderTime Settings to make sure</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSStaticTextCell</string>
|
||||
<key>height</key>
|
||||
<string>45</string>
|
||||
<key>label</key>
|
||||
<string>that your settings saved!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>First Line (Keep it shorter than 7 character!)</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneEnable</string>
|
||||
<key>label</key>
|
||||
<string>Custom First Line</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOneStandard</string>
|
||||
<key>label</key>
|
||||
<string>First Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<string>MicahPGomez</string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<string>com.mpg13.NotUnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineOne</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<string>Text:</string>
|
||||
<key>noAutoCorrect</key>
|
||||
<false/>
|
||||
<key>placeholder</key>
|
||||
<string>Top line format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>replaceTime</string>
|
||||
<key>label</key>
|
||||
<string>First Line Only</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Second Line (Keep it shorter than 7 characters!)</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>lineTwoStandard</string>
|
||||
<key>label</key>
|
||||
<string>Second Line Standard String</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>label</key>
|
||||
<string>Format:</string>
|
||||
<key>key</key>
|
||||
<string>lineTwo</string>
|
||||
<key>placeholder</key>
|
||||
<string>Bottom Line Format</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Use nsdateformatter.com to help you format your date!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Seconds will not update on the lockscreen!</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Font Size</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>sizeOfFont</string>
|
||||
<key>max</key>
|
||||
<real>18</real>
|
||||
<key>min</key>
|
||||
<real>6</real>
|
||||
<key>showValue</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
||||
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Font Alpha</string>
|
||||
<key>height</key>
|
||||
<string>10</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSliderCell</string>
|
||||
<key>default</key>
|
||||
<integer>0</integer>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontAlpha</string>
|
||||
<key>max</key>
|
||||
<real>1</real>
|
||||
<key>min</key>
|
||||
<real>0</real>
|
||||
<key>showValue</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSEditTextCell</string>
|
||||
<key>default</key>
|
||||
<string></string>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>fontHex</string>
|
||||
<key>label</key>
|
||||
<string>Font Color (Hex): #</string>
|
||||
<key>placeholder</key>
|
||||
<string>Color Code</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSSwitchCell</string>
|
||||
<key>default</key>
|
||||
<false/>
|
||||
<key>defaults</key>
|
||||
<string>com.mpg13.UnderTime</string>
|
||||
<key>key</key>
|
||||
<string>customColor</string>
|
||||
<key>label</key>
|
||||
<string>Custom Color Enable</string>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<string>Insert Text</string>
|
||||
</dict><dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
|
@ -289,19 +65,11 @@
|
|||
<key>label</key>
|
||||
<string>Respring</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>height</key>
|
||||
<string>30</string>
|
||||
<key>cell</key>
|
||||
<string>PSSpinnerCell</string>
|
||||
<key>label</key>
|
||||
<string>Thanks for using UnderTime!</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>cell</key>
|
||||
<string>PSGroupCell</string>
|
||||
<key>label</key>
|
||||
<string>Developed partially by MPG13 | Forked from NeinZedd's "DateUnderTimeX" and "SecondsInTimeX". Thanks NZ9!</string>
|
||||
<string>Developed by MPG13 | Forked from Blake Boxberger's "DateUnderTimeX" because I can't make tweaks.</string>
|
||||
</dict>
|
||||
</array>
|
||||
<key>title</key>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 843 B |
Binary file not shown.
20
.theos/obj/debug/arm64/Tweak.xm.bca7e55e.Td
Normal file
20
.theos/obj/debug/arm64/Tweak.xm.bca7e55e.Td
Normal file
|
@ -0,0 +1,20 @@
|
|||
/Users/micahgomez/GoogleDrive/Programming/iOS/notUnderTime/.theos/obj/debug/arm64/Tweak.xm.bca7e55e.o: \
|
||||
/Users/micahgomez/GoogleDrive/Programming/iOS/notUnderTime/.theos/obj/debug/arm64/Tweak.xm.mm \
|
||||
/Users/micahgomez/theos/Prefix.pch \
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/micahgomez/theos/vendor/include/HBLog.h \
|
||||
/Users/micahgomez/GoogleDrive/Programming/iOS/notUnderTime/important.h \
|
||||
/Users/micahgomez/theos/vendor/include/substrate.h
|
||||
|
||||
/Users/micahgomez/theos/Prefix.pch:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/HBLog.h:
|
||||
|
||||
/Users/micahgomez/GoogleDrive/Programming/iOS/notUnderTime/important.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/substrate.h:
|
BIN
.theos/obj/debug/arm64/Tweak.xm.bca7e55e.o
Normal file
BIN
.theos/obj/debug/arm64/Tweak.xm.bca7e55e.o
Normal file
Binary file not shown.
49
.theos/obj/debug/arm64/Tweak.xm.mm
Normal file
49
.theos/obj/debug/arm64/Tweak.xm.mm
Normal file
|
@ -0,0 +1,49 @@
|
|||
#line 1 "Tweak.xm"
|
||||
#import "important.h"
|
||||
#import <spawn.h>
|
||||
|
||||
|
||||
@interface _UIStatusBarStringView : UIView
|
||||
@property (copy) NSString *text;
|
||||
@end
|
||||
|
||||
|
||||
#include <substrate.h>
|
||||
#if defined(__clang__)
|
||||
#if __has_feature(objc_arc)
|
||||
#define _LOGOS_SELF_TYPE_NORMAL __unsafe_unretained
|
||||
#define _LOGOS_SELF_TYPE_INIT __attribute__((ns_consumed))
|
||||
#define _LOGOS_SELF_CONST const
|
||||
#define _LOGOS_RETURN_RETAINED __attribute__((ns_returns_retained))
|
||||
#else
|
||||
#define _LOGOS_SELF_TYPE_NORMAL
|
||||
#define _LOGOS_SELF_TYPE_INIT
|
||||
#define _LOGOS_SELF_CONST
|
||||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
#else
|
||||
#define _LOGOS_SELF_TYPE_NORMAL
|
||||
#define _LOGOS_SELF_TYPE_INIT
|
||||
#define _LOGOS_SELF_CONST
|
||||
#define _LOGOS_RETURN_RETAINED
|
||||
#endif
|
||||
|
||||
@class _UIStatusBarStringView;
|
||||
static void (*_logos_orig$_ungrouped$_UIStatusBarStringView$setText$)(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *); static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST, SEL, NSString *);
|
||||
|
||||
#line 9 "Tweak.xm"
|
||||
|
||||
|
||||
static void _logos_method$_ungrouped$_UIStatusBarStringView$setText$(_LOGOS_SELF_TYPE_NORMAL _UIStatusBarStringView* _LOGOS_SELF_CONST __unused self, SEL __unused _cmd, NSString * text) {
|
||||
if(GetPrefBool(@"Enable") && ![text containsString:@":"]) {
|
||||
NSString *lineOne = GetPrefString(@"lineOne");
|
||||
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, lineOne);
|
||||
}
|
||||
else {
|
||||
_logos_orig$_ungrouped$_UIStatusBarStringView$setText$(self, _cmd, text);
|
||||
}
|
||||
}
|
||||
|
||||
static __attribute__((constructor)) void _logosLocalInit() {
|
||||
{Class _logos_class$_ungrouped$_UIStatusBarStringView = objc_getClass("_UIStatusBarStringView"); MSHookMessageEx(_logos_class$_ungrouped$_UIStatusBarStringView, @selector(setText:), (IMP)&_logos_method$_ungrouped$_UIStatusBarStringView$setText$, (IMP*)&_logos_orig$_ungrouped$_UIStatusBarStringView$setText$);} }
|
||||
#line 21 "Tweak.xm"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
21
.theos/obj/debug/arm64/udtRootListController.m.3aeec800.Td
Normal file
21
.theos/obj/debug/arm64/udtRootListController.m.3aeec800.Td
Normal file
|
@ -0,0 +1,21 @@
|
|||
/Users/micahgomez/GoogleDrive/Programming/iOS/notUnderTime/.theos/obj/debug/arm64/udtRootListController.m.3aeec800.o: \
|
||||
udtRootListController.m /Users/micahgomez/theos/Prefix.pch \
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h \
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h \
|
||||
/Users/micahgomez/theos/vendor/include/HBLog.h udtRootListController.h \
|
||||
/Users/micahgomez/theos/vendor/include/Preferences/PSListController.h \
|
||||
/Users/micahgomez/theos/vendor/include/Preferences/PSViewController.h
|
||||
|
||||
/Users/micahgomez/theos/Prefix.pch:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/BackwardsCompat.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/_Prefix/IOSMacros.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/HBLog.h:
|
||||
|
||||
udtRootListController.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/Preferences/PSListController.h:
|
||||
|
||||
/Users/micahgomez/theos/vendor/include/Preferences/PSViewController.h:
|
BIN
.theos/obj/debug/arm64/udtRootListController.m.3aeec800.o
Normal file
BIN
.theos/obj/debug/arm64/udtRootListController.m.3aeec800.o
Normal file
Binary file not shown.
|
@ -1 +1 @@
|
|||
21
|
||||
25
|
1
.theos/packages/dev.mpg13.notundertime-4.2.0
Normal file
1
.theos/packages/dev.mpg13.notundertime-4.2.0
Normal file
|
@ -0,0 +1 @@
|
|||
7
|
1
.theos/packages/dev.mpg13.undertime-4.2.0
Normal file
1
.theos/packages/dev.mpg13.undertime-4.2.0
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
146
Tweak.xm
146
Tweak.xm
|
@ -1,162 +1,20 @@
|
|||
#import "important.h"
|
||||
#import <spawn.h>
|
||||
|
||||
@interface UIColor (fromHex)
|
||||
+ (UIColor *)colorwithHexString:(NSString *)hexStr alpha:(CGFloat)alpha;
|
||||
@end
|
||||
|
||||
@interface _UIStatusBarStringView : UIView
|
||||
@property (copy) NSString *text;
|
||||
@property NSInteger numberOfLines;
|
||||
@property (copy) UIFont *font;
|
||||
@property (copy) UIColor *color;
|
||||
@property NSInteger textAlignment;
|
||||
@end
|
||||
|
||||
@interface _UIStatusBarBackgroundActivityView : UIView
|
||||
@property (copy) CALayer *pulseLayer;
|
||||
@end
|
||||
|
||||
@interface _UIStatusBarTimeItem : UIView
|
||||
@property (copy) _UIStatusBarStringView *shortTimeView;
|
||||
@property (copy) _UIStatusBarStringView *pillTimeView;
|
||||
@property (nonatomic, retain) NSTimer *nz9_seconds_timer;
|
||||
@end
|
||||
|
||||
@implementation UIColor (fromHex)
|
||||
|
||||
+ (UIColor *)colorwithHexString:(NSString *)hexStr alpha:(CGFloat)alpha;
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Convert hex string to an integer
|
||||
//-----------------------------------------
|
||||
unsigned int hexint = 0;
|
||||
|
||||
// Create scanner
|
||||
NSScanner *scanner = [NSScanner scannerWithString:hexStr];
|
||||
|
||||
// Tell scanner to skip the # character
|
||||
[scanner setCharactersToBeSkipped:[NSCharacterSet
|
||||
characterSetWithCharactersInString:@"#"]];
|
||||
[scanner scanHexInt:&hexint];
|
||||
|
||||
//-----------------------------------------
|
||||
// Create color object, specifying alpha
|
||||
//-----------------------------------------
|
||||
UIColor *color =
|
||||
[UIColor colorWithRed:((CGFloat) ((hexint & 0xFF0000) >> 16))/255
|
||||
green:((CGFloat) ((hexint & 0xFF00) >> 8))/255
|
||||
blue:((CGFloat) (hexint & 0xFF))/255
|
||||
alpha:alpha];
|
||||
|
||||
return color;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
int sizeOfFont = GetPrefInt(@"sizeOfFont");
|
||||
int fontAlpha = GetPrefInt(@"fontAlpha");
|
||||
NSString *fontColor = GetPrefString(@"fontHex");
|
||||
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
|
||||
|
||||
%hook _UIStatusBarStringView
|
||||
|
||||
- (void)setText:(NSString *)text {
|
||||
if(GetPrefBool(@"Enable") && [text containsString:@":"]) {
|
||||
if(GetPrefBool(@"Enable") && ![text containsString:@":"]) {
|
||||
NSString *lineOne = GetPrefString(@"lineOne");
|
||||
NSString *lineTwo = GetPrefString(@"lineTwo");
|
||||
NSString *timeLineOne = lineOne;
|
||||
NSString *timeLineTwo = lineTwo;
|
||||
|
||||
NSDate *now = [NSDate date];
|
||||
if(!GetPrefBool(@"lineTwoStandard")){
|
||||
[dateFormatter setDateFormat:lineTwo];
|
||||
timeLineTwo = [dateFormatter stringFromDate:now];
|
||||
timeLineTwo = [timeLineTwo substringToIndex:[timeLineTwo length]];
|
||||
}
|
||||
if(!GetPrefBool(@"lineOneStandard")){
|
||||
[dateFormatter setDateFormat:lineOne];
|
||||
timeLineOne = [dateFormatter stringFromDate:now];
|
||||
timeLineOne = [timeLineOne substringToIndex:[timeLineOne length]];
|
||||
}
|
||||
NSString *newString;
|
||||
if(GetPrefBool(@"lineOneEnable")){
|
||||
newString = [NSString stringWithFormat:@"%@\n%@", timeLineOne, timeLineTwo];
|
||||
}
|
||||
else{
|
||||
newString = [NSString stringWithFormat:@"%@\n%@", text, timeLineTwo];
|
||||
}
|
||||
[self setFont: [self.font fontWithSize:sizeOfFont]];
|
||||
if((fontColor) && (fontAlpha) && (GetPrefBool(@"customColor"))){
|
||||
[self setColor:[UIColor colorwithHexString:fontColor alpha:fontAlpha]];
|
||||
}
|
||||
if(GetPrefBool(@"replaceTime")){
|
||||
%orig(timeLineOne);
|
||||
}
|
||||
else{
|
||||
self.textAlignment = 1;
|
||||
self.numberOfLines = 2;
|
||||
%orig(newString);
|
||||
}
|
||||
%orig(lineOne);
|
||||
}
|
||||
else {
|
||||
%orig(text);
|
||||
}
|
||||
}
|
||||
%end
|
||||
|
||||
%hook _UIStatusBarTimeItem
|
||||
%property (nonatomic, retain) NSTimer *nz9_seconds_timer;
|
||||
|
||||
- (instancetype)init {
|
||||
%orig;
|
||||
if(GetPrefBool(@"Enable") && GetPrefBool(@"hasSeconds")) {
|
||||
self.nz9_seconds_timer = [NSTimer scheduledTimerWithTimeInterval:1.0 repeats:YES block:^(NSTimer *timer) {
|
||||
self.shortTimeView.text = @":";
|
||||
self.pillTimeView.text = @":";
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
id returnThis = %orig;
|
||||
[self.shortTimeView setFont: [self.shortTimeView.font fontWithSize:sizeOfFont]];
|
||||
[self.pillTimeView setFont: [self.pillTimeView.font fontWithSize:sizeOfFont]];
|
||||
return returnThis;
|
||||
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
|
||||
%hook _UIStatusBarBackgroundActivityView
|
||||
|
||||
- (void)setCenter:(CGPoint)point {
|
||||
if(GetPrefBool(@"Enable") && !GetPrefBool(@"replaceTime")){
|
||||
point.y = 11;
|
||||
self.frame = CGRectMake(0, 0, self.frame.size.width, 31);
|
||||
self.pulseLayer.frame = CGRectMake(0, 0, self.frame.size.width, 31);
|
||||
%orig(point);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%hook _UIStatusBarIndicatorLocationItem
|
||||
|
||||
- (id)applyUpdate:(id)arg1 toDisplayItem:(id)arg2 {
|
||||
return nil;
|
||||
}
|
||||
|
||||
%end
|
||||
|
||||
%ctor {
|
||||
dateFormatter = [[NSDateFormatter alloc] init];
|
||||
dateFormatter.dateStyle = NSDateFormatterNoStyle;
|
||||
dateFormatter.timeStyle = NSDateFormatterMediumStyle;
|
||||
dateFormatter.locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
Filter = {
|
||||
Classes = ( "_UIStatusBarStringView", "_UIStatusBarTimeItem", "_UIStatusBarNavigationItem" );
|
||||
Classes = ( "_UIStatusBarStringView");
|
||||
};
|
||||
}
|
||||
|
|
15
control
15
control
|
@ -1,11 +1,12 @@
|
|||
Package: com.mpg13.undertime
|
||||
Package: dev.mpg13.notundertime
|
||||
Name: UnderTime
|
||||
Depends: mobilesubstrate
|
||||
Version: 1.6
|
||||
conflicts: dev.mpg13.undertime
|
||||
Version: 4.2.0
|
||||
Architecture: iphoneos-arm
|
||||
Description: Customizable date under time in iX StatusBar.
|
||||
Homepage: https://mpg13.github.io
|
||||
Depiction: https://mpg13.github.io/repo/depicts/undertime.html
|
||||
Maintainer: MPG13 <micahplacido@gmail.com>
|
||||
Author: MPG13 <micahplacido@gmail.com>
|
||||
Description: Customizable iX StatusBar carrier.
|
||||
Homepage: https://micahpgomez.dev
|
||||
Depiction: https://micahpgomez.dev/repo/depicts/depiction.html?selectedPackage=dev.mpg13.notundertime
|
||||
Maintainer: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||
Author: MicahPGomez <jbsupport@micahpgomez.dev>
|
||||
Section: Tweaks
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue