#development
1 messages Ā· Page 556 of 1
is YYLabel a part of uikit?
Setup one on Big Sur Monterey today lol. Works great and it's fast too
Seems nice, I have open core setup already
where's YYLabel on then
no, thats custom class that discord uses
its from react native iirc
so how do i import it š¦
@interface YYLabel : idkwhatthefuckthisis
@end

im the only person who can tweak discord here
is the thing after the : the class name
professional developer
That is the parent class
that's sexy
no, i just didnt know what to putt there
Itās easy right
sometimes

Objc is fucking easy
Thats not ViewController
the file is not named ViewController now

It has to be the class
Not the file name
So if your class is fiore..controller then that would be your value for key


you never fail to amuse me

do i not need %hook inside of the interface
so @interface hooks itself?
You should learn obj-c before tweaks... it'll be much easier
when you do #include <something> inside of something, there are all the @interface's
hmmmmmmm
so just think of it like that
You can make apps to learn objc but 
the code is "appending" the content of somthing onto the top of the file
@twilit jungle thats how i learned how to make tweaks though
i never learned objc prior to going in
i just installed theos and went brrrrr
no mac :/
You can make apps without a mac
would that work
You can make apps with theos
^
oh
It'll force you to use ObjC more as well too ;)
you dont need to create the definition for it, the .h only includes the definition
not the implementation
āThe custom class that implements an app extensionās primary view or functionality.ā
Its either learn obj-c prior to tweaks or keep asking questions for next few months like fiore
^^
i like the latter

Or donāt learn objective c at all
what about now
uh i dont wanna be thy guy

but i wont learn this way
tru
so like what im doing wrong in this part
pull up docs
btw YYLabel according to this thing i found online has UIView as the parentview

there is 0 lines of code there that is correct... well I guess 2 if you are going for the interface part only or 4 if you are going for just code.
so im using the wrong class?
yay
And also when you are setting text, it would likely be nsstring. All objects in objective inherit from nsobject. Nsstring is a nsobject it self.
But nsobject is not a nsstring
but discord doesnt use nsstring
@ripe pike so if you look at this,
@interface GameIcon : UIView
-(void)setWins:(int)arg1 ;
@end
and my hook is like ```OBJC
%hook GameIcon
-(void)setWins:(int)arg1 {
}
%end
i didnt actually provide any code in the `@interface` so in your `%hook` that's where you would put your custom code
Example: ```OBJC
%hook GameIcon
-(void)setWins:(int)arg1 {
%orig(69420);
}
%end
Change nsobject super class to UIView. change NSobject parameter to nsstring *. Change new text to be nsstring object
@ripe pike also in this case, i dont think you even need to @interface YLabel 
this better?
capt's fault
maybe
but UIView is not even colored
bozo
why did i need to @interface YYlabel if it isn't even being used
idk you wanted to make it
i thought that was the only way to hook to discord text?
ok, UIView is apples like second most generic class, besides NSObject, so it has a lot of things
Ngl idk if people are going to help you, you need to learn objc and uikit. You have inadequate knowledge of both. You have to learn, all these questions will be answered if you go learn before hopping into what you are doing
you dont need an interface just for basic hooks
i will, until he asks something i dont know the answer to

Itās more helpful to learn ngl helps him out in the long run
Whereās the 24 days guide
why does my discord keep like freezing for a second when i do code markdown or make an emojiu
uroboro was nice enough to make a guide
^
how do i learn uikit before learning objc
This project was created with the intention of preservation
yay
not how that works
ill try that
already my inspiration
š¤

that is the #1 WORST line of 2022
and 2023
thats how bad it was
never EVER say that again
i've been faking since 2017, i can continue and one day hopefully we'll get there
you do not get inspired from me
you laugh at me
and get inspired to NOT be like me
No
Thats in the wrong tense

im faking it until i making it
@indigo peak what
Lmao
who tf is newtext and why is it trying to break my code
hearse's fault
you are giving it two names
š¦

user error
ok so lets continue
im jk dw
what did you mean by that
now that is a user error moment
Everything is user error
This is an hour long, itās just basic objc no uikit involved. If you really donāt want to learn it correctly, you can watch this in your free time I guess https://youtu.be/5esQqZIJ83g
Get the Code Here : http://goo.gl/aNeg5E
Best Objective C Book : http://amzn.to/1GjLx6N
Support me on Patreon : https://www.patreon.com/derekbanas
C Intro 1:40
For Loop 2:37
Main Attributes 3:18
Compiling 4:52
Include 6:06
Data Types 6:17
Scanf / User Input 7:22
Data Type Precision 9:05
If Else Statement 12:07
Comparison Operators 13:02
Logica...
ok ik this part is wrong but how fix
thats very helpful thx
Remove object
saving it for later
%orig(text);
ah
Look at what I just wrote
where

@ripe pike
variable definitions work like this
DataType variableName = whatever;
DataType: can sometimes have a * after it, like NSString*, other times it wont, like int
you can use that logic now
NSString *newText = whatever;
top part is literally cs
bottom part is a headache
Itās the same thing , itās a declaration of a variable
That happens to have a * to indicate itās a pointer
why does it need a *
Thats not really what the * means...
read the error, word by word, use of undeclared identifier now i know these 4 words might be confusing but its not, trust me
youre just calling a variable that hasnt actually been created
i fixed it
I know it means that itās a object
and then this happened
what it really means: its a special class so you want to give it a star to let it know its doing a good job
read the error again, you have a var called nsstring which i do not recommend you name it that, but whatever
youre not calling the var at all
lol wasn't meant towards you
so you created it

it exists

so i just remove the nsstring part?
but the code doesnt see a place it gets used
yes
Backspace
No
Alt f4
okay, so in %orig(); put nsstring, text is the variable that is being called by the app, so in actuality, that code block does absolutely nothing
You want to call the original implementation with the new variable
Also I would pick a new name for that string
thereās docs
the rest i remember
echo "export THEOS_DEVICE_IP=192.168.1.69" >> ~/.profile
Also we have the iPhone dev wiki
replace 192.168.1.69 with whatever your device ip is
it didnt change anything insideof discord
š¦
when i tried doing something
A recommendation btw, start with something other than discord
^^
You picked the hardest app
but its such a simple hook š¦
Start with a objective c app
okay
or even better
i had such a great name for the discord tweak though
what is it

I'll get it back to it whenever I learn how to tweak discord
HAH
Or hereās an idea. that is going to help you 1000 times more and you will learn way better, make a app
no one knows how
through theos?
Theos has an app template
yes
Yes
like, without ui????
Add a button to it, change the background with the button
coding each part of the app without dragging?
i made calculator history without a UI
oh my god
I'll try to make the app
later though hehe
i need to do something with imsg first
That is what you will be doing when making tweaks..
iClap
oh my god
writing line by line
how long
and building the package each time
did it take
does it update the app every time you compile?
wasnt even a full day too
or do you need to manually reinstall
well it tweaks the calculator app
oh
I am on package 1300 making sure my clipboard manager is fast
so it only installed the tweak
but what about the theos app engine
theos app engine
What is the theos app engine
yes
make package install?
theos app builder
Make clean do
and it automatically installs to the device?
yes
greap
make clean do -j8
@hardy glenwhen are you going to apply for dev role
Never
I am not a dev
makes it immune to log4j
I am a scrub
what.
i compile 1,205 debs
for gameseagull
on my phone
not even on wsl
on device
and only 119 on wsl

typing with the phone keyboard?
on NANO???/
youre a psychopath
oh
i did this for like a 10 line simple tweak
nano
did it involve the status bar by any chance
nano is a nono
no
oh
no
Canāt respect mfers that use nano
nano > vim
This is what meth does to a mfer
ok i'll admit, I might have been heavily bashed in 2020 for trying to write in nano
neovim master race
at least daddy got vs code now
I make my themes in nano.
kys
^
isnt it $THEOS
%
not %
I will give a good app/tweak projects
Make app, set background color, add button, on button press change background color
Then make uitextview, make uilabel, change label to contents of uitextview
ty will do that
i set the alias for nicotine so i dont get confused
Keep experimenting with uikit, it will be really useful for iOS dev/tweak dev as well
If you really care for it
i really care
Okay great then you will be getting better, just be open to learn
I've used vim with an iOS keyboard
that sounds like pain
also
where are the compiled tweaks stored
in case i wanna share the deb
and potentially tkoen log a mod
didnt work sadly
neovim masterrace
in the makefile? or the make command
make clean package FINALPACKAGE=1
ty
good (morning,afternoon,night) mr uroboro
theos does work on GCP's console/terminal
yes
hi
@indigo peak
%hook UILabel
- (void)setText:(NSString *)text {
NSString *newText = [text.uppercaseString stringByReplacingOccurrencesOfString:@" " withString:@"š"];
%orig(newText);
}
%end
``` ok so UILabel changes only the contact text, I tried to use UITitle but then nothing got changed
amazing
what does imessage use for the bubbles
yes
you are already a tweak dev
a while ago I pondered if I could make a project on GCP that would setup an apt repo and a web ide so that one could write tweaks and publish them straight from the cloud
when does the role come
i think you got a way to go
%hook UILabel
- (void)setText:(NSString *)text {
%orig([text.uppercaseString stringByReplacingOccurrencesOfString:@" " withString:@"š"]);
}
%end
clearly it's all about using less lines /s
you should try out FLEX
the less lines you type, the closer you are to becoming a tweak dev
that made the code compile by a few nanoseconds faster
when did you get demoted
i resigned like 3 weeks ago because i wasnt active
As long as you keep it <= 80 cols *
a genius move no pun intended
to prove that you resigned, tell me which class imessage uses for the bubbles, just for human verification
use FLEX
120 pls, some method names are way too long
but i want to learn objc
flex is š¦
i have and i will tell you
True. Forgot this was ObjC 
i'm talking about the FLEX that's like inspect element for ios
libflex
[[flexall]]
flex is such a weird name
Load FLEX loader dynamically.
^
[[Flex (no, the other one)]]
is that better?
dgh0st is here helping us
flex is a must to know how to use if you are going to be making tweaks
helps tremendously
why is my iphone 6 asking for face id
thank you
gotta use the back camera, duh
you should follow the objc tutorial in pins
it's much easier to start off making an app
^
even if you want to make a tweak
uroboro was nice enough to provide us with an amazing guide
learn to make tweaks via objc via uikit via making an app
this has become a meme, right?
yes

officially this is a meme as of the moment
i'M jUsT hOsTiNg It
you would not hook uiview
uroboro was kind enough to create a guide
that is why you need to learn UIKit
ok fine you win
you would probably want to hook the viewcontroller
i'll learn first
the right one is this
and ask questions alter
yes
viewcontroller is caps sensitive?
Yes
ViewController?
you need to learn the MVC/mvvc paradigms first. You would usually want to hook the controller
yes
c is case sensitive
UIViewController
This project was created with the intention of preservation
that is what you need
not work
ill follow that
will see you after 24 days
will that help me create the app
yes
isnt it like the only option i have 
swift isnt compiling for me
i swear i tried
what's the state of using swift to make tweaks i havent actually been involved in jb dev in like 2 years
maybe i'll fix that when i buy a mac
orion is very nice
orion
because it gave me hope
swift != orion
its better to learn objective c to learn tweak dev as of today
ok im killing myself
bye bye
you guys scare me
Julia is actually usable for tweak dev
psycopaths
when is theos getting support for csharp
whitespace and brainfuck can be saved to a single file
my proof
is that assembly
yes
kill me rn
focus on creating an app for right now instead of tweaks. after you get done with your adventure with application development, you could try to follow this since you are really lost rn https://www.youtube.com/watch?v=uNXd4KLLjhk
Theos Installation Wiki: https://github.com/theos/theos/wiki/Installation
ā
GitHub: https://github.com/ZaneH/Tweak-Series
Twitter: https://twitter.com/ZaneHelton
tysm
try to understand the ideas he presents
i cant wait for ios 15 jb to start making actual good stuff
it will make more sense if you have an actual knowledge of both objetive c and uikit
so that is why i said to experiment with app dev first
you and fiore are the only people to actually link resources instead of telling me to go learn
go learn about resources /s
thanks
the channel pins do have resources
pin me in ur bed
also all of this can be found easily by looking at the pins like uroboro said or just looking up on google. which is a required skill to be a programmer
I'll pass
pls
me waiting for brainfuck tweaks be like
does c# support llvm
i think there are a few backends but nothing fully fledged
not gonna lie, that's like 1000000% better than objc
you did?
š¦
it gives headache
/tag tweakdev
man where did it go
@glacial matrixwhen are you planning on adding dark mode
to what?
the 24 guide
why
I didn't make it
oh
i dont understand how to start the guide

what am i supposed to compile
ok nvm
found it
I got Syslog Commandline (BigBoss repo) and when I do syslogon in the command line it says "bad CPU type in executable"
installing something from 2013 probably isnāt your best idea
maybe read the last updated before installing something
oh...
wdym i installed gta 5 and it ran fine
.
lollll
uhhh good question
im going to die of old age before finishing this course
how many activities are you supposed to do in one day, i dont understand where the 24 days goal comes from
@hardy glen question
for the ViewController.swift file, and struct fiore, in the info.plist would i just put the NSExtensionPrincipalClass to be fiore
You would put the implementation or the view controller class
The custom class that implements an app extensionās primary view or functionality.
^ is in apples words
as many as you feel
ok im done with the introduction for today
So that is where we have a problem 
learn obj-c in 24 hours 
even on the one from xcode you sent me
Thatās swift/swiftUI project btw
what is a die
i have no idea what this means
swift means nothing to me
it was a swift ui app
legit none of this makes sense
Which inherits from nsobject
[[NSDildo alloc] initWithColor:[UIColor blackColor]];
NSDildo *blackDildo = [[NSDildo alloc] init];
is it like an unspoken rule
for programming
ok cool
just like functions
cockDick
and capitals
@indigo peak This key, if used, must be placed as an immediate child of the NSExtension key.
make it an immediate child
i feel like im entering hell
Yes
UI: User Interface
NS: NextStep
what does ns stand for
oh
nvm
steve jobs got fired????
nextstep made objc didnt they
bro honestly fuck steve jobs, could have created csharp and chose to create obj isntead
didn't Apple buy NS and then he became CEO again?
@hardy glen if i make it a class, should i just make the string fiore
send project in dm
if only there was a network of computers that contains information about people and is easily accessible
profiting off dead people
uhh
you too much assembly
I would not go near asm
im trying to finish the introduction
and im already having a hard time concentrating
im reading one line each 10 minutes

do you really want me to slow down
Slow down to Capt level of one word per minute
ok that was funny ill give you that
im starting to feel bad for the compiler for having to translate objc to assembly which turns to binary š¦
That is your reading speed not typing speed you slow ass motherfucker
i would have killed myself if i was a compiler
probably
oh my god stop
this is like asking who created god
we dont know
the compiler just created itself
please end my suffering
that poor soul
a literal HUMAN had to compile a compiler
i dont know if theres anything worse than that
i would know
i have 3 of them
not whitenames
dogs
woof
nono
dogs
ayo

ight thats it
im making tools4u
are you talking about initial orders or
Please punch my hole

wtf
i'm not using weird characters but retyping the name worked 
Iād say so
Wdym

The joke was that the person who responded was my very good friend and the sole developer of DiscordSecureToken anamy also known as elihwyma.
Ah okay
who are u 
deez
What title shall we address you with
A title is one or more words used before or after a person's name, in certain contexts. It may signify either generation, an official position, or a professional or academic qualification. In some languages, titles may be inserted between the first and last name (for example, Graf in German, Cardinal in Catholic usage (Richard Cardinal Cushing) ...
If you do not reply in 5 minutes, you will be formally addressed as āprincess deezā
omg please
https://twitter.com/TrevorSpiniolas/status/1477185285784051712?s=20
found this exact bug back in 2020 lol
Four months ago I discovered and reported a serious denial of service bug in iOS that still remains in the latest release. It persists through reboots and can trigger after restores under certain conditions. https://t.co/SAFbqyZdxY
158
Unpatched HomeKit vulnerability dubbed doorLock can be exploited to launch DoS attacks against iOS devices.
Lmao wtf is Apple doing
I still have crash reports from that bug in 2020 on 14.1
princess deez nuts
no donāt, I was about to send you a funny deb š¦
Please do
@lime pivot i think i need to give up working on the widgets
0 bytes
I made a better one
12 kb

donāt be so negative
Bobashare
Donāt know what you are talking about, just look at the code
Probably the file name

I saw it
What does it say
Sir you have too much time on your hands

char****************************************************************** message;

Sir you have too much time in your hands
3 year long troll
3 year so far*
@hardy glen š
Finally a orange name 
While compiling I get this error
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Users/nullify/theos/sdks/iPhoneOS14.4.sdk/usr/lib/libobjc.tbd' for architecture arm64
ld means its a linker error
I see
Your toolchain is too old
how to upgrade
are you on macos?
yeah
that'll upgrade xcode CL tools?
You need full Xcode not just command line tools
yea i said latest xcode
okay why delete CLT tough
get latest xcode
thats gonna be a little heavy to install, would it be better if I manually installed the toolchain the ubuntuway
@hardy glen dev role is orange 
Ik i just asked my sister if i was tripping
what color does it look like
green
its better to get latest xcode since it comes with the latest toolchain but iirc it is possible to get the toolchain seperately and specify the path to it. i heard @grim sparrow talking about it once.
mhm
it is best to just use Xcode
if you're using a mac just download Xcode
11
So that you can compile for arm64 and arm64e
ahh
i used to use color blind filters in all fps games cause they were better than the defaults
I like my old school xcode
you can have both
if you need to compile tweaks thats the best version
xip is gay
does macOS have that stock?
yes
because iām mostly using stock components
itās in accessibility
love that word
does it open?
huh
I just fiddled the plist
get latest xcode from link you can find online. Then you can change the current toolchain being used
why donāt you strip everything from it if you donāt need the app
that shit is so ass
I do use the app sometimes
turns red into pink
@hardy glen what kind of colorblind are you
red green
Xcode 11 is like
yeah i realIzed that
the most stable out of 11 12 13
orange is pink too
I did read up about it, okay will do that
and genius is a worse geeen
but yeah
huh
and designer is bright pink
Xcode 11 is very stable
it looks so bad though
almost screenshot this and forgot only i can see it
but its stable
A mix between that two
I like how I can have all 3 open at once

Why I need 3:
Xcode 11: Compiling tweaks
Xcode 12: For when 13 shits itself and for compiling older projects I haven't updated for new SDK
Xcode 13: General use, is what I compile newer stuff with
11 and 12 are mostly stripped tbf
they're like 4gb on disk each
Do you think I should attempt to use SwiftUI 1 for something 
no
because its just not worth it
I've nearly finished writing my NEA code for my electronics
nfr
We have to use some random assembler language
because of politics
and its missing so many key instructions
SwiftUI 2 sucks ass ngl
but itās pretty solid if you never use 3
I hate Big Sur so much
Theres no divide or multiply instructions and you can't manipulate numbers much so you have to do weird shit

what language is it
its complicated
Nope
Basically
We used to just use BASIC
but the chips to use that are £50 each
so schools were like
no thank you
so the exam board said we can use older ones
so they made a fucking language
but its so shit
and we have to use it
I have nearly 200 lines of it just to read a voltage and then compare it against a value
my gpa went from 2 point something to 3.7
make a compiler in python 
what

its so
fucking
stupid
it takes your assembler code
and then converts that to the actual language of the chip
which is a modified subset of BASIC
and I know you might be thinking, why don't we just write it in BASIC
the exam board say we have to use assembler
so our assembly code is literally just translated to a temp file into basic and then that file is compiled

sounds gross
it really is
fun fact though
you can just write single lines in BASIC
which I have to do to write serial data
but that code can't be marked
so as far as the exam board is concerned it doesn't exist in my code
sounds painful, the furthest thing i have ever done in that area is write a chip8 interpreter because of shep
I went into it already knowing some stuff about assembly stuff which is why my project is slightly more complicated than some other peoples, but theres so many new things you need to figure out because of how lacking the system is
so when compiling I get this error now
archs: [ armv7, armv7s, arm64, arm64e, i386, x86_64 ]
^~~~~~
file '/var/root/theos/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
what did you download
anamy, I ended up just using my ios device so got theos setup on there
Ohh my I installed iOS Toolchain by coolstar, last updated 2013 lol
z
u0 on 14.2
cringe
L
do you have a mac?
I do
then why not just do it on there
but shouldn't it work on ios tough
yeah but I have no idea what stuff to use on elu
because its mostly old and outdated
actually
I think you can
just only an old version
I think it might be 2
looks pretty modern to me
for macOS its very up to date
follow ios installation if you want to use iOS
those instructions haven't changed really
afaik the only change that had to be made to the mac is zprofile instead of profile
appearance wise looks modern, yet instructions are š©
the instructions make total sense
I got it to work tough


