Swift version: 5.10
Here are my top ten tips to help you switch from coding Java on Android to coding Swift on iOS:
LinearLayout
, use UIStackView
. If you're looking for Fragments, use UIViewController
. If you're looking for Volley, use Alamofire. If you're looking for Java, you should head back to Android.XCTest
for unit testing and UI testing. Downside: iOS has nothing like the Application Exerciser Monkey.iOS is a really fun platform to code for, and Apple's devices have a huge amount of power available to you. Have fun!
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's all new Paywall Editor allow you to remotely configure your paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
Available from iOS 9.0
This is part of the Swift Knowledge Base, a free, searchable collection of solutions for common iOS questions.
Link copied to your pasteboard.