Hans
TSDThe Swift Den
•Created by Hans on 10/14/2023 in #swift-development
Running Shell on iOS simulator w/ Swift
A Swift function that can run Shell ONLY on iOS simulator devices, it's similar to Objective-C's
spawn()
function but is compatible to iOS, unfortunately, the app breaks or freezes after you execute the function via manual like pressing a button. I'm still figuring out how to run sudo and making it automatically type in the root's password, and for people who thinks this is an exploit, the function contains posix_spawn
, waitpid
, and Pipe()
which is added by default.1 replies
TSDThe Swift Den
•Created by Hans on 12/10/2022 in #swift-development
How do you make an expiration system

1 replies
TSDThe Swift Den
•Created by Hans on 11/12/2022 in #swift-development
How do you set the text font to the custom font?

13 replies
TSDThe Swift Den
•Created by Hans on 11/9/2022 in #swift-development
How do you make an Add Button that adds a Text? - Already Answered ✅

35 replies
TSDThe Swift Den
•Created by Hans on 11/1/2022 in #swift-development
How do you add spacing in LazyVGrid

6 replies