Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "swiftui"
-
WWDC was last night. Joined my companies "iOS" slack channel this morning expecting to see lots of activity about SwiftUI, Combine, Federated Login, New iPad updates ... but no. The only comment
"Does anyone else feel like the event artwork is lazy and uninspired?"
... I am just fundamentally in the wrong company12 -
Why is it that the internet is full of fucking "getting started" and "crashcourse" and "essentails" bullshit, but when you're looking for some truly deep stuff like all the ins & outs of MacOS native app devevlopment using SwiftUI, there's NOTHING!
For fuck's sake. People really only demand superficial fake knowledge and don't require depth at all?!!11 -
Let’s see what are you currently working on guys 🤘🏻
I’m currently fixing bugs from an internal app from my job... it’s the first we do a fully functional application using SwiftUI21 -
I am currently reverse-engineering the devRant Avatar APIs, I think I understand all of it now. I am curently making comprehensive documentation on it and I think I will release it (if the developers of devRant allow me to do so).
I am reversing it as part of my project of making a devRant client built in SwiftUI, because I really want to make an avatar editor on there, it’s gonna be SICK!18 -
YEARS of practice. I had my ups and downs. I learned myself, left it myself early on, came back to it half a year later, continued since. Figured out that web development is not the hell I wanted and quickly fell in love with iOS development in Swift. Been riding on the wind ever since, learning something new every single day.
Today I made something that some time ago took me about 3 weeks in less than an hour. If that’s not an improvement, I don’t know what that is.
Practice makes perfect, don’t forget that. Although it sounds ridiculously cheesy and shit, this is how it goes.
I’m getting drafted tomorrow. Well, this is not exactly a full on draft and joining the IDF (Israeli Defense Force) right NAO, it’s what we call a rough draft: I am having a psychotechnical examination so the military can understand how much I need to go to a cybersecurity unit instead of going to Gaza LMAO.2 -
Not 3 weeks have passed and I am almost at where I was in the SwiftUI version of my app but this time in UIKit. Conclusion? SwiftUI slowed me down, significantly.10
-
Worst?
When I had to restart my entire progress on the devRant iOS rewrite because I had to switch from SwiftUI to UIKit.
Best?
It took me less than 3 weeks to come to the point in development where I abandoned SwiftUI. The app was already pretty fucking big but I managed to remake it completely in less than 3 weeks. It is my single most proudest achievement that I ever got. I didn’t give up and I powered through. I think it’s safe to assume that I am decent in iOS app development :D6 -
I am almost done with the recyclable Rant View structure, but now I understand the matters at hand.
Dynamic height UICollectionViewCell’s.
I am not even using UIKit, I’m using SwiftUI.
Welp, off to StackOverflow and days of UIViewRepresentables shenanigans.
Fuck.3 -
This is it, today I am getting one of my wisdom teeth removed. Wish me luck! Also, if I’m talking here, I just wanna say: I am officially moving away from SwiftUI and switching to UIKit. I’ve been constantly building my way around SwiftUI, constantly bypassing SwiftUI and adding UIKit layers around it. It has been such a headache using SwiftUI to construct such complicated views and I figured that the pace of development has been rapidly declining due to SwiftUI. I am going to rewrite the whole app again but in UIKit (it’s still native).
(Also, Floyd, sorry for the mistag again. :P)6 -
I can't believe how simple SwiftUI is compared to UIKit.
Unbelievable how Apple screwed up with the simplicity (or lack thereof) with UIKit.1 -
JoyRant build 12:
* Copy Rant Link
* Customize Accent Color
That’s right! You can pick your favorite color as the accent color of JoyRant in the settings.
The new ColorPicker in SwiftUI is really great!5 -
Best: working with F#, hands down the best development experience ever for me!
Worst: this is a little harder, but I’d give the questionable honor for any experience working with one of our juniors on JS... or just working with SwiftUI - mobile development hasn’t been a good experience for me by any means so far, but working with SwiftUI has been the worst of them.
// EDIT: I just remembered it was this year when I needed to do stuff with Python. EASILY the worst development experience... -
Checking Swift UI, first thoughts: goodbye Xcode freezing from storyboard loading ....
Sadly yes that's what I like about using Swift UI 😂😂😂
Oh and that binding, finally apple showed some love 😒 -
I chose iOS with SwiftUI because almost anything else that I had to deal with in the past professionally made me want to rip out my hair periodically every few hours.
I’d never want to go back. -
Didn't see any rant about Apple's new declarative UI framework: SwiftUI. Looks a lot like Flutter, but I'm still new in flutter so I'm not sure that way of creating UI, why is it better that way? Or it is just like Oranges and Apples, choose what fits your needs?9
-
https://imgur.com/a/U99lBrd
excuse the Imgur link.
This is how a detailed rant view would look like.
The top picture is going to be the full big picture of the avatar of the user who posted the rant / collab / whatever14 -
I needed to do some maintenance on some of the text views in my app because they were sticking to the center and not to the leading edge (aka left).
This is harder than it sounds like.1 -
If you want to experience the definition of hell, do iOS Development and use their only allowed IDE called "Xcode". It was made by Satan himself. You're welcome.9
-
Not sure if I'm sick or I'm actually in my full sense ....
I reached a point that I'm sick of all that million language to work with, maintain lots of shit, and started to consider using Flutter and get it done.
But I still don't like to build on these things because well, for the lots of trouble I went through in React Native, and yet again in Flutter having to modify several plug-ins because they don't support a simple feature as simple as Authentication header
I thought I'd give SwiftUI a go, but for a starter:
1. No pull to refresh
2. No proper grid (aka UICollectionView)
3. Comparing SwiftUI with Flutter, Google did a better job at keeping things simple
4. Only iOS 13+ supports SwiftUI, their statistics might show 90% using latest update, but that's their target audience, mine might be 90% not on latest update ...
Just some midnight thougts filled with frustration and wondering: How do web developers keep up with those "look ma! I made a new JS Framework!!" their life must be tougher .... -
Im an android /java native coder
And a swift/xcode native coder
But I also expert in angular ...
Sooooooo ???
Shall I go android/kotlin+ios/swiftUI
Or ionic angular capacitor ?2 -
so I am trying to learn ios development. i have started with learning the basics of swift first. does anyone know of a platform to test my knowledge of swift like a website or something which would ask questions like how to create an array, get its 2nd item, iterate thorugh it ,etc , so i could understand it better?
also, my trainer is continuously asking me to confirm if i should go ahead in the course with swiftui or the old storyboard ui . I don't understand the choice here as i thought swift ui is the current standard and obvious choice . should i chose storyboard instead? are people and big corps using storyboard? is storyboard more robust than swoftui?2 -
Today I launched laravel swift. A SwiftUI-inspired spin on Laravel Livewire. https://github.com/redbastie/swift
-
Oh come the fuck on.
I’m trying to build a SwiftUI app and I can’t decrypt a video while it’s buffering using DisptchQueue? Wtf do you mean “UI must live on the main queue?” I AM running it on the main queue and it fucking crashes!!!
Please, if anybody knows how to use DispatchQueues correctly in Swift, HIT ME UP! I NEED SERIOUS HELP IN THIS BITCH -
Dafuck is that swiftUI, already hate reactjs to the bones, and now here we go again, i must code those nested views hell and predict the data channels.
This is killing agile programming bigtime1 -
This SwiftUI is the best thing since sliced bread. It makes my development time faster and the clients happier. There are some weird things that can get frustrating, but I like where this entire paradigm shift is going.
Why was I so hesitant to adapt to newer techs? I became stagnant for the last 3-5 years. I will rise again.4 -
I started working on a small declarative PHP framework inspired by SwiftUI using some Laravel components. Wondering how much interest people might have in it.
https://github.com/kejojedi/breeze13 -
When I started with javascript long time ago I thought JS is weird enough, but Swift is even more.
Why does it allow me to compile the code below? In the last line `taker.take(view)`, the `view` is an optional passed into a function that expects non-optional `some View`. How is this even possible!? I tried to change the view with some the other protocols, then it complaints, why the `View` protocol is different from the others?
```
import SwiftUI
struct ViewStruct: View {
var body: some View {
Text("")
}
}
class Taker {
func take (_ view: some View) {
print(view)
}
}
class Container {
var view:ViewStruct?
func createView() {
view = ViewStruct()
}
func test() throws {
let taker = Taker()
guard let viewIsView = view else {
throw fatalError()
}
taker.take(view)
}
}
```7 -
Hey iOS devs 👋🏻 have you ever released an app internally without the Apple developer program? 🤔I need an alternative and I hope you can help me please3