#development

1 messages · Page 137 of 1

placid kraken
#

you can but i dont know how

#

nor do i want to

slender glade
#

Yes, Comet

placid kraken
#

swiftui syntax is weird

acoustic imp
#

rosie how do i get the images next to the linkcells? like leftImage or sm?

#

than is it a SFsymbol ?

#

or can i have custom bc i have idea

torn cloud
#

yeah that looks better

placid kraken
#

this is how i do it

- (NSArray *)specifiers {
    if (!_specifiers) {
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
        NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";

        for (PSSpecifier *specifier in baseSpecifiers) {
            NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];

            if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;

            [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
        }

        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
    }

    return _specifiers;
}
#

but it can be any UIImage

#

specifically line 11 is what you need

acoustic imp
#

k

#

ik, funny how i can actully understand code now

tough shadow
placid kraken
#

real

torn cloud
#

real

#

devs pin this

acoustic imp
#

anyone know a like web baced place to get SFSymbols ?

#

instead of the mac app ?

torn cloud
#

whats wrong with the app

placid kraken
placid kraken
#

cant assume

acoustic imp
torn cloud
tough shadow
acoustic imp
#

i alr got a pc and laptop so

#

ssh works great

placid kraken
#

ive had my mac since 2 years ago

torn cloud
placid kraken
#

other than the battery completely frying itself a few months ago the experience has been great

acoustic imp
#

my python slave (chat gpt) makes it easy to

torn cloud
torn cloud
#

i might get it soon

acoustic imp
#

no 🥲

acoustic imp
placid kraken
#

i dont really use gpt much anymore

torn cloud
placid kraken
#

my problems usually are too complicated for ai to have enough context to solve

#

it's trying its best

#

but when your width isnt being scaled down because the inner component has an underlying scrollview with horizontal scrolling which breaks flex properties, ai cant really do much to fix it

acoustic imp
placid kraken
#

have you heard of https://poe.com

#

still gpt3.5 tho

torn cloud
#

looks cool

torn cloud
placid kraken
acoustic imp
#

@placid kraken mind if u use ur thing to set icon image stuff, il give credt in my contrebutions tab ofc

acoustic imp
placid kraken
acoustic imp
#

ok thank you 🙏

torn cloud
#

people put literal porn on there and they don't care

acoustic imp
# placid kraken this is how i do it ```objc - (NSArray *)specifiers { if (!_specifiers) { ...

sry for my dumbness but like idk exactly how this should work

         NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";
                            ^
sixteenplayerprefsRootListController.m:13:40: error: use of undeclared identifier 'baseSpecifiers'; did you mean '_specifiers'?
        for (PSSpecifier *specifier in baseSpecifiers) {
                                       ^~~~~~~~~~~~~~
                                       _specifiers
/Users/tesla3092/theos/vendor/include/Preferences/PSListController.h:7:18: note: '_specifiers' declared here
        NSMutableArray *_specifiers;
                        ^
sixteenplayerprefsRootListController.m:21:29: error: no visible @interface for 'sixteenplayerprefsRootListController' declares the selector 'getSpecifiersWithValue:specifiers:'
        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
                       ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sixteenplayerprefsRootListController.m:21:69: error: use of undeclared identifier 'baseSpecifiers'
        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
                                                                    ^
4 errors generated.
#

wait

#

im dumb

acoustic imp
# placid kraken this is how i do it ```objc - (NSArray *)specifiers { if (!_specifiers) { ...

ok only thing i need now is

        NSString *value = [preferences objectForKey:@"mode"] ?: @"Simple";
                           ^
sixteenplayerprefsRootListController.m:22:29: error: no visible @interface for 'sixteenplayerprefsRootListController' declares the selector 'getSpecifiersWithValue:specifiers:'
        _specifiers = [self getSpecifiersWithValue:value specifiers:baseSpecifiers];
                       ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
#

il jus make a custom class

tough shadow
torn cloud
placid kraken
#

just do

- (NSArray *)specifiers {
    if (!_specifiers) {
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];

        for (PSSpecifier *specifier in baseSpecifiers) {
            NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];

            if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;

            [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
        }

        _specifiers = baseSpecifiers
    }

    return _specifiers;
}
#

those parts are for the popover cell

acoustic imp
#

I can jus do it in plist to I think

placid kraken
acoustic imp
#

i jus relized that

#

im getting crash dead

acoustic imp
#

nvm looked at flora

#

thanks again

#

idk but its jst not showing anything

#

this works tho ```objc

@implementation sixteenLinkCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)identifier specifier:(PSSpecifier *)specifier {
self = [super initWithStyle:style reuseIdentifier:identifier specifier:specifier];
if(self){
[specifier setProperty:[UIImage systemImageNamed:@"iphone"] forKey:@"iconImage"];
}
return self;
}
@end```

slim bramble
#

Or at least in a non hard coded way

placid kraken
faint stag
#

means it failed to parse the makefile basically
make sure you indented the lines properly

#

looks fine to me

#

u haven't mentioned the error though

#

see the thing is not all even have releases
and you're expected to extract the lib from the release deb and copy it sometimes too

tough shadow
#

????????

slim bramble
#

Code ?

faint stag
radiant idol
tough shadow
slim bramble
#

Huh ????

twilit jungle
radiant idol
#

LOL

slim bramble
#

I have never seen something like this

faint stag
slim bramble
tough shadow
radiant idol
slim bramble
tepid olive
#

'Tweak.x.m'

slim bramble
#

Also

twilit jungle
#

uhh If there is no release, how does user of your product get it?

acoustic imp
slim bramble
#

You should not hook UIViewController

radiant idol
# tough shadow
#import <UIKit/UIKit.h>

@interface _UIStatusBarForegroundView : UIView
@end

%hook _UIStatusBarForegroundView

- (void)didMoveToWindow {
    %orig;
    self.hidden = YES;
}

%end

%hook UIViewController

- (void)viewDidAppear:(BOOL)animated {
    %orig(NO);
}

%end

idk what the hell this code is but heres the fixed version

acoustic imp
#

😡, WTH 16player

faint stag
# tough shadow

there's no matching brace } for the one on line 2
and you need to @end interfaces

slim bramble
#

l

acoustic imp
slim bramble
#

With a lower artwork

acoustic imp
tough shadow
harsh junco
#

should I use OpenSSL or gnutls as ssl lib

gentle grove
#

gnu is for needs

visual meadow
#

I just set springboard root scene to 0.5 wtf

hasty ruin
visual meadow
#

I know lol

hasty ruin
#

That’s when I got the idea for rune

visual meadow
#

lol backboardd crashed

#

I thoufh springboard would have

gentle grove
#

What is it then

sonic totem
gentle grove
#

what

#

im saying I thought it was gnu software given the name

#

Does anyone use it

#

because like everyone uses openssl

timid furnace
#

everyone uses openssl because they are forced to

#

no one willingly likes openssl

#

hate that api

#

hate the docs

restive ether
#

use neverssl

tepid olive
#

who's the dev of GIR

kind herald
#

apple

tepid olive
#

@restive ether I might've found a vulnerability in GIR, (it's a denial of service vuln), mind if I test it rq

restive ether
tepid olive
#

ah, I'll wait until someone who can reboot it is online

restive ether
#

@shrewd smelt el gayo

shrewd smelt
#

ill spin up mine hold on

#

check dm

tepid olive
#

k

brazen timber
restive ether
#

or that

shrewd smelt
#

copeextreme its good now

#

at least the raid detection works so i dont think youd even get enough alts in here at once to do it by urself

restive ether
#

yeah the raid detection has almost always worked as intended

#

someone rewrote gir in a different discord library

#

apparently it’s better or something idk

shrewd smelt
#

is it even gir then if its a full rewrite in a new lang

restive ether
#

i think it’s still a python library

#

i didn’t ask if it was public let me look

brazen timber
kind herald
#

is it even GIR if never works?

shrewd smelt
#

oh is it the colorfulstorm rewrite

timid furnace
#

wtf is nextcord

shrewd smelt
#

gir plus thats crazy

#

hol don

restive ether
#

@weak flare is this you

#

yes it is

brazen timber
#

that's the main bottleneck

restive ether
#

that wasn’t really like

#

the main one

brazen timber
restive ether
#

i think slim fixed most of the main ones

brazen timber
#

would not have expected that

restive ether
#

he just cached a bunch of stuff

#

fixed most of the issues

faint lionBOT
#
GIR Statistics
Bot started

<t:1707337027:R>

CPU Usage

5.3%

Memory Usage

693 MB

Python Version

3.10.2

shrewd smelt
#

idk i wouldnt move off of dpy

restive ether
#

my concern is long term maintenance and support

timid furnace
#

yea i need to switch my stuff back to dpy

#

still on some old ass version of pycord

shrewd smelt
#

the quickvids guy was having issues with the library i used to use in keto

timid furnace
#

it's gonna bite me in the ass when discord bumps api

shrewd smelt
#

anyway that gir is 3 months old

restive ether
#

i just talked to them today about it so

#

they’re in jb rn maybe they didn’t see my ping

acoustic imp
#

@naive kraken im having an issue with dopa 2, when i JB without tweaks and with, if i try to open an app after the device jailbreaks and is on the HS, it freezes. and if i ssh into to killall springboard, it just respring hangs

#

i have like 1gb of free storage

velvet path
#

you’re risking a low storage bootloop

acoustic imp
acoustic imp
#

but there nothing i can do

velvet path
#

remove apps?

acoustic imp
velvet path
#

remove videos or photos?

acoustic imp
#

i bought 200gb icloud bc if i didn't my phone would bootloop

naive kraken
acoustic imp
#

oh great

acoustic imp
#

rebuild icon cacnhe with TS ?

naive kraken
#

🤷‍♂️

acoustic imp
#

@velvet path i aslo just deleted a GB of logs so sys data is usally at 29-29.8

acoustic imp
#

I have icons via troll tools

#

@naive kraken rebuilding icon cache with troll store seems to have fixed it, USrebooted with tweaks and no issues. thanks for the uicache tip 👍

radiant idol
#

@acoustic imp maybe you're not the only one who is bad at spelling

#

(MediaPlayer framework from iOS 17)

acoustic imp
#

NO WAY, APPLE ??????

#

Chage

placid kraken
#

i cna selpl oto!!!

acoustic imp
#

Rosie I’m back now; il send code ok a sec

placid kraken
#

lol im about to sleep

radiant idol
#

I have never in my life seen you use a semicolon

placid kraken
#

its 00:10

radiant idol
#

is he evolving

acoustic imp
#

Noooooooo, ok

radiant idol
acoustic imp
placid kraken
acoustic imp
#

Don’t kid yourself

placid kraken
#

juxtaposition

#

iambic pentameter

acoustic imp
radiant idol
#

stop

placid kraken
#

syndetic listing

radiant idol
#

trauma

placid kraken
#

media-res

radiant idol
#

DO NOT MENTION THE IAMBIC PENTAMETER

placid kraken
#

LMAO

acoustic imp
#

What’s that

placid kraken
#

TRICHAIC TETRAMETER

radiant idol
#

all you need to know

#

is

#

SHAKESP*ARE

acoustic imp
#
@implementation sixteenplayerprefsRootListController

- (NSArray *)specifiers {
    _specifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];
    if (!_specifiers) {
        NSMutableArray *baseSpecifiers = [self loadSpecifiersFromPlistName:@"Root" target:self];

        for (PSSpecifier *specifier in baseSpecifiers) {
            NSDictionary *iconImageSystem = [specifier propertyForKey:@"iconImageSystem"];

            if (!iconImageSystem || ![iconImageSystem objectForKey:@"name"]) continue;

            [specifier setProperty:[UIImage systemImageNamed:[iconImageSystem objectForKey:@"name"]] forKey:@"iconImage"];
        }
        _specifiers = baseSpecifiers;        
    }
    return _specifiers;
}

@end```
#

oh god, ab to do this in school

radiant idol
#

LOL

#

good luck

acoustic imp
#

😭

radiant idol
#

bane of everyone's existence

placid kraken
acoustic imp
#

shoot

#

so it need to be in it ?

placid kraken
#

you dont need it at all

#

you see how _specifiers is set to base specifiers later on

acoustic imp
#

no

placid kraken
#

baseSpecifiers is an intermediate variable so you can make operations to the specifiers

#

the _specifiers = baseSpecifiers; thing

#

line 15

acoustic imp
#

yea i see that

placid kraken
#

that's where the specifiers are set

#

you dont need _specifiers = anywhere else in the method

acoustic imp
#

so i dont need to chnage anything?

placid kraken
#

not really lol

acoustic imp
#

but it doesnt work 😭

placid kraken
#

your thing before the if check essentially completely negates the if check altogether

#

because its not nil anymore so itll never run

acoustic imp
#

im confused, hold on

#

ohh

placid kraken
#

it should just work

#

so long as your plist follows the correct format

acoustic imp
#

OMG IT WORKS

#

THANK YOU!!!!!!!!!!!!!!!!!!!!

acoustic imp
#

no to chnage the color...

placid kraken
#

you can probably tint the uiimage in the code

acoustic imp
#

Tint 😭

placid kraken
#

or you can provide a color in the plist and access it from the code and apply it to the uiimage

acoustic imp
#

K

#

I think I’m gona make custom icons anyway

placid kraken
#

fair

acoustic imp
#

anyway to eddit .ai files without adobe?

#

with like layers/chapes on it

placid kraken
#

probably not?

#

maybe see if photopea can do it

#

i doubt it tho

acoustic imp
#

and gimp doesnt load the layers

placid kraken
#

krita?

acoustic imp
#

il try it

indigo peak
#

and then in your .plist

#

add a key

placid kraken
indigo peak
#
<string>#FF0000</string>```
placid kraken
#

thats like

#

exactly what i told them to do

#

but why are you extending UIColor

#

just make it a static method that returns a UIColor pointer lol

indigo peak
#

same shit

#

does the exact same thing

placid kraken
#

true i guess

acoustic imp
#

honeslty i jus hard coded it to white idc, it wount be dif

#

but thanks

faint stag
indigo peak
#

they just want to change the color of

indigo peak
#

so

faint stag
#

oh then nvm

acoustic imp
#

is UIColor hex?

faint stag
#

nope

indigo peak
#

no

#

thats why

#

i had the extension

acoustic imp
#

what ab CGColor ?

placid kraken
#

UIColor is a class representing a color on ios

acoustic imp
#

k

placid kraken
acoustic imp
#

oh ok😭

faint stag
#

pain ik

indigo peak
#

here

#

function instead

#

instead of extension

acoustic imp
#

isnt this suposed to be like *)hex

#

or no bc its a func

#

nvm

placid kraken
#

its a static function not a method

#

so you also don't use [] syntax for it

acoustic imp
#

ik ik, i forgot

placid kraken
#

you just call it with your args like a normal language

#

ah ok

acoustic imp
#

ik js, somwhat

placid kraken
#

you dont sound too confident lol

acoustic imp
#

well ik how to eddit styles and use syntax/methods chat gpt gave me

placid kraken
#

ah

acoustic imp
#

kinda stoped working on it

placid kraken
#

ok well 20 mins already went past its now half midnight

faint stag
placid kraken
#

i really need to get to sleep—

acoustic imp
#

!GN

placid kraken
#

anyway gn!!!

faint stag
#

wait yeah that's not what static means mb

indigo peak
faint stag
#

lol

acoustic imp
acoustic imp
#

😭

placid kraken
acoustic imp
#

ohhh

placid kraken
#

dynamic is the opposite

faint stag
placid kraken
#

a dynamic method can only be called in instances of a class

#

ok now im REALLY going to sleep

#

bye byes !!!

acoustic imp
#

ok turn on dnd

placid kraken
#

treu,,

acoustic imp
#

@indigo peak if i dont put a color in the plist will it be unhappy and throw a fit?

indigo peak
#

yeah probably

acoustic imp
#

ok, il add an if

indigo peak
#

do you want it to be the default color?

acoustic imp
#

actully i wount bc i forgot, isnt it like if @selector or sm

acoustic imp
indigo peak
#
UIColor *targetColor = hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"]) : hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"]) ? UIColor.blueColor;
#

[icon setTintColor:targetColor];

acoustic imp
#

oh that was smart

#
                [icon setTintColor:hexStringToUIColor([iconImageSystem objectForKey:@"iconColor"])];
            }else{
                [icon setTintColor:[UIColor whiteColor]];
            }``` would  this work to ?
indigo peak
#

Yeah

acoustic imp
#

hmm

indigo peak
#

oh wait

#

im regarded

#

uhh

acoustic imp
#

yea doesnt that go on UIImageView ?

indigo peak
#

yeah

acoustic imp
#

jus tell me what to replace it with

acoustic imp
#

@indigo peak ig it has to be like its superview the has the tint

indigo peak
#

hang on

#

im testing smth

acoustic imp
#

👍

#

can you jus stick a UIImageView as the icon ?

tepid olive
#

does cephei work for jailed tweaks

#

i just want a settings menu for an app tweak i plan on writing :p

acoustic imp
#

idk cephie but like what it do?

faint stag
tepid olive
acoustic imp
#

UIImageView does not work

tepid olive
indigo peak
acoustic imp
#

just copy paste the code 😭

tepid olive
#

and it has helpful tweak creation functions

acoustic imp
#

so extra

tepid olive
#

i.e. respringing

indigo peak
faint stag
# tepid olive can you clarify

well as sideloadly does already (for example), it patches frameworks to load files from the app's bundle if needed
and it has to patch the app binary to load substrate (and the framework)

#

cephei should just work when patched (i think)
i might be thinking of alderis having issues nvm

acoustic imp
#

my wifi is sooooo slooooooow 😭

#

@indigo peak ur him

tepid olive
#

is there a tutorial on creating prefrences.framework cells without cephei

acoustic imp
#

just look at like nightwinds tweaks

#

hes a smartypants and doesnt use cephie

restive ether
#

cephi killed my wife

acoustic imp
indigo peak
#

i made calculatorhistory prefs without cephei

indigo peak
#

all it is a preview but still

#

i def learned a lot ab preferences

acoustic imp
#

Made this jumpscare without cephie and Rosie’s and fiores help

#

And nightinwds code

#

Modified *

indigo peak
acoustic imp
#

the sf symbol?

indigo peak
#

yeah

acoustic imp
#

im gona make cstom one i think anyway

indigo peak
#

no the label should be from "Player Config" to "playpause"

acoustic imp
#

like using my icon

indigo peak
#

^^^

#

gameseagull trollstore prefs were made without cephei

acoustic imp
indigo peak
#

and without use of plist

#

did it by hand 💪

acoustic imp
#

json

indigo peak
#

bnope

#

pure objc

indigo peak
acoustic imp
#

but future telsa_man problem

#

@indigo peak howd you knwo that like cell.imageView exsited?

#

like how do i find the like "imageView" things

indigo peak
# acoustic imp i do kinda want to, also the sliders colors
@interface SixteenPlayerPrefsSwitchCell : PSSwitchTableCell
@end

@implementation SixteenPlayerPrefsSwitchCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(id)identifier specifier:(id)specifier {
    self = [super initWithStyle:style reuseIdentifier:identifier specifier:specifier];

    if (self) {
        if ([specifier propertyForKey:@"switchColor"]) {
            [((UISwitch *)[self control]) setOnTintColor:hexStringToUIColor([specifier propertyForKey:@"switchColor"])];
        }
    }

    return self;
}

@end
#

button color

#

just add

acoustic imp
#

ok

indigo peak
#
<key>cellClass</key>
<string>SixteenPlayerPrefsSwitchCell</string>
<key>switchColor</key>
<string>#FF0000</string>
tepid olive
acoustic imp
#

ik cell class 🎉🎉

tepid olive
#

or it is possible to do everything in objc?

radiant idol
#

you can do everything in objc

#

but thats just a pain

indigo peak
hasty ruin
#

Man why is it so hard to detect when the AirPods noise cancellation mode changes

#

I got it working for when the CC changes it

#

But not Siri

indigo peak
hasty ruin
#

Or holding the stems

radiant idol
acoustic imp
hasty ruin
faint lionBOT
#
CCNoiseControl

Control Center Module to switch NoiseCancellation/Transparency

Author

Brend0n

Version

0.0.4

Price

Free

Repo
Bundle ID

com.brend0n.ccnoisecontrol

hasty ruin
#

That’s stock though??

acoustic imp
hasty ruin
acoustic imp
#

using stem

hasty ruin
#

BluetoothAccessorySettingsChanged notification apparently

#

ty Tesla man

indigo peak
# tepid olive did you have to write a fucked plist/objc cell creation wrapper
PSSpecifier *makeSwitchCell(NSString *label, NSString *key, id target) {
    PSSpecifier *switchCell = [PSSpecifier preferenceSpecifierNamed:label target:target set:@selector(setPreferenceValue:specifier:) get:@selector(readPreferenceValue:) detail:nil cell:PSSwitchCell edit:nil];
    [switchCell setProperty:key forKey:@"key"];
    [switchCell setProperty:@NO forKey:@"default"];
    return switchCell;
}
#

and then in like forexample

hasty ruin
acoustic imp
radiant idol
hasty ruin
#

nor did I

#

Well tbf

acoustic imp
#

nor did i

hasty ruin
#

I haven’t ensured it works yet

cloud yacht
#

But I'm not a smarty pants

#

My prefs are basic

visual meadow
#

Does anyone know if commcenter has a container or not

indigo peak
#

something along those lines

tepid olive
#

what is reTgUuwBPjWsVMfaxh3Dv9cGASJF5Kbtykq

indigo peak
#

oh my bad

#

replace that

#

with

#

readPreferenceValue

#

- (NSObject *)readPreferenceValue:(PSSpecifier *)specifier

timid furnace
#

many questions

young meteor
#
#import <UIKit/UIKit.h>
@interface MTMaterialView : UIView
@property (nonatomic, assign, readwrite, getter = isHidden) BOOL hidden;
@end
@interface NCNotificationShortLookView : UIView
@end

%hook MTMaterialView
-(void)layoutSubviews {
    %orig;
    // only remove blur if MTMaterialView is a subview of PLPlatterView, and not NCNotificationShortLookView
    if (([self.superview class] == objc_getClass("PLPlatterView")) && (![self isDescendantOfView:NCNotificationShortLookView])) {
            self.hidden = YES;
        }
    }
%end```
am i missing something dumb?
indigo peak
#

bc NCNotificationShortLookView is a class, and - (BOOL)isDescendantOfView:(UIView *)view takes in a UIView

tough shadow
#

uhhhh is this okay

young meteor
#

looks like you uninstalled brew?

tepid olive
#

or you fucked up .zprofile

#

do cat ~/.zprofile and show us the output

lean ermine
#

is there a good ios 16 ccsupport example

tepid olive
#

i don't think control center has changed since it was introduced in ios 11

lean ermine
#

lol

#

sounds good

tepid olive
lean ermine
#

ty

tough shadow
tepid olive
tough shadow
#

I looked everywhere btw

tepid olive
tough shadow
#

I did

tough shadow
tepid olive
#

is /opt/homebrew back

tough shadow
#

let me see

tough shadow
tepid olive
#

then you didnt fucking reinstall it

#

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

tough shadow
tepid olive
#

wtf

tough shadow
honest star
#

Anyone gotten FLEXing to work in apps on Dopamine 2.0.5? It works on SpringBoard but not inside any apps. I’ve got 1.5.0+rootless from Misty’s repo.

lean ermine
#
SmileyModule.m:3:9: note: did not find header 'ControlCenterUI-Structs.h' in framework 'ControlCenterUI' (loaded from '/Users/blurp/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks')```
#

i'm using patched sdk, what am i doing wrong

radiant idol
tough shadow
#

reject reject ???????

honest star
radiant idol
#

invoke it by holding down on the screen with three fingers

lean ermine
honest star
#

Yep that did it. Thanks

radiant idol
#

well

#

look and see if you can find th eheaders there

#

just ls /Users/blurp/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks

lean ermine
#

yea u right

#

they are not in there

#

its just controlcenterui.tbd

radiant idol
#

🤔

lean ermine
#

patched framework from theos github

#

:I

#

none of my frameworks have it

#

tryna slide me some controlcenterui headers

tough shadow
#

Is there an yother why to go to dfu mode?

radiant idol
#

should be there

lean ermine
#

im confused lol

radiant idol
#

L

#

sucks to be you ig

lean ermine
#

wtf

#

thats crazy

#

i found some

#

from ios runtime headers repo

lean ermine
# radiant idol sucks to be you ig
#import <ControlCenterUI/CCUIModuleSettings.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SmileyModule.m:3:9: note: did not find header 'CCUIModuleSettings.h' in framework 'ControlCenterUI' (loaded from '/Users/bddagdfgager/theos/sdks/iPhoneOS14.5.sdk/System/Library/PrivateFrameworks')``` i found what header it actually needs but for some reason it thinks it doesnt exist
#

am i stupid

acoustic imp
#

Needs to be higher quality but that easy. @radiant idol

acoustic imp
#

🎉

lean ermine
acoustic imp
#

sadCat*

acoustic imp
lean ermine
#

im just trying to make a control center module to toggle ding's mute mode 😦

#

cos the stock mute module is forced also by the forced state in ding

indigo peak
#

or no background

acoustic imp
#

K

indigo peak
#

just my opinion

acoustic imp
#

Also can I give a higher quality image but like make the image view smaller ?

#

@indigo peak

indigo peak
#

uhh probably

radiant idol
#

y'all

#

would anyone here know how to detect the Dynamic Island being enabled programatically?

hasty ruin
#

Preferences.app*

#

And no it’s not an option trol

acoustic imp
#

is there a way i can be like self.(sm view).(a class) and any of the instances of (a class) in (am view) will get the chnages i make ?

topaz yew
#

are you saying you want to sync a property across all the instances

acoustic imp
#

yea, all instaces in/that are a child of (sm view)

#

damit

indigo peak
#

now no not

#

nice

faint stag
acoustic imp
#

yep, am now

#

Trying to change these image views and use auto layout with them

faint stag
# tough shadow

also the terminal output clearly says /usr/local/bin/brew as the executable path
fr

radiant idol
#

there's no option for it

#

I just want to be able to programatically detect if a device has the Dynamic Island enabled, but can't seem to find how

#

maybe I'm explaining badly

#

yeah

#

ugh

#

it seems to do something weird to UIApplication.sharedApplication.statusBarOrientation

#

and it breaks the gestures in my tweak

#

it just makes it so that it's always zero

#

bruh

acoustic imp
#

@radiant idol maybe looking at the one tweak to modify the Y and hide the island when not in use tweak

radiant idol
#

no its not that

acoustic imp
#

oh ok

radiant idol
#

the DI doesnt interfere with it

#

it just breaks the thing I'm using to check if the device is in portrait or landscape

acoustic imp
#

cant use UIDeviceorientation ?

#

or what ever it is?

radiant idol
#

no

#

because it bugs out sometimes if you try to open the cc when an app is in mid opening

acoustic imp
#

ok, i mean if you want to, its a little hacky tho

#

you could hook the setframe method of one of the views the same size as the screen and see weather the height or width it bigger than the other and figure out the orientation that way

radiant idol
#

no

#

"a little hacky" is an understatement

acoustic imp
#

i mean it would work, idk how/when it wouldnt

radiant idol
#

just because something works doesnt mean its the best solution

acoustic imp
#

(16Player doesnt do this for the record)

lean ermine
radiant idol
#

what the actual hell is this

APPLE???

hasty ruin
#

😭

radiant idol
#

LMAO

acoustic imp
#

@indigo peak do you know what the like cell.labelView is ?

acoustic imp
hasty ruin
#

ok so

#

noise cancellation has 3 modes

#

normal, transparency, cancellation

#

in some methods theyre in the order 0 1 2

acoustic imp
#

well and adaptive for new pods

hasty ruin
#

in some its 2 1 3

#

and sometimes apple randomly sets the mode to the maximum 64 bit int

#

💀

acoustic imp
#

what 😭

#

why....

#

do they all get called at the same time?

#

or like some at somtime and others at other times?

faint stag
acoustic imp
#

ah thank you

#

howd you know that?

faint stag
#

by looking at the header

#

PSTableCell is an implementation of UITableViewCell

faint stag
acoustic imp
#

can u chnage the height of a UIImage ?

#

like with auto layout or settings the frame ?

#

bc i cant for some reason

lean ermine
#

how do u edit plist with obj c

#

as nsmutabledictionary

acoustic imp
#

google it

lean ermine
#

true

#

goodbye

acoustic imp
#

it probly on stack of

#

👋

twilit jungle
topaz yew
#

hooking c++ is sort of a pain in the ass

radiant idol
radiant idol
#

smh

#

do better

acoustic imp
lean ermine
#
                                     [NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
    [dingprefs setValue:@"0" forKey:@"mode"];```
#

whats wrong here

#

objective c sucks balls and ass

#

i got it to build and run

#

but it isnt changing the plist

acoustic imp
#

@radiant idol at some point tmro can you test out 16Player prefs with one settings, I don’t have that tweak

faint stag
radiant idol
#

You should be fine

topaz yew
faint stag
#

why? because it's not zefram?

topaz yew
#

zefram malware

faint stag
#

ok, i'm waiting for the 10 page essay

hasty ruin
#

third times the charm

lean ermine
#
                                     [NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
    [dingprefs setValue:@"0" forKey:@"mode"];
    [dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];```
#

am i missing something

radiant idol
#

ROOT_PATH_NS

#

that path won’t work for rootless

lean ermine
#

oh

#

where does root path ns go to

#

does it go to real root

radiant idol
#

Prepends /var/jb around ur str

lean ermine
#

how do i put it there

#

i am like helen keller if she was trying to make objective c code..

faint stag
lean ermine
#

ty

#

well

#

the prefs file isnt in rootless strap

#

it's in normal /var/mobile/library/preferences

faint stag
#

yeah then you can leave it ig
even though people should move to using /var/jb
but i guess if you really need prefs to persist

lean ermine
#

hey its not my tweak

#

lolol

#

also it still isnt overwriting it tho

#

is there anything wrong with it

radiant idol
faint stag
#

i don't even know tbh

#

but i doubt there's anything preventing you from doing so

lean ermine
#

god damn i wish ccvpn had source

faint stag
#

cause what's in the file isn't going to match whatever's in memory if you don't

lean ermine
#
{
    NSMutableDictionary *dingprefs = [NSMutableDictionary dictionaryWithContentsOfFile:
                                     [NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]]; //accessing the .plist

    [dingprefs setValue:@"1" forKey:@"mode"];
    [dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];
    return _selected;
}```
#

;c

radiant idol
#

try doing this in the -(void)setSelected:(BOOL)isSelected method

lean ermine
#

is it not one is used when the module is unselected

#

and vice versa

radiant idol
#

the one you're overwriting right now is just the getter

restive ether
#

ding

radiant idol
#

the setSelected one will get called whenever someone presses the control center module

lean ermine
#

alright thank u

#
{
    NSMutableDictionary *dingprefs = [NSMutableDictionary dictionaryWithContentsOfFile:
                                     [NSString stringWithFormat:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist"]];
    [dingprefs setValue:@"1" forKey:@"mode"];
    [dingprefs writeToFile:@"/var/mobile/Library/Preferences/me.nebula.ding.prefs.plist" atomically:YES];
        _selected = selected;

    [super refreshState];
}``` how do i make it run again when unselected
radiant idol
#

same thing

faint stag
radiant idol
#

perhaps, i'm not sure

lean ermine
radiant idol
lean ermine
#

oh ok

radiant idol
#

but you are always setting the "mode" to 1

lean ermine
#

so i have to make intelligence to modify the prefs then

#

yes

radiant idol
#

ok cool

lean ermine
#

it's not changing the mode at all yet

radiant idol
#

you know what you're doing then

lean ermine
#

sure but it isnt actually changing it :9

radiant idol
#

try this

#

[dingprefs setValue:selected ? @"1" : @"0" forKey:@"mode"];

lean ermine
#

it isn't changing the file still

#

extern NSMutableDictionary *dingprefs;

#

this is what i have in the header

#

is that alright

radiant idol
#

no you dont need that

lean ermine
#

o

#

not a global variable

#

ok that may hav ben problem

#

i try now

#

omg

#

it is changing the file

#

pog

acoustic imp
#

But is ding gona auto update

#

Prob not

lean ermine
#

it seems not

acoustic imp
#

Yea…

lean ermine
#

lol

#

its fine baby steps

#

ah im changing the wrong file

#

maybe nebula did put the prefs in the right spot lol

#

where are prefs suppposed to be

#

for rootless

#

nvm found it

#

yeah it was the wrong file

#

see when it changes in the pref bundle it immediately changes

#

but the pref file does not immediately change it

#

hmmmmhmhmhmh

#

even after a respring changing the prefs file doesnt have any effect

#

even though changing it in the ding settings immediately changes the tweak and the pref file

#
- (void)_updateRingerState:(int)arg1 withVisuals:(BOOL)arg2 updatePreferenceRegister:(BOOL)arg3 {
    if (!(switchAction == 1) && hapticFeedback) {
        UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:(UIImpactFeedbackStyleMedium)];
        [feedback prepare];
        [feedback impactOccurred];``` how do i do this from my control center module lol
acoustic imp
#

Idk

lean ermine
#

lol

faint stag
#

and that's what sets them lol

lean ermine
#

blah blah

#

nerddddd

#

jk help me

acoustic imp
#

Well you could use notifications

#

One good example is lower

lean ermine
#

thats not my code thats the small section of ding.m that i believe updates the mute state as soon as u change it in the bundle

#

the hook continues for a bunch of lines but thats the only part i care about

faint stag
lean ermine
#

by importing ding.m and ding.h

#

or just ding.h

#

or just ding.m

faint stag
#

if it's in the header you'd import that
cause that method is an instance one

lean ermine
#

its not in the header

#

is it against the law to import ding.m

#

how does code work..

faint stag
#

well m just means it's c++ (usually)

#

usually the x/m files are what gets compiled

lean ermine
#

yeah i could say i knew that

radiant idol
#

what is iOS doing

hasty ruin
lean ermine
#

im giving up for today i have homework

#

tweak r hard

#

and stupid

acoustic imp
#

You chose a bad tweak

lean ermine
#

lol

acoustic imp
#

I don’t think what ur trying to do is gona work

lean ermine
#

it would with a lot of effort probably

#

ding is a really good tweak but its just dumb that the way its coded theres no way to change ringer status with the mute module

#

so u either have to permanently give up your mute ability or make it so ur mute switch turns on mute AND another function

#

im a hater tho

acoustic imp
#

Just make a CC modula to change ringer status

lean ermine
#

the actual ringer status changes the same thing that the mute module changes

#

so with ding enabled even changing mute status from control center will activate whatever ding is set to

#

and if u have ding set to force mute so that you can have a dedicated action set to mute switch then the mute module can't change from what it is set to in ding prefs

#

hence trying to make a module that changes the preference

acoustic imp
#

No ding

#

Ummm figurout how to make a new CC modula

lean ermine
#

lol

#

whats the control center ringer controller

#

ding hooks sbringercontrol

#

maybe the cc mute module tweak i've been using hooks that instead of the control center one and they are supposed to be different

#

but i think not

acoustic imp
lean ermine
#

see what i mean lol

#

its definitely possible to make a cc module to fix it

#

ill maybe try and do more tomorrow

#

or someone smarter than me could do it

twilit jungle
radiant idol
#

Yeah

tough shadow
#

Who made zebra

reef trail
hexed knot
vivid dew
#

@lime pivot happy birthday big man

lime pivot
graceful gate
#

@vivid dew happy birthday big man

earnest raptor
#

Hello

#

So I have been trying to compile the dependencies of futurerestore dev build, and all dependencies I finally compiled but only liboffsetfinder64 is giving errors when trying make it

#

The errors are related to c and hpp maybe and with libinsn also

#

And I couldn’t figure it out how I can fix it

#

Cryptix can help me compiling that

fathom snow
#

Hi, what was the name of the iPhone’s internal memory manager that is a pain in the ass for tweak developers? I cannot remember its name

#

It used to spam the hell out of Cr4shed

primal perch
#

jetsam @fathom snow

granite frigate
#

@tidal atlas hi, FUGap no longer works for me on iOS 16, was wondering if you'd be able to update it? if not could you oss it so I can figure out how to fix it 😭

hasty ruin
lean ermine
slender glade
hasty ruin
slender glade
acoustic imp
#

Yes

slender glade
#

@tawdry storm @granite frigate yo i did not know the p5 velvet room attendents fw the jailbreak community

tawdry storm
#

😳

slender glade
tawdry storm
#

trust

slender glade
slender glade
acoustic imp
#

Wtf auto layout 😡

slender glade
acoustic imp
slender glade
#

constraintGreaterThanOrEqualToAnchor

acoustic imp
#

heres the trailing nayway ```objc
[cellIcon.trailingAnchor constraintLessThanOrEqualToAnchor:self.titleLabel.leadingAnchor],

slender glade
#

buddy u want equalTo

#

with a constant

acoustic imp
slender glade
#

yes

acoustic imp
#

but idk what width of the cells start to the labelviews leading?

#

what would the constant be?

slender glade
#

you have to figure out the constant by fucking around and fucking out

acoustic imp
slim bramble
#

You got your laptop back ? @acoustic imp

acoustic imp
#

yea il push ina sec once i firgure out this auto layout shi

slender glade
#

equalTo: cell.contentView.layoutMarginsGuide.leadingAnchor

acoustic imp
#

@slender glade thank you it works great and looks great I think

#

Fiore high quality icons, ✅

slender glade
#

🫡

#

wait dude

#

that's the same UIImage 4 fucking times

#

are you kidding me

acoustic imp
#

Shoot

#

Ohh I forgot to set cell class

#

Oopsies

#

Thanks

indigo peak
acoustic imp
#

Where’d you get 16?

indigo peak
acoustic imp
#

I just didn’t know what the constant would be

indigo peak
#

just going off that

acoustic imp
#

Would that be the same on iPad ?

indigo peak
#

uhhh

#

🤷‍♂️🤷‍♂️

slim bramble
#

@acoustic imp I have an idea for this

acoustic imp
#

It is

#

Muy bien

#

@indigo peak

indigo peak
#

is that with my constraints

acoustic imp
#

Yea, used the layout Margin

acoustic imp
#

Whole pic @warped sparrow @desert jackal

indigo peak
placid kraken
#

do you guys know why atria likes to crash springboard sometimes

#

on arm64e

acoustic imp
#

ios16 + *

acoustic imp
placid kraken
#

usually it fixes itself when i disable bluetooth

#

which is a super fucking weird workaround imo

acoustic imp
#

Odd

acoustic imp
#

Or this maybe

placid kraken
#

imo make the vertical and horizontal margins of the icons the same

#

they currently have way more horizontal margin than vertical

#

and it looks weird

acoustic imp
#

Ok

acoustic imp
placid kraken
#

no lol

acoustic imp
#

Uhh il try

#

I mean that’s just how settings is

placid kraken
#

hmmm ok if you say so

slender glade
#

it's not the main view

#

this is fine

acoustic imp
placid kraken
#

i guess

slender glade
#

it's ok imo

#

natural eye doesnt really catch that

#

but u really need to change those icons lol

placid kraken
#

maybe remove the bg

acoustic imp
#

whats so bad about them?

slender glade
#

they all look the same from a distance

placid kraken
#

^

acoustic imp
#

ok i, couold make the BG alpha like 0.5 instead of 1

#

think that would be better ?

slender glade
#

try

sonic totem
twilit jungle
#

The real question is why are you manually adding an image view instead of using the existing one that table view cells already provide (which also handles positioning for you)?

slender glade
granite frigate
#

🔥

#

nice

granite frigate
#

true what is cs_flag

sonic totem
#

Like CS_VALID, CS_PLATFORMIZED

granite frigate
#

oh that's what they're called

sonic totem
#

They also offer information about how it’s signed (e.g. whether it’s platformized as shown above)

granite frigate
slender glade
sonic totem
#

Think there’s a flag for get task allow too

sonic totem
sonic totem
granite frigate
#

bro looks at xnu github while bored

slender glade
#

oh man looking at xnu code while in class... LOL i used to do that in 10th grade

granite frigate
#

i didnt even know it was called csflags

slender glade
#

im trying to find the function where they're assigned

slender glade
acoustic imp
sonic totem
granite frigate
sonic totem
#

Because why not

slender glade
timid furnace
#

there is some stuff for it, but AMFI also manipulates CS flags based on code signatures and other stuff

granite frigate
slender glade
#

oh I see

slim bramble
#

eta wen CT oss 🙏

timid furnace
sonic totem
#

Well my idea failed

#

(I think?)

timid furnace
#

bsd/kern/kern_cs.c

granite frigate
#

oh i amm blind

slender glade
#

oh did u guys see

#

the chinese gov had a 0day leaked or smth today

slim bramble
timid furnace
#

docs

#

not any actual stuff

slender glade
#

yeah well

#

the DOCS explaining ig

granite frigate
slender glade
#

that is NOT cool 😭

acoustic imp
#

its scarry

sonic totem
slim bramble
#

I do haxx daily

#

to make 16P work

sonic totem
#

Well my haxx failed

slim bramble
#

Haxx woeis

granite frigate
#

What was the idea

sonic totem
#

Even though they shouldn’t because it’s used elsewhere in the OS and it works fine fr

sonic totem
granite frigate
#

i see

slim bramble
#

What is it ?

sonic totem
#

I genuinely don’t understand how it doesn’t work man

granite frigate
#

dude i swear i have goldfish memory

sonic totem
acoustic imp
#

question if you were on a laptop with one screen how many desktops are you using?

hexed knot
#

1

acoustic imp
#

But you have multiple windows open

hexed knot
#

And

acoustic imp
#

Are you a alt + tab kinda person ?