#development

1 messages · Page 320 of 1

burnt niche
#

Someone link him 100 days objective c

#

I think its in pins

#

Check it out bro

#

Gloss over it

#

My advice- use a mac or hackintosh

#

And do app dev

#

Thats what i am doing right now

lethal kayak
#

ye

#

J#

burnt niche
#

I use opencore and doing app dev with swift

worn tangle
burnt niche
#

Recommend you to start doing that beforehand you dive into tweak dev

worn tangle
#

all from scratch

burnt niche
#

Nicee!

worn tangle
#

Im good with obj-c now

#

It was my first big thing in obj-c but the syntax isnt that complicated

burnt niche
#

Yea its not

worn tangle
#

oh and that one I entirely codded in Filza directly on my phone while working at a gas station lmao

burnt niche
#

Legendary

granite frigate
#

hi, is using tweak.xm or tweak.x better for tweaks?

burnt niche
#

Tweak.x is for objective c

#

Tweak.xm allows you to use objective-c++

#

Unless you are going to be using objective-c++. Then .x is fine. Using .xm won’t make a difference if you are not going to be using objective-c++

#

To use Thinks like mshookivar. You will have to use .xm file extension because you are using objective-c++ @granite frigate

pure tree
#

How do you hook this swift method? I don't think I can use the conventional %init method here?

burnt niche
#

I have never actually hooked into a swift method.

#

You could ask kabir or capt

#

They are more knowledgeable and could provide you with more information regarding how to hook it properly

pure tree
#

@nimble parcel any helps?

#

Tweak development on swift app feels being phased out now

#

We don't have a good tool to work with swifts

nimble parcel
burnt niche
#

Where is onionweirdga

nimble parcel
#

Looking at the signature of that swift method it’s probably going to be pretty difficult to hook it conventionally

pure tree
#

dang

lapis vessel
#

where's kabirhook?

nimble parcel
#

kabir hooker eta son

burnt niche
#

I thought it was called onion

#

Kabirhook sounds cool

#

SwiftHooker

nimble parcel
#

libhooker

#

oh wait

burnt niche
#

😂😂

nocturne yacht
#

Kek

pure tree
nimble parcel
#

MSHookMemory; you’ll need to overwrite the instructions

lapis vessel
#

presumably MSHookFunction would work if your replacement was asm?

pure tree
#

Oh no, I'm not on that level yet

#

what's a asm?

lapis vessel
#

assembly

pure tree
#

Ah I see

burnt niche
#

Wait for kabirhook

#

Good time to learn assembly lol

pure tree
#
MSHookFunction(
 (void *)sub_addr,
 (void *)&replaced_addr,
 (void **)&orig_addr);
 }
nimble parcel
pure tree
lapis vessel
#

I think for libhooker at least, all registers and everything are preserved so I don't see why it wouldn't work

nimble parcel
lapis vessel
#

dunno

#

just remember cs saying registers were preserved which is why it can be used to hook msgSend when substrate cannot

nimble parcel
#

msgSend is special in its own ways

pure tree
#

libhooker is that good huh, I personally didn't try it yet

lapis vessel
#

fair enough, hookmemory might be the better solution then

nimble parcel
#

Swift methods have other constraints/invariants that can easily be broken if you assume a c calling convention

burnt niche
#

The way swift is built. Seems like hooking it is a fucking challenge

nimble parcel
#

The bugs might be subtle enough that you usually won’t notice (eg throw not working) and it’ll be a nightmare to figure out what’s wrong

nimble parcel
#

there’s a lot of inlining too

lapis vessel
#

built for performance, not dynamicism

burnt niche
#

I could imagine. I am learning swift right now and god damn😂

lapis vessel
#

I think I made that word up, but you know what I mean

burnt niche
#

But it is good at what it does i guess

pure tree
#

I never made the first step in properly learning C, since I've never have the needs yet

nimble parcel
pure tree
burnt niche
#

Not really

#

Its easier to understand

#

Since swift is built keeping obj-c in mind

nimble parcel
#

it’s a slightly different way of thinking though so don’t try and draw parallels for everything; embrace the swiftiness

burnt niche
#

Theres key differences but not too hard to grasp around

#

^

#

I can link you a series from stanford that teaches swift

#

Inside out

pure tree
nimble parcel
burnt niche
#

This is the old swift course

pure tree
burnt niche
#

Using swift 3. But teaches uikit

#

https://youtu.be/jbtqIBpUG7g this is latest swift 5 with swiftui

The first of the lectures given to Stanford University students who took CS193p, Developing Applications for iOS using SwiftUI, during Spring quarter of 2020.

Paul Hegarty covers the logistics of the course and then dives right into creating an iOS application (a card-matching game called Memorize). The Xcode development environment is used to...

▶ Play video
#

I personally would go with uikit

pure tree
#

Thanks, I'll surely have a look later

nimble parcel
#

The hackingwithswift tutorials are great imo

burnt niche
#

^

nimble parcel
burnt niche
#

Those are too

#

Learn uikit instead of swiftUI

#

SwiftUI is not well developed enough at this point imo

#

Uikit is far more beneficial to learn

#

@nimble parcel i might start using HWS

nimble parcel
#

I’ve considered it for SwiftUI too

pure tree
#

Alright, thanks @nimble parcel & all , I should get back to the project

nimble parcel
#

good luck :)

burnt niche
#

Thanks. Does it teach using swiftUI?

nimble parcel
#

There’s a 100 Days of SwiftUI

burnt niche
#

Oh nice. I am not knowledgeable at UIkit

#

So i need to learn UIKit as well

#

Does the swift tutorial only teach swift or does it also bring along uikit

burnt niche
sick crane
#

How do I assign readonly thing on init? I'm trying to hook macOS app using MacForge

pure tree
#

MSHookIvar maybe?

#

Ooopps, "macOS app"

sick crane
#

it's on cydia substrate so

burnt niche
#

Afaik you can’t assign values to readonly properties

#

Because they only have a get method. No set method. Might want to check macforge wiki or something

#

Or look at open source projects

sick crane
burnt niche
#

R/osxtweaks

#

Might want to check out if they have a discord

#

Or anything related to what you are trying to attempt

#

And can you even hook on macos?

sick crane
#

yeah MacForge does that

burnt niche
#

Right don know man

#

My bad

sick crane
burnt niche
#

Right

#

You want to see how to set values to a readonly property

sick crane
#

yeah

misty cradle
#

if u can't set

#

just hook the getter

sick crane
burnt niche
#

Words of the great dghost- Properties are usually synthesized with an instance variable, unless all the access methods are implemented. So if the class has specified an implementation for the getter than there won't be a instance variable.

If that method always returns the same value than all you need to do is hook it and make sure your changes only apply once, every other time, it should be returning your previously changed value. Which you can do by creating your own instance variable (or another property) that you setup once.

misty cradle
burnt niche
#

Good luck my friend.

sick crane
#

hmm

#

well thanks

#

objc is harder than I thought

burnt niche
#

Lmfao

#

Learn app development first

sick crane
#

actually I don't even have an objc experience

burnt niche
#

Exactly

sick crane
#

I'm used to using swift

#

lol

burnt niche
#

More the reason to start doing it

#

The same principles

sick crane
burnt niche
#

Show me the code

sick crane
#

first error that something I saw earlier

burnt niche
#

Post the code. Error does not help

sick crane
burnt niche
#

Lmfao

#

You are using nsstring wrong

sick crane
#

oh wait

#

I'm dumb lol

burnt niche
#

NSString *value =

#

Right

#

It will still give error

sick crane
#

wut

burnt niche
#

Because value is not declared i think

#

Are you make that value your self right?

sick crane
#

yeah

burnt niche
#

Okay

sick crane
#

wait

burnt niche
#

Make it a property

sick crane
#

wdym making value myself

burnt niche
#

Are you creating that string?

sick crane
burnt niche
#

does it give an error

sick crane
#

no

burnt niche
#

Okay so it should be good

sick crane
burnt niche
#

So there is no init method

sick crane
#

yeah

#

but I didn't defined

burnt niche
#

What line of code does it show it on

sick crane
#

that yellow underbar

burnt niche
#

Did you interface it

sick crane
#

in header

#

I just copied the header

burnt niche
#

Okay did you state the method there?

misty cradle
sick crane
misty cradle
#

don't use id

burnt niche
#

^

misty cradle
#

for init methods

#

use instancetype

sick crane
#

that's not my code

misty cradle
burnt niche
#

It doesnt matter

#

Id is any object

sick crane
#

it was extracted

burnt niche
#

Rename it to instancetype

sick crane
misty cradle
burnt niche
#

(Id) ostitlestring returns a nsstring

#

So therefore. Id is nsstring

#

(NSString *) ostitlestring

sick crane
burnt niche
#

Yup thats fine

sick crane
#

is it okay?

burnt niche
#

Yes

sick crane
#

okay thanks

#

wow I'm feeling like I'm actually doing objc thing

#

fuck

burnt niche
#

If you hook a method. How do you return original state of the method using macforge

#

?

#

-(void) method {
%orig;
}

#

This is how its done in logos

sick crane
burnt niche
#

Oh okay

#

So the return type of the method with the argument name

sick crane
#

yeah I think

burnt niche
#

Good luck man

#

Might want to start doing objective c app development before hand

#

Because you need to understand the language before you fuck with it

#

Take it from me

sick crane
#

but I don't know what course to start with

burnt niche
#

Start by learning and doing

#

Let me link you

sick crane
#

thanks

burnt niche
#

After this. Start developing and googling questions

#

Start by making simple things

#

And learning UIKit

#

Look at apple documentation

#

You can open up documentation from within xcode and also look at apples website

#

Good luck

sick crane
burnt niche
#

Its a really good starting point for learning objc

#

Its what most people are going to recommend

#

You do not need a course

#

And make sure you go day by day. Its not a race

sick crane
#

okay

burnt niche
#

It takes time to learn. You are not gojng to learn in a day

#

Its going to take months.

sick crane
#

yeah objc has weird syntax so

burnt niche
#

Its your choice. Wether you are more interested in ios dev or mac os

#

I would personally go with IOS

sick crane
#

okay

#

umm thanks

burnt niche
#

no prob

#

Should be pretty easy for you since you said you already know swift

sick crane
#

hmm

#

still objc syntax is not coming to my head

#

lol

tepid olive
#

it's impressive to me people still learn objc in 2020, jb community rly out here using decade old languages for everything

burnt niche
#

Keep in mind. Swift is built around objc

#

Its ideal to use objective c for tweak dev. But there are tweaks that are also built using swift which is not the ideal thing to do at the moment. In the future that might change @tepid olive

#

And objective-c is not that bad

tepid olive
#

syntax tho uhh

sick crane
burnt niche
#

Not really a big deal after you get used to it. If you are coming from swift then it looks wierd. Since swift reads basically like english

#

Do you not like the syntax because you have to type it. Or its difficult to read?

sick crane
#

difficult to read

burnt niche
#

True. Its just like any lanugage. Once you understand it, then its easier to read

#

Just like a language you speak.

#

It just matters what you are used to

sick crane
#

I hooked that shit

nocturne yacht
burnt niche
#

@sick crane good job!

sick crane
tepid olive
#

MacForge

tepid olive
sick crane
granite frigate
tepid olive
#

not sure if it's allowed, but i'm using a swift array and a text view in swiftui that's running in ForEach. when i call the text view like this: Text(Array[index]) the compiler throws an error if the array is started empty. is there any way i can add a thing that makes it default to another value if the index value isn't available?

tepid olive
#

ty

granite frigate
#

is obj-c useful for anything other than tweak dev

tepid olive
#

bruh

#

duh

#

most apps are still written in objective c

#

cli tools for macos/ios are as well

granite frigate
#

? arent most apps in swift now

tepid olive
#

no

granite frigate
#

damn

tepid olive
#

if you download apps from the app store, a large amount will be on objetive c

granite frigate
#

thats cool

#

thought objc was a dead thing tbh

#

im dumb

tepid olive
#

swifts promotion by apple is relatively new

tepid olive
granite frigate
tepid olive
#

true

nimble parcel
granite frigate
nimble parcel
#

as for CLIs I’ve seen very few objc ones; most are C/C++ and Swift is becoming common too

tepid olive
#

Swift CLI tools nfr

granite frigate
#

woeis

#

guess its a dying/dead language lol

tepid olive
#

depending on the types of projects youre looking at

#

yes and no

#

swift is higher level wrapper

#

objc is also pretty high level

#

but it will not die

#

C has been around since like 1970

#

and its still used a bunch

#

been 50 years

granite frigate
#

mfw C older than everyone on the server

tepid olive
#

yes

granite frigate
#

i see conflicting opinions on whether objc will die Thonk obviously there wont be a clear cut answer so im gonna rephrase

#

what are the uses of objc that are popular today

lapis vessel
#

I'll be honest, new apps being developed in objc seems to be few and far between

tepid olive
#

true

#

i still think there are definitely more objc apps in existence than swift apps

#

like

#

on the app store that i use day to day

tulip belfry
#

Just did acid

tepid olive
#

ok

#

i just fucked your mom too

tulip belfry
#

oh wow

misty cradle
tulip belfry
#

lol

tepid olive
#

do <@&ROLE>

#

put in that number

#

press enter

gaunt mesa
#

i know snapchat uses objc tho mostly cuz they haven't finished their swift migration from what i heard

tepid olive
#

discord

gaunt mesa
#

discord uses react native

#

but okay

tepid olive
#

paypal

#

i’m just listing non swift apps

#

and the apps i use daily

#

only swift app i know i use daily is music app, and it’s 1/2 swift

#

still has objc and other.. stuff

#

literally

grim sparrow
#

Apollo

tepid olive
#

i think tune track is swift?

grim sparrow
#

It is

tepid olive
#

i don’t use reddit any more tbh

#

too cringe

#

google translate nfr

#

i be using that for spanish

grim sparrow
#

lol

tepid olive
#

iirc all the google suite apps are objc?

#

idk what they are

#

but i doubt swift

gaunt mesa
#

dart

tepid olive
#

wtf

#

dart

grim sparrow
#

They’re the funky Google thing

tepid olive
#

no wonder they are so shit

grim sparrow
#

I can’t remember the name

#

lol

tepid olive
#

they all feel clunky

grim sparrow
#

Yep

tepid olive
#

and like they were made for androids

#

which they were

grim sparrow
#

If you open the classroom app on slow internet, it won’t

#

Open

#

It’ll just hang forever

tepid olive
#

ik

grim sparrow
tepid olive
#

i used school wifi

#

before

grim sparrow
#

I had to stop using school WiFi

tepid olive
#

yeah the google apps are inspectable with flex

#

so they like

#

use some sort of thing

grim sparrow
#

The MAC address I was using for staff network was taken out the filter, and the student network is capped at 50/50 for 1400 students

tepid olive
#

ok

#

i extracted wifi password from a school macbook

#

so

grim sparrow
#

That’s how I got my login

gaunt mesa
#

wow school password

tepid olive
#

i used the staff wifi back in public school

#

lol

grim sparrow
#

A retired staff laptop I was given

tepid olive
#

i just gave myself admin and looked at keychain lmfao

#

retards

#

let’s fucking go i did well on spanish finals

grim sparrow
#

Yeah mine wouldn’t allow that

tepid olive
#

it was spoken too

#

epic

grim sparrow
#

they have some intelligence

tepid olive
grim sparrow
#

I just had a staff laptop that had the network saved

#

So some fun in powershell == password + mac

tepid olive
tepid olive
#

windows

#

?

grim sparrow
#

Yeah

tepid olive
#

we have macs at our school

#

like 2012 macbooks

grim sparrow
#

CMD is blocked for everyone except admins

#

But powershell isn’t

tepid olive
#

LMAO

grim sparrow
tepid olive
#

bro this girl sitting next to me is using high sierra

#

how

grim sparrow
tepid olive
#

high sierra hot

grim sparrow
tepid olive
safe laurel
#

Hello! I was wondering how tweaks such as LowBatteryBanner and LowPowerBanner "know" when the device is at 20/10 percent in order to send the notification?

#

Like what header/public api method could I call?

tepid olive
#

they either hook what sends the alert or hook what sets the percentage

#

there is no public api

restive ether
#

nfr.api

tepid olive
#

the apis are private

#

private frameworks

safe laurel
#

Is this the header that send the alert? SBAlertItemsController.h

#

Or is this it? SBLowPowerAlertItem

#

Or is it neither?

tepid olive
#

try and find out

#

we do not know off the top of our heads

safe laurel
#

Thats fair

#

So I tried hooking SBAlertItemsController and used the method - (void)activateAlertItem:(id)item and then made an if statement for checking if SBLowPowerAlertItem was a class of SBAlertItemsController, but it did nothing :/

#

Unless I need to make an else statement and have what I want it to do be in the if and in the else

tepid olive
#

why would the SBLowPowerAlertItem be a item controller?

#

does that class even interface with the controller class?

safe laurel
#

That is SBLowPowerAlertItem.h

tepid olive
#

so your answer is no

#

it does not

safe laurel
#

Ah

tepid olive
#

so there is no chance that the low power alert item will be an alert item controller

#

instead, try checking if the item argument is a SBLowPowerAlertItem

safe laurel
#

So would the if statement be this then? if ([item isKindOfClass:[objc_getClass("SBLowPowerAlertItem") class]])

unkempt seal
#
%hook SpringBoard
- (void)applicationDidFinishLaunching:(id)application {
  %orig;
  [[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(batteryLevelChange:) 
    name:@"UIDeviceBatteryLevelDidChangeNotification"
    object:nil];
  [[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(batteryStateChange:) 
    name:@"UIDeviceBatteryStateDidChangeNotification"
    object:nil];
}

%new
- (void)batteryLevelChange:(NSNotification *)notification {
  if ([[UIDevice currentDevice] batteryState] == 2) { // batteryState==2 means it is charging, batteryState==1 should be discharging. You probably want to check only if not charging.
    if ([[UIDevice currentDevice] batteryLevel] == 20) {
      // Insert your code here
    }
  }
}

%new
- (void)batteryStateChange:(NSNotification *)notification {
  if ([[UIDevice currentDevice] batteryState] == 2) {
    // Use this to detect when a charger is plugged / unplugged
  }
}
%end
restive ether
#

sane

half walrus
#

so u can install websites as apps now on windows 10 w/ edge

#

like the whole thing apple was tryna do on ios except it actually works

#

so discord/spotify work native here now

#

finally got the system reinstalled after a week lol

#

edge still sucks for everything else but firefox finally put out a windows arm build

restive ether
#

mozilla keeps screwing itself

#

it’s pretty sad

lethal kayak
#

ok but wen eta windows on linux kernel

restive ether
lethal kayak
tepid olive
#

rip

#

wtf

#

fake burrito

mystic summit
#

is there a way to search the contents of all files in a folder with filza?

twilit jungle
#

grep

safe laurel
#

@unkempt seal Thank you so much!

twilit jungle
mystic summit
#

but grep searches a file does it not?

twilit jungle
#

No, grep searches for content in specified path. you can do a recursive search to check all files in a folder.

tepid olive
misty cradle
#

snow

#

@tepid olive hello 📸 pls

restive ether
#

i’m waiting

tepid olive
restive ether
#

i don’t want it woeis

indigo peak
restive ether
#

we’re getting somewhere between 8-11 inches

misty cradle
indigo peak
#

im getting anywhere from 6 in to a foot and a half

tepid olive
misty cradle
tepid olive
half walrus
#

ok

misty cradle
#

@half walrus true

#

it went up hte past month

#

from 9k to 20k

#

damn POG

#

monero at 154

#

i need this to go to 2k

tepid olive
#

Thank you coinbase earn 😄

#

i only put in like 40-50 of my own money

misty cradle
#

@tepid olive i took a big L

#

when it was 12k i put half into other coin

#

i wouldve had maybe triple or double my money ifi kept

#

pain

#

is ok XMR is rising at least too

tepid olive
#

Don't worry, I got paid $500 in bitcoin when it was at 12k and immediately withdrew it 🙃

misty cradle
#

f

restive ether
#

sus

grizzled plaza
#

hi guys i want to make a tweak to stop an app from connecting to a site

grim sparrow
grizzled plaza
#

i am on ios13 and i want to mod it, where do i start?

#

i mean an app sorry

grim sparrow
#

wym a site connecting to a site

#

oh right

#

you could probably get away with just hooking nsurlsession blind

grizzled plaza
#

so i have an amazbit fit, and it uses the mi fit app to connect to a site to update the firmware, but i want to stop it from trying to check for the firmware and connect, should i ask the android people for mabye the api or something?

#

that sounds exactly like what i need

#

i captured the url with app firewall, does it make it easier to see the process?

#

sorry im a noob and idk if these are stupid q, but i want to develop my first tweak lol

tardy narwhal
#

if you have something like pihole just block the target addresses and that should suffice for the private realm.
besides that, it’s very ambitious and great to see your motivation but do you know any objc or just looking for quick ways to jam together a tweak?

grizzled plaza
#

well i can do hosts but i guess i want to start making stuff like this that i think other people will want

tardy narwhal
#

not to sound disheartening but you’ll have to know objc unless you’re after quick clout & jamming together (potentially) fucked up tweaks. No one will complain if they’re private, however for public release please do consider having polished work to your personal best extent.

grizzled plaza
#

i dont know any programming, but i think if i make it as a non flex tweak or something it may be able to patch other peoples without a jailbreak

#

should i just use flex and port it

tardy narwhal
#

with that premise it would probably be best if you’d just make a flex patch and release that

grizzled plaza
#

i want to learn programming but i never had motivation because everything i wanted was made lol

#

so yes i want to start learning

tardy narwhal
#

i mean, you’re free to start learning C and then jump to objective-c, but you’d preferably start with something easier like Java

#

you can go with python as well but Java’s inherent object-oriented nature will aid your understanding and the vast resource-pool of great instructions is helpful

#

since your target language for tweaks currently (objc) is just C with fancy objects

grizzled plaza
#

could i just figure it out? i've done some scripting before, i thought that i could just look at the process in a terminal, and figure out which one to disable from the calls

tardy narwhal
#

in general with something as network pentesting your approach would work on a trivial level, this is reverse engineering. Dump the app, find the method and hook, to put it in layman’s terms.

#

which is why the focus of my advise it to not jump boat, but instead polish your skillset

surreal mountain
#

yeh true

#

i jumped straight into it

#

regret it highly

tardy narwhal
#

i’d reiterate though, if you’re after a quick solution just publish a flex patch if you’re able to @grizzled plaza

grizzled plaza
#

sounds like i should just make a flex tweak lol

tepid olive
#

you have the most vile name I've ever seen on discord, congrats

grizzled plaza
#

yeah i will do this slowly, should i sttart with android dev since its java based?

#

i noticed the quality of tweaks is much better now and more of them since ios 10

surreal mountain
#

well

#

i personally like python but tahts very different kek

tardy narwhal
#

don’t focus on an operating system just because of the language, it won’t change the language’s perks and behavior, you can just code on your pc with ease

surreal mountain
#

java is a good strart

lethal kayak
#

java is good because of the syntax. but annoying as fuck to setup even with an ide

surreal mountain
#

how i started learning objc ^

grizzled plaza
#

that was the worst jailbreak i ever had, and this ios 13 one feels like magic like how ios 6 had everythig i wanted, i was wondering if it was from maybe tweaks being easier to make with swift or if it was checkra1n that allowed more people to have jb phones

lethal kayak
#

swift isn't really used in tweaks

#

as of now

surreal mountain
#

it can be

#

easy

tardy narwhal
#

tweaks haven’t changed from back then

lethal kayak
#

yes it can be but it's not

#

except for app tweaks

grizzled plaza
#

oh so it has nothing to do with it, just more developers, you think it sfrom checkra1n?

lethal kayak
#

which aren't really "tweaks" per se

tepid olive
#

@primal perch muted loser

lethal kayak
#

because it's more accessible now

#

to new devs

#

there's more documentation

surreal mountain
#

theos can actually compile swift

#

by default now i think

lethal kayak
#

i know that

narrow mason
#

Shepgoba speak if you are not retard

lethal kayak
narrow mason
#

F

surreal mountain
#

@primal perch

#

L

grizzled plaza
#

oh cool! where are these documents

surreal mountain
#

ok so

tardy narwhal
#

on the internet, a google search away. theiphonewiki is still your home

narrow mason
#

what’s google

tardy narwhal
#

if you’re after objc

surreal mountain
#

do you just want this one tweak/project or do you want to continue something like tweak or app dev

grizzled plaza
#

ok cool, yeah i mean i thought it was a repo where you all went like stackexchaneg

narrow mason
#

No that’s googol

lethal kayak
#

google this dick

narrow mason
#

not sure tbh lol

tardy narwhal
#

No, you can just search for the language “Logos” on github and you’ll find plenty of tweaks with or without documentation

lethal kayak
#

ok time to eat bbq fried chicken sandwich

narrow mason
#

True

grizzled plaza
#

ok so iphonewiki and logos

#

thanks

tardy narwhal
#

are you gonna learn or just jam something together

narrow mason
grizzled plaza
#

well im gonna jam this together and when i learn more i will rewrite it

lethal kayak
#

would recommend learning objc first

tardy narwhal
#

I’m not looking forward to your tweak

narrow mason
#

Bad start

tardy narwhal
#

and I sincerely hope you exit this community soon

lethal kayak
grizzled plaza
#

you said i should just use flex to maek it though

lethal kayak
#

read that

#

follow it, practice, become good objc coder

tardy narwhal
#

flex patch != “proper” tweak

lethal kayak
#

then make tweak

narrow mason
#

that doesn’t suggest just jamming shit together not knowing

grizzled plaza
#

well thats my point, i want to make sure i don't have anxiety from my watch updating, i guess if you are worried about poor quality tweakrs i wont releaes it

tepid olive
#

fuck

#

i didn't intentionally ping lmfao

#

srry

narrow mason
#

It’s not about releasing it or not, it’s the fact that it’s your work and you should hold yourself to certain standards

tepid olive
#

mr @.objc

narrow mason
#

And not be content releasing garbage

#

Even if it’s only for you

tardy narwhal
#

and people don’t need low quality things pushed in their faces imho

grizzled plaza
#

over the long term i want to make it better but i do want to do something about it now

#

so you thinki i shoujd just block it via hosts or someting and then learn better and make it properly

tardy narwhal
grizzled plaza
#

you guys are right, i don't expect to be a clout chaser but if i make something i should make it good

raven elbow
#

whoping

#

what

#

i dont know any tweak development

grizzled plaza
#

i have the 2nd edition of c with me, and i have a lot of android phones so i will give java a try

raven elbow
#

im just an idiot who is on discord and plays minecraft all day

#

oh

tardy narwhal
narrow mason
#

@vivid dew shalom

#

I have returned from a 2 week jewish conversion therapy

#

@restive ether shalom [redacted]

#

to become jewish or to become a different religion
@tepid olive Yes

restive ether
#

who

narrow mason
#

Yes

#

I got branded with the star of David

half walrus
#

so there's a rainmeter build for arm64

grim sparrow
half walrus
#

mood

grim sparrow
#

ha I wish

misty cradle
pearl sail
#

Why are you guys trying to fuck yourselves?

safe laurel
#

Hello! if im using an if statement like this: if ([[UIDevice currentDevice] batteryLevel] == //value) what would the value be? Would it be 70 (for 70%) or .70 (for 70 as a float), since the apple docs say the batteryLevel property is a float.

twilit jungle
#

The docs explain the range

safe laurel
#

So I would compare using 0.0 - 1.0 ?

twilit jungle
#

Yes

safe laurel
#

Okay, thank you!

#

One last thing, do I need to put the 0 in front of the 0.70, or can I just put .70

half walrus
#

doesn't matter

#

compiler will figure it out and if it cant it'll yell at you and tell you what to fix

grim sparrow
pearl sail
#

Make it yell at you tho

grim sparrow
#

Exactly

pearl sail
#

Like Warhammer heathen yelling

narrow mason
tepid olive
#

but why are you making fun of jews like that

half walrus
narrow mason
#

Please don’t use the J word

burnt niche
#

day 1 of hacking with swift

narrow mason
#

:frjew:

tepid olive
#

@narrow mason

#

[redacted]

#

react with nfr to join the cult

gaunt mesa
#

burrit0z warned

#

true

tepid olive
#

multiple times

#

@gaunt mesa today alone 150

#

for piracy, slurs, and filter bypass

#

The way to not spend all day on discord is to turn off notifications and completely close it on your computer thats the only way

#

shmoo cat profile pic but coal version

#

i do not see that message

#

i think i’ve got the whole spectrum for warns now

#

nsfw, slur, filter bypass, piracy

#

if retard was filtered like half of the server would be banned by now fr

burnt niche
#

Facts

#

😂😂

tepid olive
#

I know

#

I'm just saying

#

technically that's a slur too

#

no

#

yes it is

#

if you think r word is a slur youre retarded

#

they used to filter cracker which makes even less sense lol

#

cracker is both a slur and piracy talk

#

so

tepid olive
#

it is not a slur

#

retard

#

then cracker is not a slur either

#

it is

#

look it up

#

random white guy on the internet being offended by someone calling them a cracker != decades of racism and slavery which is the history behind the n word

#

and I'm white so fr

#

cracker is related to slavery dumbass

#

it literally means a white person who owned and beat slaves

#

whip cracking

#

cracker

tepid olive
#

yes

#

you think slave owners deserve respect

#

are you fucking braindead

#

george washington owned slaves

#

that was the standard for the time

#

culture and society has changed

#

I'm literally white but like black people coming up with a term for people who literally held them in inhumane conditions as fucking slaves isn't even nearly as bad as the n word which was already used long before against black people

tepid olive
#

yes?

#

thats true?

tepid olive
#

i never said it wasnt slur

#

oh i was talking about the retard word

#

thats why i said
"it is not a slur"
"retard"

i was talking about "retard"

#

lmao

#

i wasnt talking about n word

#

the "retard" message was referring to the word retard

#

I know that just saying you're a bit hypocritical but whatever it's pointless to argue more over this lmao

#

you are now cancelled sir

pearl sail
#

Carson please chill out br0

tepid olive
#

the council of twitter elders is not happy

#

someone explain why tf i have two iphones on me rn

#

three actually

granite frigate
#

rich

nocturne yacht
tepid olive
#

who

nocturne yacht
tepid olive
pearl sail
#

carson is cancelled br0

tepid olive
#

cancelled

granite frigate
#

cancelled

tepid olive
#

#CarsonIsOverParty

#

✊😔

pearl sail
tepid olive
#
  • insert hayden outdoors emote here *
#

ive been summoned

pearl sail
granite frigate
tepid olive
#

so i’m canceled for saying retard isn’t slur

#

?

#

dream is cancelled for that so you too sir

granite frigate
#

dream sucks tho

tepid olive
#

TRUE

granite frigate
#

inb4 dream stans murder me

tepid olive
#

dream youtube

granite frigate
#

nightmare youtube

tepid olive
#

so tldr; n word is slur, r word is not

#

old dream vids are fine

#

his new stuff is cringe

#

and his mrbeast shit

#

smhh

granite frigate
#

^

#

hes trying too hard

burnt niche
#

Did someone say n word isnt a slur😂

granite frigate
#

noone said that

#

read

pearl sail
#

I'm a slur for broke bitches

tepid olive
#

time to open impact and play some anarchy

burnt niche
#

I have a warning for saying the n word

tepid olive
#

lmao same

burnt niche
#

Which is dumb😂

tepid olive
#

how is it dumb

burnt niche
#

I mean i m not saying it in a derogatory way

tepid olive
#

9b

#

what

#

is that shit

burnt niche
#

I just said “n what”

pearl sail
#

anarchy minecraft server

tepid olive
#

i did l2x9 before but it got corrupted, gave up on it

granite frigate
#

isnt it 2b2t

#

the oldest anarchy server

tepid olive
#

anarchy is too messy

burnt niche
#

You can say chigga

granite frigate
#

inb4 slur+filter bypass

tepid olive
granite frigate
#

true

tepid olive
granite frigate
#

true

tepid olive
#

also stop the fitfam cringe

granite frigate
#

WHATS UP FITFAM

tepid olive
#

haven't tried 9b but apparently all servers i try are constantly ddosed or broken

#

WHY IS THE INTERNET SHIT

tepid olive
#

lmao

#

ok

restive ether
burnt niche
#

Bruh

#

Rich chigga

#

Stop playing

#

That is not a slur

tepid olive
burnt niche
#

I am not going to get canceled for saying chiggamonkaS

tepid olive
#

well

narrow mason
#

Say it a fourth time maybe it will be funny

tepid olive
#

demolished

burnt niche
#

Wassup my chiggas

narrow mason
#

Damn, it wasn’t

#

Sad

indigo peak
burnt niche
tepid olive
#

lmao

indigo peak
#

interesting

restive ether
tepid olive
#

thats not the server its 9b9t @indigo peak

indigo peak
#

so is this just 2b2t but + 7

tepid olive
#

true

#

actually

#

its 2b2t + 7b + 7t

indigo peak
#

actually

#

4.5(2b2t)

tepid olive
indigo peak
#

ill just stick to my hypixel

#

skywars, bedwars and skyblock are better then that

burnt niche
#

does anyone know how to get rid of the top right view thing

#

in storyboard

#

its really annoying

late ridge
#

storyboard

burnt niche
#

its so annoying

narrow mason
tepid olive
#

TRUE

#

i hate racists

#

racism is not cool

#

and is a big issue in our society

narrow mason
#

Burrit0z you are the biggest racist i know

tepid olive
#

wtf how

late ridge
tepid olive
#

you say because i am asian?

narrow mason
#

You said [redacted]

tepid olive
#

false

narrow mason
#

And you are underage too which instantly makes you racist

late ridge
narrow mason
#

What is she thinking about

#

Nvm she ded

tepid olive
#

i never said the full n word

#

i said first 3 letters

narrow mason
#

Sir you know you’re under oath right

pearl sail
sick crane
pearl sail
narrow mason
#

I think that is

#

Unfunny

pearl sail
#

Not funny didn't ask

granite frigate
#

3090 1tb

#

ok

late ridge
tepid olive
#

ok and?

#

how does mean i am racist

#

you have no context

narrow mason
#

The jury has already decided

sick crane
late ridge
#

oh

tepid olive
#

we all know i can’t be racist

#

i’m not white

#

i’m asian

#

only whites can be racist

#

all whites are

#

/s obviously

late ridge
tepid olive
#

did you just intjbeer

late ridge
#

it has

#

and always will be

tepid olive
#

did you not see the /s

#

did you not see the fr

restive ether
tepid olive
#

just like uhh

#

true

#

they can mean anything and everything

late ridge
#

they

#

fr is they

tepid olive
#

fr and uhh

#

i’m talking about two emotes

late ridge
#

lol

tepid olive
#

fr is a boy of course

#

bro playing hypixel w shaders so good

#

cum

#

sues shaders good

#

literally so smooth and nice

#

i think my wifi card is broken

#

or at least the drivers

#

i have to reset it daily cause it drops connection

burnt niche
tepid olive
#

good job

burnt niche
#

thanks bro

tepid olive
#

gotta respect the effort, you’re already putting in more than most people do

burnt niche
#

yup, trying to learn swift and also gain a substancial understanding of UIKit and then maybe i will start doing tweak development as well later on.

#

shoutout to @twilit jungle

tepid olive
#

true

#

ghost

#

@tepid olive what the fuck is ur gpu

#

for seus

rain falcon
#

shut upo

mystic summit
#

is there a way to get the parent object of something with objective-c? Google says no but all this is like 4 years old, I don't know if they changed anything since then

twilit jungle
late ridge
#

?

#

super

burnt niche
#

@twilit jungle i am trying to do a challenge listed in hacking with swift. so what i am trying to do is tell my DetailViewController which holds the UIImageView to change the title of the navigation bar as Picture X of Y. where X is the selected image index in the array and Y is the total number of images. if i selected 2nd image out of 9 images. it would show as Picture 2 of 9.

#

the problem is i have to get that information from my mainviewcontroller to my detailviewcontroller

#

in my detail view controller i wrote let vc = ViewController() print(vc.pictures.count) where pictures is an array that holds the name of all images in my project and the console shows it as an empty array

#

but in my main view controller i can print that same array count with no problem

twilit jungle
#

You created a new instance

gaunt mesa
burnt niche
#

what would be the right way of going about this

tepid olive
#

lmao

#

i get 100 fps still

#

with vsync it feels fine

gaunt mesa
#

imagine seus

tepid olive
#

smh

burnt niche
#
class ViewController: UITableViewController {
    var pictures = [String]()
    override func viewDidLoad() {
        super.viewDidLoad()
        title = "Storm Viewer"
        navigationController?.navigationBar.prefersLargeTitles = true
        let fm = FileManager.default
        let path = Bundle.main.resourcePath!
        let items = try! fm.contentsOfDirectory(atPath: path)
        for item in items {
            if item.hasPrefix("nssl") {
                pictures.sort()
                pictures.append(item)
                
                
                // this is a picture
            }
        }```
#

this is the main view controler

gaunt mesa
burnt niche
#

from which i want to print picture.count from

tepid olive
#

so fucking false

#

not racist

gaunt mesa
tepid olive
#

i am friends with a black kid

#

how can i be racist

gaunt mesa
#

the fuck

gaunt mesa
tepid olive
#

he actually lived in Uganda for a few years, he shared his experiences and it was very interesting

burnt niche
#

I want to get the count of the array named picture from that viewcontroller to my other view controller

#

So i want to access that property from my other view controller

tepid olive
#

so you see

#

i am not racist

gaunt mesa
#

will that count ever update?

tepid olive
#

racism bad

gaunt mesa
#

or will it stay constant in the view controller

burnt niche
#

The count will not update

tepid olive
#

i make offensive jokes but i do not discriminate based on your race

gaunt mesa
#

i mean if u want u could do proper MVC

burnt niche
#

Theres select number of images so it will be a constant

gaunt mesa
#

or just pass in that count in the constructor

tepid olive
#

jk love you

gaunt mesa
#

wow so i stated my race and my last name

burnt niche
#

This is my first project lol

gaunt mesa
#

both of which are public

gaunt mesa
tepid olive
#

? i said renai tare?

gaunt mesa
#

just make an alternative constructor

burnt niche
#

No idea what that is

gaunt mesa
#

make ur own init method

#

are u using storyboard for this

burnt niche
#

Yes

tepid olive
#

i’m confused

gaunt mesa
#

u don't have to hide my name its literally public

tepid olive
#

oh

gaunt mesa
#

ok dopeboy one sec

burnt niche
#

picture x of y

tepid olive
#

picture of hentai

burnt niche
#

x is the selected picture index and y is the total number of images

tepid olive
#

ohhhh

#

like that

gaunt mesa
#

the beginning of this will get u waht u need

burnt niche
#

okay thanks alot

gaunt mesa
#

np

tepid olive
#

what the fuck

#

why do dreams videos have so many cries

#

55 million

#

bro dream fans need to stop

#

fr but you’re not wearing glasses

#

:frblurry:

grim sparrow
lime pivot
granite frigate
#

when i try building with dragon i get

error: -fobjc-arc is not supported on platforms using the legacy runtime

burnt niche
#

Well i try using dragon with dragon

#

It says command not found

#

@granite frigate you need to check your makefile. Or whatever dragon uses