Answer the question
In order to leave comments, you need to log in
What is iOS programming?
Hello.
I have been programming in PHP, JS, CSS, HTML for many years.
There was a need to create a mobile application for iOS.
At first I looked in the direction of phonegap, after a detailed study of the product, I realized that in the future I would face big restrictions in development and decided to abandon this idea.
Bought a Mac, started reading The Swift Programming Language, watched some introductory YouTube tutorials.
After that, several questions arose:
1. Is learning only Swift enough, or will you still have to learn Objective-C?
2. Do I need / should I use some kind of framework'i / ready-made solutions or do I write everything myself?
3. How to organize the code inside the project, as I want, or are there any rules?
In fact, there are many more questions, not all of which can be formulated.
You understand that when you switch from PHP, the programming paradigm itself changes.
Please tell me what to read, what to read, maybe some really valuable resources?
Thanks a lot!
Answer the question
In order to leave comments, you need to log in
Have you tried doing it? Sit down and do it, you will immediately find answers to all your questions. All your questions about architecture - there are also special books for this. Too lazy to read? Look for cycles of articles ala "we write something in Swift in 21 days" and learn.
At the moment without Objective-C it is difficult as far as I know.
Sorry if not on time.
1. You need to study Objective-C. There are a LOT of questions when writing code, most of which are answered in Objective-C on stackoverflow.com. Run the name of any class will crash stackoverflow.com. You won't be able to learn Swift from YouTube. It's too early for Swift, a year or two and we'll all switch to it.
2. As elsewhere, there are a lot of libraries and wrappers.
3. The main difference is that the device is small!!! This is not funny, but gimoroyno, for example: 20 pictures are loaded, if one by one (synchronously), then the user will not understand the expectation and delete the program, you need to load several (asynchronously) and the first picture will be loaded # 4, then # 2 # 6 # 12 and so on and everything is slow. It is impossible to build cycles: 1. Loading; 2. Processing; 3. Conclusion. You need to do everything at the same time, it turns out "machine on the strings." And then an error will fly out and after a couple of hours of searching, you will find out that only 8 download threads are possible and 2 are occupied by the system :).
When I had a similar problem five years ago (plus Android development), I chose the cross-platform Corona SDK framework. It's simple, based on the easy-to-learn Lua language. And if you don’t need to develop something completely magical, then just the thing. And the same code (with minimal differences) - right under iOS/Android/Win/Mac. And almost instantaneous viewing of the results, by the way - here people with experience in assembling for Android are usually baptized fiercely.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question