#development

1 messages · Page 376 of 1

gaunt mesa
#

yeah but where

#

do i just delete cache?

#

ARE U KIDDING ME

#

MACOS JUST RESET MY DOCK

gentle grove
tepid olive
#

lmao

gaunt mesa
#

my god macOS

gentle grove
#

Maacos dumv

#

It's being dumb

gaunt mesa
#

ooh ptb got the new icon

burnt niche
#

@gentle grove i can't find the discord canary settings.json its not in the directory and i searched it on mac

#

is it in library app support for you ?

gentle grove
#

I think so

#

I don't remember what I did on my Mac

burnt niche
#

there is nothing named discord in my library

gaunt mesa
#

~/Library/Application Support/discord

burnt niche
#

yea its not there

gentle grove
#

discordcanary for canary

gaunt mesa
#

discord-ptb

burnt niche
gaunt mesa
#

are u in /Library or ~/Library

grim sparrow
#

lol

tepid olive
#

he is in / lol

burnt niche
#

aw fawhk

gaunt mesa
#

also please turn off wallpaper tinting smhfast

grim sparrow
#

L

tepid olive
#

just run
``òpen $HOME/Library```

grim sparrow
#

Bruh

#

cmd shift g ~/Library

tepid olive
#

true

tepid olive
#

it's hidden by default

#

iirc

burnt niche
#

i have hidden folders off with a command in terminal

#

to show all folders

tepid olive
#

ok

burnt niche
#

thank you

#

ill try to turn off wallpaper tinting reynay

grim sparrow
#

reynay

surreal mountain
#

gm

grim sparrow
#

gm @surreal mountain

#

Waiting for Flight Sim to load be like

gaunt mesa
#

reynay true

#

why is macOS full of system junk

burnt niche
gaunt mesa
#

why do people use dark mode 24/7

burnt niche
#

its honestly better for me

#

i hate looking at white

gaunt mesa
#

it just ends up hurting my eyes during the day

#

and light mode hurts my eyes in the night

burnt niche
#

dark mode is better for me all the time honestly

gaunt mesa
#

i hate it when apps like discord don't support system mode switching

grim sparrow
restive ether
grim sparrow
#

Your Mac has more panic attacks than me

gaunt mesa
#

book a genius bar appointment

grim sparrow
#

it really is

gaunt mesa
#

lol

grim sparrow
#

Capt I'll take it for you

#

I'll come over and do it for you

restive ether
#

just mail it to me bro

gaunt mesa
#

DID MY DOCK JUST RESET AGAIN

#

omg macOS

#

omg

grim sparrow
#

lol

burnt niche
#
@property (nonatomic, retain) UIMenuItem *quikPaste;
%property (nonatomic, retain) UIMenuItem *quikPaste;

self.quikPaste = [[UIMenuItem alloc] initWithTitle:@"QUIK" action:@selector(pasteIt)];
    [%c(UIMenuController) sharedMenuController].menuItems = [NSArray arrayWithObject:self.quikPaste];``` why is this not adding an item in the uicalloutbar![woeis](https://cdn.discordapp.com/emojis/696454260212105267.webp?size=128 "woeis")
gaunt mesa
#

disable SIP

lethal kayak
#

cant you just hold a key to enable verbose

#

lol

#

real mac hardware or hackintosh

#

hm

burnt niche
#

or use opencoretroll

lethal kayak
#

is it not in the m1 boot options

grim sparrow
#

L

#

That's a fat L

meager ether
#

3

lethal kayak
#

a debian binary?

burnt niche
#

nvm

lethal kayak
#

you mean just a linux binary?

burnt niche
#

i got it

lethal kayak
#

just put it into a disassembler

burnt niche
#

no thats not what i mean

lethal kayak
#

wdym then

burnt niche
#

debian binary

lethal kayak
#

what is a debian binary

burnt niche
#

binary file of a deb package?

lethal kayak
#

that's just a regular linux binary

#

i thought you were talking about a deb file

burnt niche
#

nah

meager ether
#

nvm

tepid olive
lethal ice
#

add the arch into the tbd

#

@grave sparrow

#

edit the file u will see

burnt niche
#

@twilit jungle sorry for the ping but normally to add a custom uimenuitem, you do this UIMenuItem* item = [[UIMenuItem alloc] initWithTitle:@"fasfas" action:@selector(action)]; [[UIMenuController sharedMenuController] setMenuItems:@[item]]; i wanted to add a uimenuitem as a system item. heres what i did. ```UIMenuItem *quikPaste = [[UIMenuItem alloc] initWithTitle:@"QUIK" action:@selector(pasteIt)];

UIMenuController *menu = [%c(UIMenuController) sharedMenuController];

NSMutableArray *items = [menu.menuItems mutableCopy];

[items addObject: quikPaste];

menu.menuItems = items;

NSLog(@"NSLogify c %@",menu.menuItems);``` the nslog statement shows that in the UIMenuController menuItems. My object was added along with the rest of the system UIMenuItems but the problem is that it is not appearing on the screen
#

and the reason i used made the nsmutablearray is because menuItems is an array so i could not add a object to it

primal perch
#

@burnt niche call update on it

glacial matrix
#

Is ActionMenu dead?

#

(Was that the name?)

primal perch
tepid olive
#

hey guys, sorry to disturb

#

im looking for a reverse engineer

restive ether
#
2021-01-15 16:11:16.494943-0500 SwiftApp[11078:1097536] MSFindSymbol: NULL image specified. The fuck did you pass to me? You should be ashamed of yourself.
2021-01-15 16:11:16.495203-0500 SwiftApp[11078:1097536] MSFindSymbol: I'm going to do this to preserve compatibility with Substrate, but go fuck yourself.
2021-01-15 16:11:16.495289-0500 SwiftApp[11078:1097536] MSFindSymbol: Also btw. Stop using this Substrate compatibility shim while you fix your crap
stuck bloom
#

is it that deep

#

yeah

#

It just doesnt seem like anything to get wound up about

#

Where is it from

#

I mean it just doesn't seem like a big deal

#

It's not gonna hurt anyone's feelings surely

restive ether
#

think it just did troll

stuck bloom
#

I feel like you are deeping it too much

restive ether
#

ask the star

stuck bloom
#

wasting too much of your time

twilit jungle
nimble parcel
#

I just committed a change to the Orion branch of Theos which fixes that

gaunt mesa
#

wait u didn't write this?

twilit jungle
gaunt mesa
#

so saurik wrote that?

twilit jungle
gaunt mesa
#

then who wrote that

nimble parcel
twilit jungle
gaunt mesa
#

ofc they did

#

L

marble tiger
#

@nimble parcel should all the theos tbds (lib, sdks) switch to that?

nimble parcel
#

we need to overhaul lib anyway

#

sdks is fine because that's auto-generated so it should be right

gaunt mesa
#

kabir smh im waiting patiently in voice woeis

marble tiger
nimble parcel
nimble parcel
gaunt mesa
#

woe

nimble parcel
#

but it should be changed to use xcrun tapi

marble tiger
#

It generates ios

#

tapi

#

Why does that sound familiar

nimble parcel
marble tiger
#

Mm

nimble parcel
#

ah I see

marble tiger
#

Oh, right. tapi is in the headers of tbd files

nimble parcel
#

TAPI v1/v2 seem to use ios

gaunt mesa
#

libtapi

stuck bloom
#

Do you think you could buy a mac of any sorts for £500?

#

dont care about specs really at all

gaunt mesa
#

probably a really old one

restive ether
#

easily

#

just not anything in the last 4 years

burnt niche
#

Let me try that

#

Call update on the uimenucontroller?

stuck bloom
#

its not that overpriced in terms of the used mac market

#

i saw an i7 16gb for £380

burnt niche
#

@primal perch ```objc
%hook UICalloutBar
-(void)updateAvailableButtons{
%orig;

UIMenuItem *quikPaste = [[UIMenuItem alloc] initWithTitle:@"QUIK" action:@selector(pasteIt)];


UIMenuController *menu = [%c(UIMenuController) sharedMenuController];

NSMutableArray *items = [menu.menuItems mutableCopy];
[items addObject: quikPaste];


menu.menuItems = items;

[menu update];

NSLog(@"NSLogify menuitems: %@",menu.menuItems);
NSLog(@"NSLogify updateAvailableButtons called");

%end

}``` this does not do anything :/

#

i can see the menuitem added to the array in UIMenuController but does not show up when toggling the UICalloutBar

#

even after calling the update method

glacial matrix
#

Why mention me?

burnt niche
#

my bad , i thought you had told me to do something when i saw shep mention me

glacial matrix
#

Just asked about ActionMenu

burnt niche
#

sorry about that, and yea actionmenu is not deprecated, you can use it to add uimenuitem actions in your app

primal perch
#

based on the method naming scheme and that UICalloutBar is a private class (likely created by UIMenuController), my guess is you're adding the menu item too late

#

updateAvailableButtons is probably called after menuItems has been queried and it updates whatever is there

half walrus
#

what is steam mobile auth

#

the in-app auth has timeouts

#

but the notification code doesn't expire

primal perch
#

might be better to do here instead

%hook UIMenuController
-(id)init {
    self = %orig;

    UIMenuItem *quikPaste = [[UIMenuItem alloc] initWithTitle:@"QUIK" action:@selector(pasteIt)];
    self.menuItems = @[customItem];

    return self;
}
%end```
#

@burnt niche

#

dont actually know anything about it but if that doesnt work mix up the place you add it bc i assume you want it universally

tepid olive
#

Hello

stuck bloom
#

hi

primal perch
#

bruv orig is a pointer to a function pointer

twilit jungle
primal perch
#

mshookfunction fills it in with the orig

primal perch
#

gm

twilit jungle
primal perch
#

true lmao

#
%hookf(CFStringRef, SBSCopyLocalizedApplicationNameForDisplayIdentifier, CFStringRef identifier)
{
    if ([(__bridge NSString *)identifier isEqual:@"com.apple.stocks"]) {
        return (__bridge CFStringRef)@"Stonks";
    }

    return %orig; // oh wait cant use %orig anymore sorry guys
}```
cloud sundial
#

Hookf doesn't support %orig?

primal perch
#

it does but capt inc was saying it wasnt useful

cloud sundial
#

Oh lol

tepid olive
#

Just got a $14 burger with my uber eats $20 off

#

feels food

primal perch
#

nice

lethal kayak
#

me when hookf _reboot3

#

I believe that was u0’s solution to the overnight userspace shit

primal perch
cloud sundial
#

Fr?

primal perch
#

big lmao

lethal kayak
#

at one point it was

#

idk if it still is

#

might be a substrate thing now

primal perch
#

idk why it was hard like just backtrace it and find why the system wants to reboot

#

springboardservices its good

restive ether
#

the account

stuck bloom
#

You seem really warm and welcoming. jesus christ

#

You're so anal

eternal crater
#

You are what you eat

stuck bloom
#

Yeah but you could be a bit more polite

primal perch
#

i guess im cum

eternal crater
#

But seriously he’s right

stuck bloom
#

Yeah but for someone who represents the server. They should be a little nicer

#

answer question and remind them in future the question is asked not in here

primal perch
eternal crater
stuck bloom
#

They way this is worded. Just sounds so condescending

primal perch
#

text based communication is difficult because there is no tone or body expression

stuck bloom
#

yeah i guess

pearl sail
#

@grave sparrow YOU BETTER REPRESENT THIS SERVER IN A NICE MANNER OTHERWISE I WILL COMPLAIN TO THE MANAGER OF THIS SERVER!!!!!

tepid olive
#

@grave sparrow YOU BETTER REPRESENT THIS SERVER IN A NICE MANNER OTHERWISE I WILL COMPLAIN TO THE MANAGER OF THIS SERVER!!!!!

#

yeah it didn't ping when I copy pasted

#

so I fixed it

burnt niche
#

Even though i am not able to complete pastebin shortcut at the moment because of incapabilities. I went back to my old project and did something i couldnt doVerySad

tepid olive
#

do i get a dev account or is it a waste of money

pearl sail
#

Never saw the point of it unless you are utilizing multiple IPAs and not near a PC or Mac

burnt niche
#

Finally figured a way to get touches registered on reachability with sbsecurewindowfr

twilit jungle
#

Bruh

burnt niche
#

No cap

twilit jungle
burnt niche
#

Why that face uhh

twilit jungle
#

We need more windows in SpringBoard

burnt niche
#

Hell nah

tepid olive
#

apple music api, app store probably, idk

twilit jungle
#

Yeah SpringBoard needs some light, its too dark

burnt niche
#

I had to make use of the pointinside function. And basically i checked if the cgpoint existed inside the frame of a uiview

#

The easiest shit i ve ever figured out in 5 seconds

#

The funny thing is i couldnt figure this out for a week back when i didnt follow advice

#

Hope i can get this project finished so i can move on to pastebin shortcut which i think would be cool

#

You told me that you didnt know anything when u started and that inspired me to fuck up the same way you didfr

nocturne yacht
#

when

burnt niche
#

I think theres only 2 reachability tweaks that can register touches

#

Need nitro😔

nocturne yacht
#

overrated

burnt niche
#

What i need to learn is how to set frames of things.

#

I can’t just give it predefined values. I need to have it so every phone can optimize.

#

Damn i might try that. I have to get familiar with it because i feel like its an important concept to understand when doing ui elements

lethal kayak
#

same

burnt niche
#

Yea true... me neither

lethal kayak
#

hence why I have a hard time finding tweak ideas

#

because most are UI related

burnt niche
#

But damn you can do some cool shit with ui

#

You can cool shit without ui too

#

I am just starting with ui

#

It doesnt?

lethal kayak
#

I mean technically you could still ssh ramdisk but you just wouldn’t be able to interface with the encrypted part at all

nocturne yacht
#

so /var?

lethal kayak
#

hm

nocturne yacht
#

fixing system if you done shit with

lethal kayak
#

unencrypted binaries

burnt niche
#

Tf is that

lethal kayak
#

idk where it’s located

#

so

burnt niche
late ridge
#

I love that name

burnt niche
#

Oh damn.

lethal kayak
#

my guess is you could run it but it may/may not work

#

because of the sep

burnt niche
#

Couldn’t it have chances of bootlooping?

#

If it did run

lethal kayak
#

if it did it wouldn’t matter

burnt niche
#

So you just logged in root and ran the binary?

lethal kayak
#

im not sure if mobile_obliterator interfaces with the SEP at all

burnt niche
#

I wish my test device was on ios 13.5

#

Its on 14.2

lethal kayak
#

ik you have to enter your passcode but idk if that’s mobile_obliterator itself or not

tepid olive
#

gosh i hate this

#

downgraded to 11.1

#

but safari still wants me to be on 11.2

#

so i can’t use that

burnt niche
#

Chrome

tepid olive
#

and i can’t reinstall safari

lethal kayak
#

11.1

tepid olive
lethal kayak
#

Do you hate yourself or something

burnt niche
#

Make a tweak to bypass that @tepid olive

tepid olive
#

so i have to clean install 11.1 on it

tepid olive
burnt niche
#

Oh i thought it was ios

tepid olive
#

i’m not gonna spend hours figuring out dyld injection when i can install big sur clean in half an hour

#

just shitty

#

tbh

#

this is my problem

burnt niche
#

Theres a software that lets you make tweaks

#

For mac

tepid olive
#

ok?

burnt niche
#

And inject

tepid olive
#

it doesn’t work nicely on big sur

#

and it isn’t a quick learning curve or a permanent solution

burnt niche
#

Yea its not

peak quartz
burnt niche
#

Bruh

#

Hell naw

#

Wtf is that😂😂😂😂

#

i don’t get that shit at all

#

This is more confusing than hooking it self

peak quartz
#

yep

#

i can explain you the calculations with a drawing

burnt niche
#

Is it just trial and error?

#

hell yea

peak quartz
#

but it will fit every screen

#

perfectly

burnt niche
#

That d be perfect if u could explain it sometimes

#

Im gonna out rn but next time i see

peak quartz
#

sure

burnt niche
#

U better give me an explanation pepehands

peak quartz
#

you will and it will be good

#

😛

#

using constraints will be better imo probably

burnt niche
#

Yea i never got used to constraints ever either

peak quartz
#

you have 4, leading, trailing, height and width

#

top, bottom, right and left

#

you cant set constraints as it will force the view to adapt according to the ones you set

tepid olive
#

yea ik

#

i know how

#

it’s just gonna take too long

lime pivot
#

it kinda is? but it’s also very mild

#

🤷‍♀️

#

dumb argument about nothing

twilit jungle
tepid olive
#

can my computer start working

#

i hate how safari cannot be reinstalled

burnt niche
#

Reinstall

tepid olive
#

i did that

#

but i actually have to reinstall fully

#

with a full wipe

gaunt mesa
#

just don't break stuff in the first place

burnt niche
rain falcon
#

@tepid olive

#

mf stop saying the r word lol

grim sparrow
#

Did you try turning it off and on again

surreal mountain
#

true

primal perch
#

did you try xor eax, eax

glacial matrix
#

You can use “they” instead of “(s)he”

primal perch
#

let’s just designate a symbol to mean “an entity”

#

as a society

#

maybe the greek psi one

glacial matrix
#

An English language feature missing in Spanish and French

twilit jungle
#

You mean it?

tepid olive
late ridge
#

what a n00b

glacial matrix
grim sparrow
#

Gender neutral pronouns are poggers

tardy narwhal
#

they’re as redundant as gender itself in nowadays age

tepid olive
#

Hungarian doesn't even have gendered pronouns in the first place fr

late ridge
#

LOL, you are a "you"

grim sparrow
#

Would be pretty Pog if gender just didn’t exist

tardy narwhal
#

it doesn’t if you just ignore it‘s given relevance lmao

primal perch
grim sparrow
#

Meh

tardy narwhal
#

like 2020 was the year of the snowlfakes rising and coming up left and right with new identifiers. While I don’t really care, it’s just clutter and makes an already irrelevant thing even more difficult to perceive if one looks at it

grim sparrow
tardy narwhal
#

Like okay, I’m a pink helicopter. you got it wrong? nice Imma sue you

primal perch
#

F

grim sparrow
#

There’s definitely a line

tardy narwhal
#

no

#

society will accept anything stupid

primal perch
#

not wrong but i dont think twitter is representative of society™️

grim sparrow
#

The internet yes, not in person

tardy narwhal
#

Meh if irl people make a deal out of their identification or yap too much they have other issues to deal with

grim sparrow
twilit jungle
#

wtf what you got against pink helicopters?

gaunt mesa
#

they are pink

twilit jungle
gaunt mesa
tardy narwhal
lethal ice
#

Good Morning Developers

twilit jungle
#

🚁

primal perch
#

int cornerRadius = 17.5;

surreal mountain
#

can someone run a command for me

primal perch
#

why is this not working guys help me

#

it keeps being 17

surreal mountain
#

sudo /usr/libexec/mobile_obliterator

gaunt mesa
#

cock_obliterator

lethal ice
#

thats what they called me in elementary school

gaunt mesa
primal perch
#

help

lethal ice
#

help

#

i helped

primal perch
#

true

#

i now know what the issue is thanks to that song

#

i need to use python instead

surreal mountain
#

true

lethal ice
surreal mountain
#

maybe BOOL cornerRadius = 17.5; would work instead

tepid olive
#

True

twilit jungle
#

:frbruh_l:

surreal mountain
#

just saw that

primal perch
#

unfortunately its still 17

surreal mountain
#

wtf

lethal ice
#

fmov d0, #17.5

#

problem solved

primal perch
#

Sorry, your input is too big or contains unsafe directives!
The period (.) character must not appear anywhere in your source code.

#

did not work

lethal ice
#

x64

#

imagine

primal perch
tepid olive
#

true

primal perch
#

id watch the scoob anime tho tbh

#

i dont watch it normally but a scoob one

#

with scoob

#

as the main character

twilit jungle
burnt niche
#

Who wants to buy it

#

5.99$

primal perch
#

check your paypal, already sent

twilit jungle
#

check your paypal, already refunded

primal perch
burnt niche
#

😂 no refunds available. You must keep spinning

#

My new tweak is gonna be dope no cap. Im going all out on it and learning as much as possible

primal perch
#

crackers

#

and chees

tardy narwhal
#

corellium dunking on Asahi

primal perch
#

true

surreal mountain
#

someone have a non-simulator 14.0 sdk

#

so fucking sick of this

twilit jungle
surreal mountain
tardy narwhal
#

papa sparku

#

visit his git and be enlightened

primal perch
#

true

gentle grove
#

afsfdfes

safe bramble
#

Does ios 14 have any header that can help me retrieve the password that was inputted from attemptUnlockWithPasscode?

primal perch
#

the first parameter?

safe bramble
#

the id?

primal perch
#

yea

#

thats it

#

apples naming scheme usually makes it pretty clear what the parameters are

#

so look out for that in the future

primal perch
#

why is it so bad

#

to be fair i dont think their goal when making it was for it to be super understandable in binary form

gentle grove
#

help

twilit jungle
#

await Weather framework isn't even bad

primal perch
#

odds are it was user error

twilit jungle
primal perch
#

true

#

when you get hired at apple and slap it in the end of the foundation code base

#

and then nobody notices

#

and reverse engineers find NSCock

#

true

surreal mountain
#

gm

lime pivot
#

we're very spoiled by how organised SpringBoard team are, I guess a lot of that comes from it having been run by the same people for the past 10-15 years

burnt niche
#

Man i need to practice with preferences now, because i have never even added preferences to my projects

surreal mountain
#

true

#

prefs are easy once you do it like

#

twice

lime pivot
#

Weather I'd be surprised if they've even touched that since iPhone OS 2 (other than when they switched it to weather.com in iOS 7)

surreal mountain
#

true

#

i like how easy springboard is

#

too easy tbh

burnt niche
#

Well i have to spend the rest of tomorrow adding pastebin feature on my tweak. Maybe tommorow ill experiment with prefs

#

If i have time

surreal mountain
#

so @lime pivot apparently all of the memory issues i was having with thinkorswim was because of my window manager/tiler/thing

surreal mountain
#

if u dont mind sharing

lime pivot
#

hah, really

burnt niche
#

Its a reachability tweak

lime pivot
#

how do you know that?

surreal mountain
#

is it to upload selected data to pastebin

burnt niche
#

Yessir

surreal mountain
#

cuz someone said that a few days ago

#

i wouldve done that if u didnt

burnt niche
#

That was me

surreal mountain
#

nice nice

surreal mountain
#

i havent had time to test it

#

i dont know why m1 would cause mine to break so bad and not on intel though

#

its just java and chromium

burnt niche
#

If i don’t do it. Ill let you know, you would do a better job than me anyways

surreal mountain
burnt niche
#

I do plan on open sourcing it

surreal mountain
#

nice nice

burnt niche
#

Shouldnt be too hard using the api. Just have to apply my objc knowledge. Or i could just use nstask and make pb-utils a dependfr

surreal mountain
#

if you want, upload what you have to a private gh repo, add me to it and ill do what i can

#

or go for it yourself thats how i learn

#

also; pbutils is MIT so you can just rip the code

#

and put a thing saying i wrote it or whatever

burnt niche
#

I actually researched stuff for the UI today. But ill definitely try to give it a shot first. And yea i could do that as a last resort but i want to try to do it. I love to learn new things. If i did do that, i would definitely put your name there.

surreal mountain
#

sounds good to me

#

if you need any help let me know

#

dm is best

burnt niche
#

Thank you i appreciate itpepehands

twilit carbon
#

sup guys how's everyone

burnt niche
#

[[%c(FBSystemService) sharedInstance] exitAndRelaunch:YES]; is this a good way to respring?

burnt niche
#

Yes sir

burnt niche
#

So moral of the story, use sbreload?

lime pivot
#

not from code

burnt niche
#

So nstask and call sbreload?

lime pivot
#

that would be more effort than copy pasting the code sample 😛

primal perch
lime pivot
#

gm

twilit carbon
burnt niche
#

I am not sure what you mean kirb

#

The code samples are for earlier ios version arent they?

lime pivot
#

the code you need is in the first code block you see there

burnt niche
#

Oh damn really

twilit carbon
#
NSURL *relaunchURL = [NSURL URLWithString:@"prefs:root=MyTweak"]; // use a nil relaunch URL to return to the lock screen
SBSRelaunchAction *restartAction = [SBSRelaunchAction actionWithReason:@"RestartRenderServer" options:SBSRelaunchActionOptionsFadeToBlackTransition targetURL:relaunchURL];
[[FBSSystemService sharedService] sendActions:[NSSet setWithObject:restartAction] withResult:nil];```

he means that i think
lime pivot
#

the second one is the one that's more compatible

burnt niche
#

Damn i have never seen that before

#

Definitely using that then, thanks bro

primal perch
#

note youll need to link the relevant frameworks and define interfaces as necessary

#

so when you get errors thats why

burnt niche
#

yup

lime pivot
#

headers for it are in theos, just need to #import them

#

but yes do link FrontBoardServices to get that to work

#

well

#

you can also just use %c() on the class names

primal perch
#

true but linking at compile time

lime pivot
#

thinking I might make modules out of all the private frameworks on theos/headers at some point tbh

#

then you won't even need patched SDKs

burnt niche
#

#import "SBSRelaunchAction.h". ?

#

btw i have to add @import Foundation; @import UIKit; on top of all projects and skip a line after to make my projects work with theos

lime pivot
#

I know

#

need to fix

burnt niche
#

is that how i would import that sbsrelaunchaction

#

?

twilit carbon
#

you can try it out

#

prolly maybe <> instead of "" though, no?

burnt niche
#

tried

twilit carbon
#

worked?

lime pivot
#

it’s from SpringBoardServices (SBS)

#

#import <SpringBoardServices/SBSRelaunchAction.h>

nimble parcel
#

in the Orion branch

twilit carbon
#

try <SpringBoardServices/

#

oh

nimble parcel
#

also @lime pivot can you test out orion rn?

#

who wants orion super-early beta access btw

lime pivot
#

like now now?

nimble parcel
#

ideally

twilit carbon
#

what is orion

nimble parcel
twilit carbon
#

oh like a

#

oh nice

pearl sail
#

damn sudo on macOS is pretty outdated

twilit carbon
#
@interface SpringBoard (TWEAK)
+(void)aMethod;
@end

How would I ideally call aMethod from another Class?

#

I tried with notifications, but that seems like a far fetched workaround (and also doesn't really work for me)

primal perch
#

[SpringBoard aMethod]

twilit carbon
#

unfortunately no 😦

burnt niche
#

Wotuhh

twilit jungle
twilit carbon
#

or maybe i was stupid w8

primal perch
surreal mountain
burnt niche
#

You would need a shared instance of that class

twilit carbon
#

btw funny how certain words on discord r censored

burnt niche
#

To call that method

surreal mountain
#

no thats just this server

burnt niche
#

O h wait

#

Its a class method

primal perch
#

if its an instance method then just get the sharedApplication from UIApplication

burnt niche
#

Did not see that

twilit carbon
#

I mean I specifically asked ideally because i didnt wanna play with the SpringBoard too much

primal perch
#

idk how the way i posted doesnt work but alright

#

unless ur calling it from some other app

burnt niche
#

[%c(SpringBoard) aMethod]; ?

surreal mountain
#

%c uhh

#

objc_getClass intjcum

burnt niche
#

Idk if im supposed to do that %c

primal perch
#

its the same thing bruv @burnt niche

#

@surreal mountain

surreal mountain
#

they are the samet hing

#

its ok

primal perch
#

true

surreal mountain
#

i just like mine kek

primal perch
#

i thought u were being serious for a sec and i was like

surreal mountain
#

nah

#

#define NotatioLog(fmt, ...) NSLog((@"Notatio: " fmt), ##__VA_ARGS__)

#

best line ever

lime pivot
#

it's not the same, %c() holds onto the Class pointer so it doesn't need to be looked up every time your code hits a %c()

burnt niche
primal perch
#

how they get the class is the same yes

lime pivot
#

yeah, that bit is the same

faint timber
surreal mountain
#

true

#

when

twilit carbon
surreal mountain
primal perch
#
if (!logos_class_some_shit_idk)
    logos_class_some_shit_idk = objc_getClass("cum");``` this is what it does yea
twilit carbon
#

also I had a big break from tweak development (and objc) so I kinda have to get used to it again

surreal mountain
#

logos local ctor

#

springboard

#

i was trying to make my tweak not use springboard\

#

but

twilit carbon
surreal mountain
#

i gave up

burnt niche
#

Did you try what we said?

surreal mountain
#

clu3less letting him know

faint timber
#

Notatio the god project if I actually gave a shit

lime pivot
primal perch
#

SBBBulletin

burnt niche
#

Can you send error ?

lime pivot
#

SpringBoard BulletinBoard Bulletin

faint timber
#

@lime pivot why do you think I abandoned my own tweak project

surreal mountain
#

ScreenshotServicesServiceScreenshotImageProvider

lime pivot
#

should have added NS, UI, CF, CA, and WK for good measure

#

WK, the very unique prefix, as used by both WebKit and WatchKit

faint timber
#

I'm suprised quip is still trying at it

primal perch
#

NSUISSSScreenshotImageProviderDelegate

faint timber
#

apple screenshot infrastructure is dogshit

lime pivot
#

just got to hope WatchKit never has a WebView I guess

twilit carbon
surreal mountain
#

UIImage *_cachedCGImageBackedUneditedImageForUI

#

come on

burnt niche
#

The method is not being called?

surreal mountain
#

this is terrible

twilit jungle
#

ASSScreenshotImageProvider

primal perch
#

arent u just trying to upload it to a server @faint timber

#

each time a ss is taken

surreal mountain
#

well

#

its more complicated cuz its a gesture to trigger it

lime pivot
#

ass is taken

burnt niche
#

Are you sure the method you are calling from is getting called? Can you use nslog and check

faint timber
#

@primal perch gestures and async are the problem

primal perch
#

so what im hearing is user error is the problem and not apples infrastructure

surreal mountain
#

i fixed that

primal perch
surreal mountain
#

its literally rc stage at this poitm

faint timber
#

ngl github tried to copy steam profiles with this new profile shit

twilit carbon
surreal mountain
#

send code

burnt niche
#

^

faint timber
#

the only person to mess with screenshot gestures is any wiik but

#

his code was dogshit

surreal mountain
#

lol

primal perch
surreal mountain
#

@lime pivot u will prob hate the syntax we used on this

burnt niche
#

The screenshot shit has a screenshot window that it uses to capture screenshots i think

#

Doesnt snapper mess with screenshot gestures?

surreal mountain
#

we hook that

lime pivot
surreal mountain
#

LMAO

twilit carbon
#

oh shit

faint timber
#

@lime pivot true

surreal mountain
burnt niche
#

Sss = screenshot shit?

surreal mountain
#

credit

faint timber
#

not sure why people go oss without tidying their code

surreal mountain
#

sss = ScreenshotServicesService

burnt niche
#

Lmfao😂 ik im jk

surreal mountain
#

worst name

faint timber
#

ssmemo is the most confusing viewcontroller shit ever

surreal mountain
burnt niche
#

Damn nice. Honestly wouldn’t want to mess with screenshots. Snapper is perfect. If not one of the most well made tweaks imo

surreal mountain
#

i love it like that though

#

snapper is super nice

faint timber
#

Notatio is sharex for apple devices

surreal mountain
#

snapper is supposed to have notatio support but he hasnt said anything since the new year

surreal mountain
twilit jungle
#

Are you sure its actually ScreenshotServicesService? doesn't sound Apple-y

burnt niche
#

No idea what notatio is .

faint timber
#

remind me when I care

#

tryna make money rn

surreal mountain
#

LMAO

burnt niche
#

What is notatio?

misty cradle
surreal mountain
#

do you know what sharex is

burnt niche
#

No i do not

surreal mountain
#

ok ill just explain it

faint timber
surreal mountain
#

or that

faint timber
#

the tweak me an quip never released

#

I gave up for now

#

might come back later

surreal mountain
#

thats super old

surreal mountain
#

well

#

i would like to fix some stuff but yeh

#

all bugs r basically gone but the plist parsing shit is kinda janky

burnt niche
#

Oh that is hella nice. Does it support all files?

surreal mountain
#

nah its just built into screenshots

#

could add support for someting like that but the uploader would have to support it as well

burnt niche
#

Thats dope asf

faint timber
#

@burnt niche the old shit project

surreal mountain
#

yeah thats the old one

#

cryptic im adding u to new repos

burnt niche
#

You guys could add support for gifs so people could add gifs cuz i know people on reddit like to do that

surreal mountain
#

this is solely built into screenshots there really is nothing else

#

use screenshotactions for that or whatever it is

burnt niche
#

Screenshots is nice enough since people could post on imgur

surreal mountain
#

there is another tweak that can do that im p sure

faint timber
#

inb4 all commits are unsigned

#

imgur is slow as fuck tho lmao

surreal mountain
#

by moving it all to springboar

burnt niche
#

I noticed quip likes to work with apis

faint timber
#

libMRYIPC?

surreal mountain
#

false

surreal mountain
#

@faint timber invited to both

faint timber
#

you need some kinda ipc

#

right?

#

im sayin

surreal mountain
#

nope

burnt niche
#

Alright im gonna sleep. Im definetly going to be looking out for that. And honestly that is a must have in snapper ngl

#

Makes no sense for him not to add support for it

surreal mountain
#

yuh

#

rolex for amdinistraot

#

r]

pearl sail
#

Any viable way to update the sudo that ships natively on macOS?

faint timber
#

@surreal mountain nice butteryfly keys

surreal mountain
pearl sail
#

lol

surreal mountain
#

m1 doesnt have those

#

i dont thik

faint timber
#

ik

surreal mountain
#

those are the shit ones

#

right

faint timber
#

I hate it

surreal mountain
#

the two unsigned commits were froma. mac with butterflies

faint timber
#

thats the laptop I borrow

surreal mountain
#

hence why they r unisgned

#

no gpg

#

alslo i refactored a lot

#

it is suuper clean now

#

cum

#

i wonder if you can tell how much i have improved since we started and since we finished

faint timber
#

@surreal mountain wym doesn't work on mac? what hooker is for mac

#

I like it

#

it is clean

surreal mountain
#

added u to a repo

#

this is just a simple bin that you open when you screenshot

#

i compiled lib for mac

#

might not work for your since i think its just an arm build

#

yeah its just arm

#

also made that

misty cradle
#

gm

#

time to buy more shoes

primal perch
#
static const char *data = "aHR0cHM6Ly9jZG4uZGlzY29yZGFwcC5jb20vZW1vamlzLzc3NDA3MDI4MjgzODA4MTU2Ni5wbmc=";

void xor_eax_eax() 
{
    asm("xor %eax, %eax");
}

int main()
{
    xor_eax_eax();
}
``` the correct way @tardy narwhal
surreal mountain
#

doesnt that mean 0 or something

#

sets eax to 0

#

what does eax do

primal perch
nimble parcel
#

they’re technically equivalent afaik

primal perch
#

c passes in the same thing with taking addresses of functions

#

so you can do either

faint timber
primal perch
#

nah i think you want 0xAA1F03E0

faint timber
#

damn its popcorn eating time on twitter

#

copyright drama yet again

grim sparrow
misty cradle
#

UIAlertView is deprecated, use UIAlertController in a UIViewController and present it there. If you are just starting off with tweaks and have no Objective-C experience, I recommend you learn Objective-C first, through: https://uroboro.github.io/Learn-Objective-C-in-24-Days-Clone/

Then also experiment while learning and when you're done, make a few apps to get familiar with iOS, UIKit and other frameworks.

#

If you're new to coding, then I definitely recommend you don't start with Objective-C. It's a difficult language to start in, if you're a new coder.

#

You could start with like Python or some other language, to get familiar with programming etc

misty cradle
glacial matrix
wicked summit
#

ok so basically wen Orion

nimble parcel
#

@wicked summit what's your gh username

wicked summit
nimble parcel
#

alright I'm giving you access but please remember this is a beta; don't use it in production until 1.0.0 is out

wicked summit
#

❤️

#

will do sir

burnt niche
#

Try to start out with Swift or python. I say swift because it has a lot of beginner tutorials that can help get you started.

#

If you have a mac, swift is a no brainer honestly. Just put in time everyday and stay consistent

#

Definitely python in my opinion

#

Python is really useful as well

tardy narwhal
#

either Python or Java

burnt niche
#

He said java because it has a lot of tutorials and will help him learn oop

twilit carbon
burnt niche
#

Would you care to share what went wrong

twilit carbon
#

A couple of small things actually, shit that happens when you copy paste code from an old project lmao, at the end the main issue was that I was trying to make a window visible in that method, but I was just trying to set the hidden property to false, calling makeKeyAndVisible fixed that

burnt niche
#

Cool . Good job

twilit carbon
#

Are you learning ab tweak development or..?

burnt niche
#

I am doing it at the moment and learning as i go so sure

pearl sail
#

@glacial matrix I have an obsessive need to have them updated

twilit carbon
#

ahh

burnt niche
#

I am making a reachability tweak atm. I am good with tweak development but i need to learn about prefs

twilit carbon
#

Any project in the works?

#

I'm good with prefs ngl

burnt niche
#

Yup i am making a reachability tweak atm

twilit carbon
#

what exactly

#

Like back then OneHandWizard?

burnt niche
#

Not really. Just like a set of useful tools

#

I am making a pastebin tool there to so i might add a pastebin tool to quickly make pastebin links

#

Just with a click of a button

#

Shit like that

twilit carbon
#

U like saying pastebin huh

burnt niche
#

And the reachability background is animated as of rn

#

And i do egg

#

Just have to experiment with prefs to see how i am going to structure everything

twilit carbon
#

i can gift you a tweak of mine, look at the settings and give me some honest feedback

glacial matrix
burnt niche
#

Sure thing

pearl sail
#

I understand that Apple just goes by the stable release. I just like having the lastest that way if I encounter bugs I don't mind reporting or dealing with the issue.

burnt niche
#
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.3.sdk/System/Library/PrivateFrameworks'
ld: framework not found Preferences
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/Users/dopeboy/theos/makefiles/instance/bundle.mk:37: /Users/dopeboy/Desktop/projects/preftest/.theos/obj/debug/arm64/preftest.bundle/preftest] Error 1
make[3]: *** [/Users/dopeboy/theos/makefiles/instance/bundle.mk:37: /Users/dopeboy/Desktop/projects/preftest/.theos/obj/debug/arm64/preftest.bundle/preftest] Error 2
make[3]: *** Waiting for unfinished jobs....
==> Linking bundle preftest (arm64e)…
ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.3.sdk/System/Library/PrivateFrameworks'
ld: framework not found Preferences
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/Users/dopeboy/theos/makefiles/instance/bundle.mk:37: /Users/dopeboy/Desktop/projects/preftest/.theos/obj/debug/arm64e/preftest.bundle/preftest] Error 1
make[3]: *** [/Users/dopeboy/theos/makefiles/instance/bundle.mk:37: /Users/dopeboy/Desktop/projects/preftest/.theos/obj/debug/arm64e/preftest.bundle/preftest] Error 2
make[2]: *** [/Users/dopeboy/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2
make[1]: *** [/Users/dopeboy/theos/makefiles/master/rules.mk:117: preftest.all.bundle.variables] Error 2
make: *** [/Users/dopeboy/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2``` made a new tweak and then cd into that tweak and i creates a modern preference bundle. and added ```PREFIX=$(THEOS)/toolchain/Xcode.xctoolchain/usr/bin/``` into my makefile and i still get this error. First time doing preferences. any clue on what this might be
twilit carbon
#

set the TARGET to 11.0

burnt niche
#

i fixed it

grim sparrow
#

lol

burnt niche
#

TARGET := iphone:clang:13.5:13.0

#

i am probably going to change that to 14.2

twilit carbon
#

Works too ig, i just set mine to 11 lmao

#

I dm'd you btw

glacial matrix
tepid olive
#

Python 2 is EOL

#

but many Linux distros like Debian still include 2.x as python and 3.x as python3

#

at least Debian stable, idk if that's changed since

#

but personally I hope they just eliminate python2 from the default repos and then I can still use pyenv to install it if I really need it for some old software

#

I'm unbanned KEKW

twilit jungle
#

Hi unbanned, I am D uhh

tepid olive
restive ether
#

Deez nuts

tepid olive
grim sparrow
#

L

#

what he do now

#

L

#

fucking idiot

#

he's on 300 points now kek

lethal ice
#

what he say

grim sparrow
#

I saw something about that

twilit jungle
#

What r word?

tepid olive
#

The word for mentally challenged people

#

it actually got added to the filter? nice

#

Idk if it did, I just don't want to risk mute

lethal ice
#

rip

#

it is filtered

#

why

primal perch
surreal mountain
surreal mountain
#

is there a better way to do something to have cross-platform compatibility other than objc #if TARGET_OS_MAC #import <AppKit/AppKit.h> #elif TARGET_OS_IPHONE #import <UIKit/UIKit.h> #endif for each thing that is different

burnt niche
#

Burritoz is muted again wtfuhh

surreal mountain
#

hmmm ok

#

no

#

macos

#

just mac and ios

#

since macos doesnt have UIKit i have to use NSPasteboard

#

nah

#

dumb af but

#

works well enough

#

ah its TARGET_OS_OSX

#

thats dumb lol

#

TARGET_OS_IPHONE is all non-mac apple devices

#

targetconditionals is stupid

#

dont tell me i have to include TargetConditionals.h

burnt niche
#

CaptVerySad @grave sparrow

#

Lmfao

#

Can you teach me how to do prefsfr

surreal mountain
#

frcoal tweak development guide

burnt niche
#

Wait should i use notifications or NSuserdefaults

#

For changed values

surreal mountain
#

^

burnt niche
#

this is my first time ever doing preference shit

#

So i have no idea where to start

surreal mountain
#

NSUserDefaults is a way to get and store preference values

#

Notifications are just cross-process communications ig

burnt niche
#

Okay so if i wanted to change a color of some view and wanted to implement in my preference

#

Thankszoop

#

Yes

surreal mountain
#

use PostNotification key in your Root.plist

burnt niche
#

Alright is there a tutorial on this somewhere?

#

That explain this

#

Alright got it.

#

So userdefault to save the value of a switch cell. And notification to apply changes and do them live

#

Correct?

#

Got it

#

Thanks

#

Okay

surreal mountain
#

is it bad practice to have imports in my method

#

so i dont have to have multiple #if blocks

#

no

#

lol

tepid olive
lethal ice
#

wtf

tardy narwhal
#

the fuck are you doing with that

surreal mountain
#

it dont work

tepid olive
#

Just do another #if up top fucks wrong with you

surreal mountain
#

yeah but

#

it doesnt work anyways so

tepid olive
#

Get out of my house

tardy narwhal
#

that’s why you have defines

#

pls use the preprocessor

surreal mountain
twilit jungle
tepid olive
#

Ur not an intellectual

#

Ur a fake and a fraud

grim sparrow
#

Wtf

#

Why have we got 50 pins in this channel

pearl sail
#

All of them important asf

twilit jungle
#

Not exactly true, you can import inside functions, compiler doesn’t give a shit. The problem is what happens after that. The compiler doesn’t like it when you define functions inside other functions.

glacial matrix
twilit jungle
lethal ice
#

@surreal mountain by using #include mid-function it's gonna copy paste every single header from the framework into that function

#

probably not a great idea

surreal mountain
#

ik

lethal ice
#

i am a fan of using #if to detect architecture mid function though

#

ghost isn't

lapis vessel
#

quiprr massively regretting sending that now

#

And so he should be

#

Smh

lethal ice
#

man started a flame war on himself

#

at least he's not including .S files like i do when i write assembly

twilit jungle
lethal ice
#

no it was good

#

wait now that i think about it it wasn't

#

i was thinking that it would use different code for different architecture but windows and macos are both x64

#

scoob moment

tepid olive
#

Mac can be arm

grim sparrow
#

ah

#

which may explain why sticker packs don't work, I'm trying something now

nimble parcel
#

what’s wrong?

grim sparrow
#

standby

faint timber
#

anyone messed with chromium ssl

grim sparrow
#

ok yeah

#

I blame Xcode, but if the binary contains a space, such as StickerPack StickerPackExtension, ldid fails out

#

easy fix is to just change the extension targets in Xcode

burnt niche
grim sparrow
#

lmao

#

@turbid fjord Ok I'm right, I figured out how to use theos/makefiles for Sticker Packs. You just need to remove the space in Extension

burnt niche
#

“I would be happy for you to purchase this package”uhh

#

WeirdChamp Of course you would

grim sparrow
#

@nimble parcel Ok as far as I can see, a simple fix. Just wrap the binary names in quotes Shrug

turbid fjord
grim sparrow
#

no it's piss easy

turbid fjord
#

Oh

grim sparrow
#

Installing Theos is easy as fuck, and then you just need to make a Makefile with 8 lines I think

turbid fjord
#

Oh

grim sparrow
#

For context heres mine:

TARGET = iphone:13.3:10.0
ARCHS = arm64
INSTALL_TARGET_PROCESSES = MobileSMS

include $(THEOS)/makefiles/common.mk

XCODEPROJ_NAME = AmyStickerPack
AmyStickerPack_XCODE_SCHEME = AmyStickerPack
AmyStickerPack_CODESIGN_FLAGS = -Sentitlements.xml

include $(THEOS_MAKE_PATH)/xcodeproj.mk
turbid fjord
#

Oh

faint timber
grim sparrow
#

bruh

tepid olive
#

xcodeproj make is a thing

#

what

grim sparrow
#

yeah

tepid olive