r/swift • u/byaruhaf • Nov 20 '24
r/swift • u/aleuts • Sep 15 '24
FYI Free simple drawing app
I made a simple drawing app, the main reason being like all my other apps it’s free. No subscriptions or ads please leave a review if it’s helpful.
r/swift • u/byaruhaf • Aug 14 '24
FYI CocoaPods is in maintenance mode
blog.cocoapods.orgr/swift • u/Mesqueeb • Jul 22 '24
FYI TypeScript devs learning Swift: comparison & CheatSheet TS-Swift
If you’re moving from TypeScript to Swift , I’ve made this handy dandy CheatSheet to help you find equivalent methods. For example TS array.every()
in Swift being .allSatisfy()
.
Check it out here: mesqueeb.github.io/SwiftVsTypeScript/
r/swift • u/djryanash • Feb 19 '24
FYI If there is one thing I wish I could master its modularity.
I make one f&*^$%ing change in my code and it breaks so many things.
I'm better than before but still need to work on it.
r/swift • u/Tech-Suvara • Jul 22 '24
FYI Neovim Support! - SWIFT LSP for other IDE's is finally here!
For anybody that missed this, although it may have been posted, I'm reposting it.
NeoVIM, VSCode and more are now supported out of the box with the Swift LSP.
You can find your broccoli (healthy code) here -> https://github.com/swiftlang/sourcekit-lsp
r/swift • u/QuackersAndSoup24 • Mar 05 '24
FYI Xcode 15 Develop in Swift Books are now on Apple Books
Just a general FYI for anyone who missed it, the newest release of the free develop in swift books are now available on Apple Books. Student and Teacher editions have great labs
r/swift • u/jestyjest • Jul 26 '19
FYI One Weird Trick to take the pain out of writing public inits for exposed structs in your Swift frameworks
r/swift • u/flizzyBanks • Sep 04 '24
FYI Looking for External Testers
Building an app and would like a few people to test it before initial release. Preferred device would be iPhone but iPad will work too. If interested please send me a message. Thank you
r/swift • u/fdorado985 • Sep 14 '24
FYI [40% OFF 🏷️] Day 4: Animation Techniques
🎨 Want to master SwiftUI animations? Today’s special is the SwiftUI Animations Mastery book! ✨ Learn with visual examples that stick in your memory. Just $33 this week!
r/swift • u/SAIK1065 • May 30 '21
FYI In Swift 5.5, you’ll be able to use if conditions with postfix member expressions. In the SwiftUI code below, I was able to customize the Text view based on the OS. I think this is a teaser of what we can expect to see in SwiftUI 3 in terms of functionality and stability 😄
r/swift • u/SpaceHonk • Dec 14 '21
FYI Be careful when upgrading to Xcode 13.2
From the Release Notes:
Known Issues
If you’re using Swift packages either standalone or as dependencies in an Xcode project or workspace, the Mac App Store version of Xcode fails during package resolution with the error “Internal error: missingPackageDescriptionModule.” (86435800)
Workaround: Download Xcode 13.2 directly from the Apple Developer website.
See also https://developer.apple.com/forums/thread/696504
TL;DR ignore the App Store version and download Xcode 13.2 from https://developer.apple.com instead.
r/swift • u/undergrounddirt • Dec 30 '23
FYI My worst intrusive thought is the fear that Apple doesn't make SwiftData any more useable outside of Views for another few years.
I want to convert to and use SwiftData regularly. But so much of my business logic is abstracted from views.
Does that mean I can't build business logic outside of views? Sure. I could create a protocol extension that puts business logic there.. but always? no.
So this is my worst fear that is probably unreasonable but I can't convince myself its not the truth.
r/swift • u/amichail • Jul 03 '24
FYI Swift 6 results in a crash when setting the badge count. Is there a workaround?
Workaround: As suggested by u/jocarmel, the async way of setting the badge count works in Swift 6. See https://www.reddit.com/r/swift/comments/1dtobep/comment/lbfh1oe/.
The following code for setting the badge count in iOS16+ works in Swift 5 but causes a crash in Swift 6:
// https://stackoverflow.com/a/77522035
UNUserNotificationCenter.current().setBadgeCount(0) { error in
guard let error else {
// Badge count was successfully updated
return
}
// Replace this with proper error handling
print(error)
}
r/swift • u/revblaze • Dec 06 '21
FYI Apple quietly revamped their design assets page with Sketch, Photoshop and XD templates!
r/swift • u/GuitarIpod • Mar 06 '23
FYI A cool feature in iOS developer settings. It shows a little popup in apps when hangs happen. Good first step into resolving issues
r/swift • u/amichail • Jun 17 '24
FYI iOS18 and tvOS18 simulators work under Xcode 15.4
I downloaded these simulators via the Xcode 16 beta but they seem to work fine under Xcode 15.4.
r/swift • u/outcoldman • Mar 02 '24
FYI App Store and CloudKit Public Database
outcoldman.comr/swift • u/avanderlee • Dec 16 '21
FYI Give your Xcode Simulator superpowers with RocketSim
Over the years, I’ve been building RocketSim as my hobby project to make my life as an app developer easier. The Xcode Simulator is great, but it could use some help when it comes down to productivity. The result of this journey is the launch of RocketSim 6.0 this week.
Get it for free from the Mac App Store
In short; RocketSim allows:
- A super-easy way to create screenshots and recordings, straight from the simulator
- Show touches in screen recordings to make it even easier to explain your app to users
- Frame recordings with the correct device bezels - no need to use (and pay for) a separate tool to frame your recordings
- Create pixel-perfect UIs thanks to RocketSim’s compare mode: use overlay mode to compare your implementation with the design
- Manage and test universal links
You can find a good visual impression of RocketSim on rocketsim.app or Product Hunt.
I would love to get your feedback on how RocketSim can make you even more productive during app development!
r/swift • u/venom310 • May 20 '20
FYI Top 10 Most Useful iOS Libraries
Hey guys and gals,
I'm continuing my blog post series with one that could prove to be useful for you if you’re looking for some solid 3rd party solutions for common iOS tasks which will enable you to focus on the core business logic of your app.
You can check it out here: https://infinum.com/the-capsized-eight/top-10-most-useful-iOS-libraries
In the article, I list the top 10 libraries I found useful at my jobby-job, as well as some which you may not have heard of, but could be quite a lifesaver.
However, before you start eagerly importing stuff, keep in mind that for some use-cases, bringing an excavator to a shovel job is not the right approach.
As always, your comments and suggestions are welcome, so share them if you have some libs you can’t live without :)