Swift version: 5.2
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 Would you describe yourself as knowledgeable, but struggling when you have to come up with your own code? Fernando Olivares has a new book containing iOS rules you can immediately apply to your coding habits to see dramatic improvements, while also teaching applied programming fundamentals seen in refactored code from published apps.
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.