5

I know there are a couple of apps already in development, but I kinda want to have a go to learn how to build an app in Swift. So what are some good resources to learn?

all 8 comments
sorted by: hot top controversial new old
[-] NotSteve_@beehaw.org 5 points 1 year ago

Do you have programming experience? I can't tell from your post if you're looking for API resources or general programming resources. If it's your first time programming, making an app like that might be a bit of an overwhelming first project unfortunately

[-] DJDarren@beehaw.org 2 points 1 year ago

Yeah, I’m a complete novice. So maybe I’ll set my sites somewhat lower…

[-] NotSteve_@beehaw.org 2 points 1 year ago

You can start with smaller pieces of the app! Like one thing you can do is to try learning a bit of Python and play around by making simple requests to a Lemmy API to print off a list of posts from the front page.

For learning I'd recommend checking out Codecademy. I got my start with programming there like 10 years ago and I feel like I owe a lot to the website. They have fully interactive tutorials and give you a great starting point.

Good luck! :)

[-] fiah@discuss.tchncs.de 3 points 1 year ago
[-] Stumblinbear@pawb.social 2 points 1 year ago

Genuinely wouldn't recommend it. But if you do decide to go through the pain, I generated an OpenAPI spec you can use to codegen the API in whatever language you want. I haven't fully tested it, but it should be pretty close. I'm using it to make my own cross-platform client!

[-] fishcharlie@eventfrontier.com 2 points 1 year ago

I build a Swift package for the Lemmy API: https://github.com/rrainn/Lemmy-Swift-Client.

Beyond that, the SwiftUI tutorial is fairly good: https://developer.apple.com/tutorials/swiftui/.

But just searching on YouTube and Stack Overflow about how to do things goes a long way too. Google a lot as well.

[-] DJDarren@beehaw.org 1 points 1 year ago
this post was submitted on 17 Jun 2023
5 points (100.0% liked)

Programming

13269 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS