#development
1 messages · Page 108 of 1
how do u make a view get ignored by touch events?
because its not letting u tap on the thing below it
setUserInteractionEnabled: NO doesnt work
i dont have access to the views under it
stackoverflow says userinteraction thing should work
or change the view order (which is not an option for me)
I literally said not to use it, it’s just a POC
does anyone know why this error happens if i try to compile a tweak with the latest sdk? using 16.x ones works
what is actually wrong with that code tho
like isnt that just a more advanced way to do the same thing that you could do by copy pasting it 200 times and using %hook
My bad
no
how can i make a cell in my preferences have a color trailing which opens ios's stock color picker?
ok well it kinda worked
true
How to be useful
how do i get the silly color picker to work
ive tried both the stock one and alderis
both crash settings
so i think im doing something wrong
i literally just have
@implementation FloraRootListController
- (NSArray *)specifiers {
if (!_specifiers) {
_specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
}
return _specifiers;
}
@end
and then i have ```plist
<?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>PSLinkCell</string>
<key>cellClass</key>
<string>HBColorPickerTableCell</string>
<key>defaults</key>
<string>com.rosiepie.flora</string>
<key>default</key>
<string>#fff</string>
<key>label</key>
<string>Tint Color</string>
<key>showAlphaSlider</key>
<true/>
<key>PostNotification</key>
<string>com.rosiepie.flora.reload</string>
</dict>
</array>
<key>title</key>
<string>Flora</string>
</dict>
</plist>
i have alderis in my depends in control
lmao
i probably shouldnt rename the file
but i have like 100+ files in that packages directory
True !
has anyone had an issue with HBPackageNameHeaderCell being un-centered?
is it possible to %hook within a %ctor or if statement
No
Yes
for example i want to check if a file exists once, then %hook a function if the file exists
You can do conditional initialization of hooks yes
and then you can remove the hook
buddy
MSHookMessageEx([self class], _cmd, (IMP)&%orig, NULL);?
this some magic shit
BUDDY
wellll i kinda dont careeeee I just typed garbage
it would be funny if it worked
🙏
i still cant figure out how to use alderis/ios color picker as a cell https://cdn.discordapp.com/emojis/1007946425725886464.webp?size=48&name=SilvPray&quality=lossless
@granite frigate ```logos
%group MyPersonalGroup
%hook ClassHook
- (NSString *) someMethod { return @""; }
%end /* end of hook */
%end /* end of group */
%ctor {
if (someRandomExpr)
%init(MyPersonalGroup)
}
that sounds like a lot of garbage
listen buddy if it works on my barely functioning iPhone 8. it works
yeah i figured it out i think
// change confidential text - thx fiore
@interface SBUILegibilityLabel : UIView
@property(nonatomic, assign, readwrite)NSString* string;
@property(assign,nonatomic) long long textAlignment;
@property(nonatomic, assign, readwrite)UIColor* textColor;
@end
%group thething
%hook CSStatusTextView
- (void)setInternalLegalText:(NSString *)string {
%orig(@"");
}
%end
%end
%ctor {
BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:@"/var/mobile/.serotonin_hidetext"];
if (fileExists) {
%init thething
}
}
```
so real
oh its()
what's that for @granite frigate
Yeah it's like a function call
im adding it to my thing
also we do not need to use dot files for confs here. we're on iOS USE NSUSERDEFAULTS
bet
what 😭
ok
another thing to google
ok no good
self promoting ur shit even when we're talking about NSUserDefaults. clout is a fucking disease
com.captinc.funnytweak 🔛🔝
and when u set the option to YES/NO in ur app make sure u use NSUserDefaults there too
i just been touching random files nd shit
i love how discord is very functional
😭 damn............
im touching random stuff too
make sure u use a specific domain in both ur app and ur tweak
here
in ur app & user tweak, u'd have a
NSUserDefauts that is NSUserDefaults *defaults = [[NSUserDefaults alloc] initWithSuiteName: @"com.htrowii.whatever"]
then, you write to that from the app
setObject and such
uh huh
you know how NSUserDefault's set/get interface works right?
uh huh
get it?
use objcetForKey
yeah
objectForKey*
if you use NSUserDefaults.standardUserDefaults that's gonna be writing into 2 diff places bc it'll be looking for SB's in the tweak
Respect the hustle
No.
com.captinc.zefram
i lied i didn't even know NSUserDefaults existed 🔥
i;ll figure it out
LOL
Based capt doesn’t deserve respect
@granite frigate it's how we write preferences, so for the app, here's an example:
let defaults = UserDefaults(suiteName: "com.htrowii.serotonin")! // Store `defaults` in a class somewhere
defaults.set(false /* or true */, forKey: "HideText")
then, in the tweak: ```swift
let defaults = UserDefaults(suiteName: "com.htrowii.serotonin")! // Store defaults in a class somewhere
if defaults.bool(forKey: "HideText" ) { // hide it }
it's swift but easy to convert to objc
true!
okay
Don't use nsuserdefaults
You do not have a cfprefsd hook
oh woops i forgot this was for an expiremental jb
yet
yeah until you have ur cfprefsd hook use ur dotfile
i mean I can do it soon™️ but it doesnt exist yet yeah
As long as it’s more reliable than zefram you win at life
is there any examples of tweaks that use ios's stock color picker for prefs
like almost all tweaks are closed source i dont have very much i can look at lmao
Don't think anyone does this
There is no native cell for it afaik so you have to implement it yourself
Just use alderis
ok so are there any examples of how alderis is used
I’m pretty sure alderis has good docs
it does however my pref page either just shows a PSLinkCell instead of the color picker or crashes settings altogether
Are you linking against alderis
as in i put FloraPreferences_LIBRARIES = colorpicker in my makefile?
if yes then yes i did that
Is alderis actually installed
Ok send the crash log
ok 1 sec
Library not loaded: /usr/lib/libcolorpicker.dylib
Referenced from: <uid> /private/var/containers/Bundle/Application/.jbroot-uid/Library/PreferenceBundles/FloraPreferences.bundle/FloraPreferences
Reason: tried: '/usr/lib/libcolorpicker.dylib'
``` apparently its not in dyld cache
but that doesnt make any sense

both alderis and libcolorpicker are installed the bin is at /usr/lib/libcolorpicker.dylib
the bin cannot be at /usr/lib/libcolorpicker.dylib that makes no sense
that would imply rootful
well its in .jbroot/usr/ ofc
yea ok
you need the tbd to point to the right location
i can't help you in that regard I don't use roothide theos
hmmm
i wonder if i build for rootless and then patch
if it converts to the right path
💀
It might but that’s really scuffed
me when jailbreak developers
it is but ive been messing with this for the past few hours and i just want it to work so i can start doing other things
ok well it rendered the row
but its not a color picker row
its just a PSLinkCell
explosion
roothide
Well yeah
Why does “$THEOS/bin/nic.pl”
return “zsh: no such file or directory: /var/mobile/theos/bin/nic.pl” when it obviously exists?
echo $THEOS returns
/var/mobile/theos
file $THEOS/bin/nic.pl
see what it returns
should return /var/mobile/theos/bin/nic.pl: Perl script text executable or whatever
/var/mobile/theos/bin/nic.pl: broken symbolic link to ../vendor/nic/bin/nic.pl
ah
^
is that why it’s in red and has an @ at the end?
Yes
I see
Maybe
Thanks guys
ughhhhh im about to just make all the cells PSEditTextCell
its getting tiring i wanna move on to some other thingies for now
Have fun
i also found this https://github.com/0xkuj/NativeColorPickerCellExample/tree/main
i tried to use it, it also crashes settings
so, thats fun
oh also its not me which is doing it wrong
their own poc package crashes settings too
They’re a react dev. Fast results > good code/experience

but ive been trying to get this to work since like this message
and ive gotten nowhere
I use it and it works perfectly fine
what jailbreak are you on?
serotonin
im assuming so
try to share it maybe there's a solvable reason
i think there is one but its buried in the hundreds of logs per second
if i filter by the tweak name it doesnt appear
you should filter by the process which is preferences
this is what crashed
oh true
why not alderis
I think it might be https://chariz.com/buy/antoine
but. idk...
clearly youre doing something wrong 
isnt antoine open source..?
yea, so?
idk lol
what happened to clout
respect tho get that bag
I need to buy a vinyl soon so
🙏
ooo what album
im doing exactly what the docs say
SMTV
soulseek 
Track 24
Disc 3
End of disc 3. Please insert disc 4.
Devil Decadence forever.
job 
wait do i need to import anything into my headers horror
wait its kind of a banger
im sayin
my header is just
#import <UIKit/UIKit.h>
#import <Preferences/PSListController.h>
#import <Preferences/PSSpecifier.h>
#import <rootless.h>
#import <objc/runtime.h>
#import "../../Tweak/Constants.h"
@interface FloraRootListController : PSListController
@end
``` idk lmao
react native is actually a good abstraction for both ios and android
i only work on rn because discord uses it
is EXMColorPickerCell.m in your makefile
i.. i need to copy over the modules from alderis into my project manually?
im not im using HBColorPickerTableCell
We’ve shat on RN twice within an hour
#development doing good 🙏
when i tried with EXMColorPickerCell i did yea
@placid kraken whats even the issue
like whats happening
(i didnt scroll all the way up)
i tried to render a color picker cell for prefs
if i load it via plist it only renders a PSLinkCell and doesnt do anything
if i load it via objc and make a specifier there manually it crashes settings altogether
i dont get one, i filtered by Preferences as the process aswell as the tweak name
there are no Faults in console.app
at least none which are relevant
because i dont think this one is
Failed to log access with error: access=<PATCCAccess 0x2824fc550> accessor:<<PAApplication 0x2824d8410 identifierType:inProcess assumedIdentity:(null)>> identifier: kind:intervalEvent timestampAdjustment:0 visibilityState:0 assetIdentifierCount:0 tccService:kTCCServiceAddressBook, error=Error Domain=NSCocoaErrorDomain Code=4097 "connection to service with pid 624 named com.apple.privacyaccountingd" UserInfo={NSDebugDescription=connection to service with pid 624 named com.apple.privacyaccountingd}
Settings -> Privacy -> analytics -> analytics data
Bruh I already told you what the issue is
You aren't linking to alderis/libcolorpicker properly
even when i convert via patcher it no longer fails but it just renders a PSLinkCell with nothing else
oh that crash log
@placid kraken
Remember to link against the libcolorpicker library from the preference bundle. With Theos, this might look like:
MyAwesomeThing_LIBRARIES = colorpicker
already done
roothide trolling
fr
LMAO THAT DOESNT WORK EITHER
I KNEW IT
I KNEW IT
I KNEW IT
I KNEW IT
ITS JUST A PSLINKCELL TOO
roothide trolling frfr
LOOK
use gh search for this
that mightve been because i was trying to load it without a plist and i passed something in wrong
ill try again now
i wouldnt find much, most tweaks are closed source
actually
hmm
they're not
how do you think i knew atria used alderis 💀
oh
gg
do you not have alderis installed...
wtf
i will explode
ok so weve established its the react devs fault
.
oxidative phosphorylation
wait but libcolorpicker isnt even on bigboss
i cant find it
@indigo peak where did you get libcolorpicker
weird, atria fails to load if i uninstall libcolorpicker
wait it works now horror
i uninstalled my libcolorpicker
😭 😭 😭 😭 😭 😭
what the fuck is going on
NO WAY
Ok do you have a tweak called lib color picker installed
not anymore
💀
now to figure out how to populate this dynamically
i mean i know how but its more like how to parse the specifier properly
yo
so
now with rootless and all
I still have to add mobilesubstrate to the depends right?
okay looks like the answer is no from what ive seen
oh lol
ellekit/libhooker Provide mobilesubstrate
okay nice
ellekit also symlinks to CydiaSubstrate
notif logger what's up
yup
oh ur vyolit
i never used ur tweak
I did ask here tho for suggestions
my bad chief I just asked around for how to design it and did it according to how people told me
something something 2 years ago something CS
notification logger tweak looks like ios notification banners shocking
okay! well i dont care

fr
when u gotta hit her with the androgynous stare
idk he just used a iOS notification logger tweak at https://chariz.com/buy/senri
make sure your tweak stores every attachment in ram
and CPU cache
lmao
For your concern: There is no way I saw suitable to sort the notifs other than apps and date (I asked around for this), I didnt know how to design the notifs in settings (I asked around for this), and I didnt know where to put the logger (I asked around for this)
almost all decisions made were by me asking people how and then designing them in that way
you did not invent UITableViews in PS
who cares you don't gotta impress this whitename
you got kirbs approval
collect ur bag
fr
im saying man
goat

fr
Need to know if this hooks into a daemon or sb
(may i have gift)
@tepid olive don't hook into SB and then market ur tweak as more efficient
I shalll try on iphome 14 pro max if so
has iPhone 14 Pro Max, can't afford two dollar tweak
!!! /j
no apple pay smh chariz
bet 🫡

🥹
i appreciate it chief
Apple comes out with a statement against me for making Antoine... more to follow
do a giveaway in my DMs 
@slender glade free gift for my 0 jailbroken devices 🥺 🥺 🥺 🥺 🥺
🙏 🙏 🙏
BUDDY
meow in the dms if u want one lillie
💀
lol
yea i hate this
you’re a lot nicer than me
car
You're not on clem 
I try to stay nice regarding stuff like this cause I don't want people to get the wrong idea, and don't want my image to be tainted, but It's sort of off how they just went on the offense immeidately, I sent her proof in DMs that I didn't copy her tweak and she just went offline
I do not believe she was just looking to be angry
but does seem like so from a distance, I certainly wouldn't have reacted like she did if I was in her position
serena W
if you make something better that doesn’t murder your battery it doesn’t even matter if you copied it 1:1
yeah didnt ve literally have battery drain issues
murdered
if i remember correctly it all got loaded into memory so you’d die eventually
wow
guys can someone help me im trying to make a tweak which uses all of your free storage space as virtual memory and fills it with empty bytes for no reason
how do i
i find it ironic that someone who made a ventana clone would complain about copying
thats hilarious
Agreed but I didn't start it
cameren
idk who did
WHAT
YOU LIVE
is that the drama tr1 accidentally started
DO YOU THINK YOURE DOING
i think so
I AM BALLIN
that was so fuckin dumb
Yeah
that was funny
I’m gonna have to report you to @misty cradle
the ceo of veza 

beta test version?
swiftui users be like
can you write tweaks in swift
yes
oh wait fuck orion exists
i’m eating french toast who needs
If you hate yourself
my autocorrect test tweak causes it to lag 
lmao true
😳
i hate swift
the price i pay to figure out when the fuck the autocorrect dicts are loaded
dont even bother
it feels like such weird syntax i could never
interesting.
yeah
ty
is it from you
yea
joeaway
ty big man
R
yes
R
this wind sucks ass
don't
ok it has been purchased
even think abt it
yooooo
i dont like swift
I've been leaking for a tweak like this for ages
leaking?
i’ve been tweaking all day
you've been WHAT
um~
ayo
sileo 0.2b1
i feel like that upgrade path wouldn’t even work
thats wild
How is good 0.2
it doesnt open on 15
awful
its probably awful
well
use cydia at that point
i tried to open it
like extremely terrible
there was some points where sileo was good
amy sileo >
wheres my cr4shed log
when it was objc
oh its probably not signed
WWW
the tweak?
Sw*ft
for the most part anyways
If I start jailbreaking again soon I'll get it
hey v2 is good too if you Download anal...
ah
dopamine 2
what is this with the giveaway ping?
HOLY SHIT IT OPENS
oh flower is doing sileo stuff
it's SO broken
show ui pls
didn’t know she was around still
tweak developer breakfast
flower still develops for jb stuff
@slender glade I meant "looking for a tweak like this"

WHAT THE FUCK IS A DARK MODE
I see
:p
take your happy pills billy
LMAO
normal pills
there are no mistakes
Wow that's so good
that wasnt a typo
i dont think so
Show
i should PR a fix for DPKGArchitecture()
I'll get it if I ever get tweak injection on my device
L, cdn proxy died
normal / power user / developer was such a good concept too bad the average user is too dumb to understand it 💔
BET
Which is semi-likely as I'm on 17.0
news
soon
i just got the weirdest panic from someone
yeah everyone’s is brain dead and they couldn’t find like preference loader or whatever
"uhh guys whats a power user is that like the president"
tags are stupid so whatever
I wonder
Can it install packages
Probably not, I had to remove the apt7 requirement
because palera1n only has regular apt
should never happen!
What should I try to install
man
^^^
alraedy have it
@primal perch @hasty ruin laurie is making a swift and objc decompiler 👀
jade
im gonna install nexus on my iphone 11 guys
test deb (literally just a control file)
i saw smth about this on obts recently
swift decomp
free rune?
yeah true
obts?
iCraze has agreed to giveaway 1000 copies of Rune guys
omg real
Get button is dead
Just DM him "wen eta redeem" 100 times
rune!!!
for £2490
least easy way to get blocked:
Such a generous dev 
zebra 2
Let's try and add a source
ffmpeg is the new eMacs in terms of features
icic
yeah also by laurie
Anyway, adventures in sources
It can add them surprisingly but you can't install anything still
maybe havoc depictions use some new nativedepiction feature
idk
wow i love YesBetaPopup
revolutionary tweak
Useful tweaks
Useful tweaks
cement doesn't actually work but i don't care enough to fix it
Magician is fun
It works on 15

You'll need ssh to remove it though
otherwise it's very difficult to uninstall packages
LMAO
in development
💀
time to repack
Man
oh that one
What does it do
capt made that too
Useful tweaks
rpwnage
captain incorporated
@tepid olive do you have it
they're all open source if you want to search through his messages
the source code is all in here
you took money out of someone’s wallet and had no issue with it and now you’re mad someone did what you did but better
get over yourself
tiktok uninstaller
yeah it was his tweak lmao
yeah say whatever you want you’re irrelevant and borderline vindictive copyright troll
that’s how you act
tiktok uninstaller is crazy (it just deletes tiktok but breaks it so you cannot reinstall)
can you not uicache -af to fix that?
What it breaks
what exactly
idk
What part
yeah i mean if the bundle exists then uicache cant register it
no you don’t you don’t own apples settings
didn't you just say it's a copy of ur tweaks ui?
you seem to think you do
the_plush
i thought you said it was a 1:1
that's crazy
the_plush
😭😭
@restive ether @shrewd smelt if a horse had a penis where would it be placed
my ui design sucks chat
in the front or in the back
What
on top
do horses not have penises ?
no
if you helped jack on a horse would you help jack off the horse
right like
.
i love the english language.
god should invent that white girls will love it
my nickname is now correct
LMFAO
oh
horse penice
peanice
TF2 lead programmer
do i need to like explain what preferences are
FR
im supposed to be eating grilled cheese w the family rn
i’m so sorry about your diagnosis
lmfao
Saying you’re a react native developer just tells everyone you’re a masochist
@slender glade
this spaghetti code sucks
do u think he b using uwu at work
thirsting manager
i only know RN because i do discord client modding 😭
FREAK
smh
Homosexual
what.
this is development
@restive ether @shrewd smelt hacker news schizo edition
today we're watching this idiot put 10 unused images in his app
of the human knowledge
yeah we have GAY ESXE here eeveryday
sorry we should be harassing @hasty ruin instead
THATS WHAT IM SAYING !!!
where’s 1984
pov your ram after you copy multiple images using ve
@slender glade I dmed you about Senri, the tweak does not match the screenshots
resources is 12501885 bytes in 21mb app
now thats more like it
Have fun making windows programs
u know when i announced Antoine at HN 3 people commented asking "how would this be useful" and then when whitetail posted an ss of Antoine on twitter it got like 1k likes and stayed ontop of HN for an entire day
based as fuck
its actually going well thank you
where did u dm me
Probably the worst platform to write programs for
On discord
oh i see the icon
No it’s ass
Lmao
nuh uh
I hate using markup languages for ui
wtf
- a web dev
Don't forget that there is still time to port iNutt to visionOS and sell it before launch. @lone pythons
inutt
both
😭
When is Apple required to add side loading by
@restive ether Can i test ping admin role please.
probably not
march i think
so that seems like a 17.5 thing
[[inutt]]
unless the beta cycle for 17.4 is really long
Search/download corn from four different corn sites!
4 different sites
is it actually corn or do you replace the c with the letter p
Latter
korn the KDE corn!
The 4 sites are pornhub and the rest are potentially cp
WHAT
waiwiadbai???????????
Ive heard too much shit abt cp on xvideos
oh.
Bros acting like appkit is gonna be removed from macOS
I would have thought they would have done it before vision pro
I know him
he's my friend
he said he intentionally did that
Pretty sure he’s joking
Yeah I recognise the name
on the HN top board

NXLabel
whats HN?
Hackernews
oh
Do u fr post your tweaks to hackernews
omg close the topic
I hope apple adds a notification log app in ios 18 just for you
@tepid olive tiktok uninstaller V2 wen
i ratted a skidder
you’re clearly incapable of reading so this no point continuing this
whats the difference between these
PSSpecifier *specifier = [PSSpecifier preferenceSpecifierNamed:name
target:self
set:@selector(setPreferenceValue:specifier:)
get:@selector(readColorPreference:)
detail:nil
cell:PSLinkCell
edit:nil];
[specifier setProperty:@"HBColorPickerTableCell" forKey:@"cellClass"];
[specifier setProperty:@"com.rosiepie.flora.preferences" forKey:@"defaults"];
[specifier setProperty:@"#ffffff" forKey:@"default"];
[specifier setProperty:name forKey:@"label"];
[specifier setProperty:@true forKey:@"showAlphaSlider"];
[specifier setProperty:@"com.rosiepie.flora.preferences.reload" forKey:@"PostNotification"];
[specifier setProperty:name forKey:@"key"];
<dict>
<key>cell</key>
<string>PSLinkCell</string>
<key>cellClass</key>
<string>HBColorPickerTableCell</string>
<key>defaults</key>
<string>com.rosiepie.flora.preferences</string>
<key>default</key>
<string>#ffffff</string>
<key>label</key>
<string>explosion</string>
<key>showAlphaSlider</key>
<true/>
<key>PostNotification</key>
<string>com.rosiepie.flora.preferences.reload</string>
</dict>
``` i dont get why when i do it via plist it works fine but when i do it via objc it decides to explode settings
[specifier setProperty:@"HBColorPickerTableCell" forKey:@"cellClass"];
there is the issue
[specifier setProperty:HBColorPickerTableCell.class forKey:@"cellClass"];
wait HBColorPickerTableCell isnt defined do i need the alderis headers?
HBColorPickerTableCell iirc is part of standard cephei
oh it's not
then yeah you do
You could just define it then
in ur .x or .h file
and link it
didn't you throw a fit about coolstar not wanting you to copy their tweak? and now you're here throwing a fit that someone made a less shit version of your tweak?
tysmm
🙏
do u think lucifer has pubes
porn
@frail cedar this time for real
Tf did I miss
Lucifer and Beelzebub

original message was deleted
lol
probably left
literally only came here to yell at serena for doing the same thing she did to coolstar
Didn’t she leave the community 3 times
deleted all messages and left
coward move
nothing says im right like getting scared deleting all your messages then leaving
you have an update available!
too lazy
$mod + q
I don’t like dogginf on people in general in public but what was all that she did for
She came here very aggressively
And accused me of something
I DM’d her images to prove I did not indeed copy her
And she was just like “whatever I still think that”
AND THEN
she said
“I hope you’re happy”
this is not how grown adults talk man
does this kinda thing happen often here?
Every 3 years or so
ah
is this how people do this kind of thing
#define ENABLED_KEY BUNDLE_ID(.enabled)
#define BUNDLE_ID(arg) [NSString stringWithFormat:@"com.rosiepie.flora%@", @#arg]
its not even the same what is she waffling about
Vè?
it literally looks like an ios notification banner
like what else is she supposed to make
yea
android themed
alexa moment
wait is this the dev that was like
litten
dont compile or distribute my tweak
despite making it foss and her entire gimmick was foss tweaks
That defeats the entire purpose of FOSS
the unstable nepeta
honestly out of spite i'll find the old one with the old license and host that
Don’t make your stuff FOSS if you don’t agree with the philosophy
I’ve never told the maintainers of the 30 Santander forks to fuck off
And there’s another file manager in development rn by hahalosah but I’m not in their DMs telling them THIS IS MY THING
Doesn’t the license overwrite this
yeah
I have a fork just to run the GitHub action lol
For some reason it won't build locally
LOL
speaking of did i ever merge SantanderTS into your repo
Yeah doesn’t even build locally on mine anymore bc of extensions.swift
I think so
oh ok
To wrap this up my thoughts are that the entire jailbreak community and ecosystem are built on OSS and ideas being shared. All I knew is that her tweak existed and was once shown the README. I didnt copy her code and I have screenshots to prove so, she was aggressive for no reason and now she just left
What do u guys think of this cat
for nsuserdefaults what do you put in here
static void load_preferences() {
preferences = [[NSUserDefaults alloc] initWithSuiteName:/* bundle id of tweak ???? or bundle id of pref subproject ?? what do you put here */];
}
He blawg
Nothing is restricting you
You put whatever you want
True!
average swift
yea but then in my prefs when i do this
[specifier setProperty:name forKey:@"key"];
``` do i need to put in a matching id.key thingie?
im kinda confused how theyre linked
or is it the defaults key which needs to match
and then the key can be whatever
actually that would make more sense
For pref specifiers with values
There’s 2 values
you need to take into account
bool and string?
one is called key
ah
And is the key for the value
And the other is defaults
And that’s the domain you end using
Both are strings
There’s also defaultValue or smth I think
Take a look at the example tweaks project by night wind, perhaps that has an example
so for example if i wanted to have an enabled key, would i do
[specifier setProperty:@"com.rosiepie.flora" forKey:@"defaults"];
[specifier setProperty:@"enabled" forKey:@"key"];
and then
preferences = [[NSUserDefaults alloc] initWithSuiteName:@"com.rosiepie.flora"];
[preferences objectForKey:@"enabled"]
```?
oh alright
Yup looks correct
There’s also another key
When you want to update your prefs without a resprinf or restarting the process you’re injecting to
You’ll want to handle a CF notification


