#development
1 messages · Page 442 of 1


lol
how is my bool false
when the swith is enabled
prefs moment
time to debug

chariz should've had a superbowl ad
not using HBPreferences moment
Probably because you set it to false
bro just nsuserdefaults sync

got $1,000,000 to spare?
its actually scary
not using nomaeprefs moment
This is the same person who tried to get frame of id an hour ago 
No
I mean if I had $1m I would be investing that in a kickass full-time dev team not a superbowl ad lmao
yea, i have bunch of people holding it for me though (and they don't even know)
bruh
ok
"full time dev team"
thanks
imagine fucking up prefs...
Version 2.1.3:
...
- Fixed issues where preferences would not load correctly```
more like you would waste it all adam
how do u fuck up prefs
wouldn't that be great huh
on a bunch of life size charizard body pillows
wtf
cuz we know you sleep with those 
@gaunt mesa
(this is a joke to be clear)
\🙄\🙄\🙄\🙄\🙄\🙄\🙄\🙄\🙄
no
go to bed old man
NSTimer
So many questions
that is dumb 
go to bed young man
u never pass UI into notifications
ok
Well you might not
:AGSakuraBlossom:
i did anyways
@lime pivot just figured out a solution for remoteviews
do not care in the slightest
just pass them in using NSDistributedNotificationCenter 
lol
was about to say that
You joke
true
But that’s something I would do

true

nsdistrubed notification center
ok so basically a uiview made with a plist
I only know NotificationCenter
[UIView loadViewFromPlistName:]


yea, i'm an xml/ios developer
serialize all your views
and store them
json developer
in a plist
for each respring
Perfect idea
shut up swift
can u even make a UIVIewController conform to NSCoding
I’m not Swift, I’m Amy 
Fr
youre gay
how in the fuck
I am nil
(null)
your apple id name isn’t far from that though 
(null)
ok
go back to writing bad code
yeah nsstring nil go ahead use it in formatted string

My Apple ID name is Amy
oh you changed it? nice
go ahead log a nil nsstring
itll log (null)
please ban yourself
Yeah but it’s dumb
go ahead format nsstring with %s
what is the different between null and nil anyone know ??
nil is id
its of type id
ah thanks
NULL == nil -> YES
NSLog(@"Cock: %s", [@"Cock" UTF8String]);
wait was that a serious question @primal perch ?
yea bro
ok

glad to help

is there a working method to get the mangled type of an object from swift
nil is (NSObject *)0
NULL is (void *)0
less than one
yes, what made you decide to type that and press enter
Because it’s accurate
i use fish
i like spaceship
fish shell sex shell
with nice defaults
yeah wanna see pain?
Multipla-Full on master [$] took 57s
objc mfs trying to concatenate two strings
This took me so long to figure out why it wasn’t working
yeah go ahead swift dev, make us another snapchat tweak
LMFAO
ok
except thats a con with Foundation, not the language itself


I like the language
I like the stock
gme
true
too reasonable
i have to convince everyone that what i like is best
actually theres one more thing... c best language
@wicked summit stfu
write your tweaks in c
asm
fish cum
has anyone done tweaks in HolyC yet
Is this supposed to be a challenge
they aren't mammals
dumbass

.
Wtf where is C
do not look up how to say how in Romanian
opened in browser instantly
i wanted to see big version cause it was small in preview
and noo you didnt
i like the stock
too slow
if you want proof ill send the link
what compression does xip use
ew lzma
LOL

yea
i am diamond hand daddy
wow everyone here is so funny
yes
i need to write asm

youre stupid
just as stupid as the next guy
move on
next
compared to xip?
Yes
god why lmao
yeah bro doesnt hook snap app classes, my tweak definitely is not gonna get you banned even though it gets loaded into the process
Obviously
that's fucking good
yay we like investing in dead companies with no future because of a one time jump for like 3 days
Xip moment
I wonder how much space the signatures take up for a bundle as ginormous as Xcode is nowadays
lmao I put money into GME when it was very late, before market open cause timezones
I can't set a stop loss/take profit unless the market is open
fell asleep and forgot about it
i'm in at ~20 ish
woke up and lost like 70% of it
L
i bought at 292 in jan but diamond hands
@eternal crater i'm banned but if you're here scroll up if lukes challenge channel exists still

market was still open so I set a take profit of what I put into it
sold half at break even now i’m waiting for more meme
it is my duty to hold
next few days it boosted way up again and that's the story of how I made 6 cents on GME
hold*
true
hold*
More than me
I didn’t buy
don’t take the loss
I'm definitely in the wrong timezone to play GME so it's best I just don't try

He has a stimmy to birk one
I have like 30 mins I'll be awake past midnight when the market opens and about 1 hour after I wake up before it closes
he bought GME at 20 in one
Luke does go wild
how in the fuck
NSUserDefaults *prefs = [[NSUserDefaults alloc] initWithSuiteName:@"dev.quiprr.notatio"];
enabled = [prefs boolForKey:@"enableTweak"];
enabled works
To create and export a p12 certificate plus the provisioningprofile do you need to be enrolled in the developer program?
but i have the exact same thing for another variable and it doesnt
I’m trying to use it with LightningSign

Idk you used wrong key or something bruh

i just
didn't
the prefs part work
and i'm looking at defaults and they are changing
I am going to go on a limb and say its a user error
true
but the boolForKey always is 0
wanna explain how

A user error is an error made by the human user of a complex system, usually a computer system, in interacting with it. Although the term is sometimes used by human–computer interaction practitioners, the more formal human error term is used in the context of human reliability.
how
boolForKey:@“bytes”
switches working ^
I can't explain how without knowing more about the user.
true
a defaults value is not going to change based on the method you use to get it.
Or sandboxed process
NotatioLog(@"deleteScreenshot: %@", deleteScreenshot ? @"YES" : @"NO");
this would be indicative of shit code™️ though
no because this is in a prefs callback which gets run in ctor and when they are updated
and enableTweak works perfectly fine

one works perfectly fine though
enabled works fine
the other doesn't
Okay how did you test if enabled works or not?

And does that value actually change when you disable the switch or re-enable it?
but i know enabled used to be in ScreenshotServicesService

which worked
yes
share the log for it
okay hold on
i'll throw logs in the prefs callback, yes?
or do you want it in the process that is fucking up
the process its fking up in ofc
ok

Yeah
iOS 14 fucking me up huh
No
might have to use the @grave sparrow solution
This has been a thing forever
Then that service probably wasn't sandboxed before
yep
@twilit jungle this worked fine when I was working on the tweak 

this worked fine when I was on iOS 13 
Its a feature, just make users learn about sandbox
I don't jailbreak anymore cuz 14
anyways
where is capts thing on getting around this
discord search sucks cock.
Use full path instead of the defaults domain identifier
yea
crashes now 
this is what HBPreferences was designed to solve
they're NO because you're using boolForKey:, and that has no way to differentiate "no value" from "value is falsy"
ok
3%
but true
3% is still 3%
not wrong
it was <1% when i bought it
BOOL *


gm
i'll sell OTM weeklies and buy 90 more shares

true
sell GME covered calls 
quiprr how have u still not figured out this issue
i have

if you use a pointer you can differenciate false from null
this guy has more money in the market than i do brain cells
and still confused on bool
ok notatio real rc1 soon

loss

True
didn't realize you finally acquired a singular brain cell
:floss:
quiprr instead of stealing it just join the actual server
what is

slim's


suck my cock
wasn't gonna steal it until u said that



No counterfeit emotes here

true




@surreal mountain local repo headass
ok i'll commit
Ill fix something irrelevant

committed
ok
Server icon reset
L
Ooh
you zero

Who ping
Can I manually store values in the NSDictionary of my preferences? If that makes sense
this sounds like an XY problem. what are you actually trying to do?
no love for z?
404 brain not found
400
Store for example an UIColor and later retrieve it
doesn't matter if it's stored in hex format or whatever, just a color
well, it would make most sense for that to be a string
which you'll need to handle yourself
if you're using Alderis there's these methods, and similar ones in Cephei https://hbang.github.io/Alderis/Extensions/UIColor.html
if you're using CFPreferences/NSUserDefaults there's methods for setting values there
if you're just using NSDictionary, you'd need to get an NSMutableDictionary e.g. via [prefs mutableCopy], set the value, then write it out with writeToFile:atomically:
Do you have an example for that?
Is there a reason why you want to use a NSDictionary over NSUserDefaults? Is this something that needs to be stored permanently or just for the lifetime of the process?
permanently
NSUserDefaults sounds like what you want then
how do I use that?
you first init a NSUserDefaults object with initWithSuiteName: where the suitename is usually your tweak's identifier (com.name.tweak) then you just call setObject:forKey: and objectForKey: like with a NSDictionary to set and get objects
you can use NSKeyedArchiver to archive the UIColor or use something like alderis to convert between uicolors and hex strings as kirb said
Is it possible to modify an @property?
WHY IS BITCOIN AT 60k
it’s not?
Do you have an example? I think I'm overthinking it.
@property NSString *string;
[self setString:@"yulky"]
in some instance method
and I thought it was dumb for me to invest at 40k a few months ago
that’s 56k
as a poor the difference there is not tangible for me
back 2 work bc i didn’t invest in bit coin
it was at 60
which is fancy for invest now if you think it'll go back up to 60 or more
so how do I get a specific property by name?
[self string]
receiver type 'SBDockView' for instance message is a forward declaration
@interface SBDockView: UIView
@end
no visible @interface for 'SBDockView' declares the selector 'backgroundView'
I should probably read up some more about this
@interface SBDockView: UIView
@property UIView *backgroundView;
@end

thank you mate, I'll read up on why and what first though before I use it lol
never
we do a little objc
Dghost about HSWidget, can I ask y CC modules doesn’t appear the same way as in the CC settings pane ?
Because they are different view controllers?
🔒
Thx to the new CCSupport update, we can have multiples modules for only a single Bundle, and while in CC settings pane we saw them named individually, in HSWidget, they all appear with the bundle name
Yeah, like I said few weeks ago. I haven't looked at the new CCSupport API..
Feel free to PR if you know how to fix it.
Is this something you want to look at at some point ? Or you cool as it is and work (or not ?) on something else
Feel free to PR if you know how to fix it.
I mean.. y not, after I’m done with my implementation, can be cool to see how you did and try 😁
I can look at it though doubt I'll be able to maintain it forever; since that feature is only supported on iOS 13 and soon I won't have an iOS 13 device.
Which feature ? You use stuff that are not in iOS 14 ?
No, the CC Module widget is only supported on iOS 13. HSWidget does not and will not support iOS 14 (no reason to).
Don’t bother yourself then, I was just wondering. U do your thing man 
Let me know if you don't look at fixing it, then I can look at updating it for the current API. But any future API changes to CCSupport will be difficult.
I won’t look at it before some times tho, had to finish my implementation before looking for HSWidget compatibility/improvement.. but I’m definitely interested to see how you did 😁
As always, thx for answering and for your work, have a nice day gtg 


why is messages killing my mac battery in the bg tf??
because bloat
what the actual fuck is this bullshit
a screenshot
Isn't it a remote view? have you tried using one of the FLEX loaders?
false
No
keyboard is remote view
notifications is not, I don't think atleast
wtf it's ghost

true
taco bell
and gordita
i might go after school except they removed the fries
so mcdonald’s instead

im trying to make a tweak using healthkit & i get this message when i run requestAuthorizationToShareTypes: The connection to the view service was invalidated., and everything i could find online tells me to add HealthKit to the capabilities, which i dont think i can do using theos
does anyone know how i could bypass/fix it
true
never take honors or ap english

it isn’t worth it
what if im in honors right now

and going to take ap next year
true
just don’t overload on ap
last marking period, it was my lowest class
or you might want to kill yourself
everything was 91+, chem was a 73
AP english only worth if you are going to get college credit for your AP score.
And specially don't take it if you are going to be majoring in english, writing or something related.
i don’t think most people in this channel plan to be majoring in english to be fair
true

peep my chem grades
:O
i’ve been grinding it the day before every time and success

my last test i took i got an 89
stoichiometry made 8th grade math confusing again somehow lmao
AP chem worth bro, you can get a shit score and still get college credit.
we dont talk about stoichiometry
we got the 33.33 quiz average

enabled = [[prefs objectForKey:@"enableTweak" ?: @"YES"] boolValue];```
is this the proper way of
conditional
for this
@YES
Oh pull it out one
wdym
oh
enabled = [[prefs objectForKey:@"enableTweak"] ?: @YES boolValue];
this?
Yeah
okay cool thank you
how can i add entitlement using ldid?
extract entitlements with -e, add the entitlement to the list, sign with -S
https://github.com/Samgisaninja/SuccessionRestore example entitlements file here
or some other jailbreak apps
how
all classes are accelerated
but we don't affiliate w AP
i made a tweak that puts memes in reachability
Someone make a tweak that adds dark mode to images.
true
true
dropping support for <14.5 beta 4
No that would be inverting, not dark mode. Dark mode makes light colors darker, it doesn't make everything opposite.
sounds like a developer problem that idc about
and that’d be jank at best
make a tweak that uhhhhh
make SwiftUI for iOS 12
I just need funds
don’t u get paid soon
what file would i be extracting from, the deb, dylib thats installed?
yes but that goes towards paying rent
you won’t need rent money soon
l
just don’t pay rent
just live in your car
true
and hop between parking lots
doing your mom so good
where is my child support money? I need to buy GME
then you have to worry about springboard
it’s worse, trust
bold of you to assume the user will give you a crash log
your mom just made me a grilled cheese
you're* 
you are more likely to get a screenshot of a crash happened screen than a crashlog
your tweak is more of a power user tool to be fair
What is?
Nonex
Oh yeah, I'd hope those people know how to get crashlog before getting that.
true, HSWidget after the basic functionality
you can't add entitlements to dylibs mate

dang 4 reasons


crabapple?
u just need to learn pac instructions there aren’t TOO many of them
that being said its a job for the brave
yes because I know what that is
you can be the first

if you’re using rust instead of c odds are it’s partially because you don’t want to deal with assembly

so i can see why there aren’t many people into that

nfr

what even
char ***************a[]
👇
☝️
pointer to a pointer to a pointer to a pointer to a pointer to a pointer to a pointer (array)
true
No not this again
wdym
I don't have any time
it’s amazing
How you going to not buy GME

WTF
racist
a little, yea

we do a little racism



no sandbox 

your gf is 9 @wicked summit wtf???




scoobs meth and electric company
Step 1: raid an industrial warehouse
yes i think it was half past never


thanks
if anyone here uses uncover could you tell me if /usr/lib/libmagic.so exists on the device
can’t relate, don’t use js
my dumb brain just realized that it’s arm64 so I can’t use it anyway
I guess I’ll just statically compile
so then what would i be passing in ldid -e <?>? sorry for being dumb
what are you trying to add entitlements to?
a tweak
no
bc thats what im trying to use
and this is what i get The connection to the view service was invalidated.
what a tweak can do is fully determined by the process it is in
it a process is allowed to use healthkit, then a tweak injected into the process can use it too
but how would i make the connection validated if i cant use entitlements
bc all i found online was people saying toi make it an entitlment
hook a different process
create a different service with entitlements and use xpc

but what if process doesn't have xpc capability /s
that joke would be funny if i knew what it meant 
cross-process communication
where is the x?

x = cross
go ahead @misty cradle ask
under where 
in ur mom


anyone know the reasoning why running a hackintosh/ryzentosh (or even trying to boot checkra1n from a USB) on an AMD system, just hates USB connections?
usb controllers man
sad days
I actually put together a Ryzentosh to use Xcode but I can't even trust the iPhone connection
xD but hey, still pretty cool
at least its on a PC I don't really care about
Amd system need usb mapping for it to work fine on Mac OS
ahh okay. Thank you
Np
PAIN
what the fuck is this
$__lazy_storage_$_kindAndSizeView
and can i change it with MSHookIvar
swift
ik
but what does this mean
$__lazy_storage_$
mm
true
thanks for the help
💵
why is hooking swift such a pain
swift is a bit more complicated than objc
Nah, swift is normal + some weird things. Obj-c just exposed too much.
Yeah
loss
if only there were something like class-dump for swift
cause right now i have to find all the ivars and methods by hand 
well that's kinda hard
class-dump relies on runtime knowing the information
exactly
it's literally runtime browsing stuff
and then dumping it from shared cache or whatever
true
i guess i'm lucky since all the classes i'm trying to hook subclass from objc classes
so I can just use objc runtime functions to get info about them
Also allows for hooking to have a very little performance penalty I believe
using dyld2 
Protocol 'RawRepresentable' requires 'init(rawValue:)' to be available in iOS 13.0.0 and newer
why tf
why
i hate swiftui 1 so much
why can't i convert to a uicolor
why
not funny
got dam
😐

wtf
idk what I did, but I know i didn't add mapping. but for some reason... iTunes actually let me trust the iPhone connection. but ofc, checkra1n doesn't work.
Anyone know how to hook a app's frameworks?
same way you hook anything
all objc code can be hooked, doesn't matter if it's from a system framework, an app-specific framework, or in the app binary
@tepid olive using the bundle-id in the app's Frameworks like org.cocoapods.foo?
in theos ^ or just doing it in code?
you can use the app's bundle ID
that's only used to decide which apps to load the tweak into
^
thank

were we supposed to laugh




i see what you did there
I don't have enough time
But you have money?
No

You stole it from that old woman's purse

I'm trying to install a cool project called whereami that uses wifi signals and machine learning to locate things. I'm using the Python3.7 package and have used that to install pip, so far so good, but I run into issues when I try to build numpy. I think the issue is that there's some FORTRAN code in there somewhere and I can't find any FORTRAN compilers for iOS. So let's say I want to compile a compiler for iOS, so I can stick it in a repo and make it available like llvm is; is that something I can do with a 2013 macbook and Xcode?
Xcode bad dev tool


























