Swift version: 5.6
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 Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!
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.