objective-c - I know java and want to write a simple ios app. Should I use Objective-C or swift?
世界只因有你2017-05-02 09:34:05
0
10
877
In addition, as long as this app can be used on my jailbroken phone (to receive some push notifications), there should be no need to pay anything, right?
If you are new to iOS development and writing a new app, it is recommended to choose swift. obj c is an old-era language, and Apple is now promoting swift.
If you want to receive notifications, you have to pay, otherwise you cannot create a push certificate. However, you may still be able to use some tricks to escape from jail.
If you have come into contact with kotlin, you will feel comfortable using swift. If not, the difficulty of learning Swift and Kotlin is about the same, while OC is easier to get started.
However, I think the most critical thing is not the syntax, but the memory processing mechanism is completely different, and the Layout layout mechanism is completely different. This is the difficulty.
SWIFT is recommended because its syntax is closer to JAVA habits. OC is the way of C language, and JAVA programmers will not be too accustomed to writing.
Just write it in Java. There are plug-ins on eclipse. Develop ios apps directly. It’s a very powerful language, why give up.
I think it will be easier to read Swift if you know Java, but it will be quite difficult to read OC
Installation on mobile phone requires registration of a development account
Wouldn’t it be better to write for Android?
If you are new to iOS development and writing a new app, it is recommended to choose swift. obj c is an old-era language, and Apple is now promoting swift.
If you want to receive notifications, you have to pay, otherwise you cannot create a push certificate. However, you may still be able to use some tricks to escape from jail.
If you have come into contact with kotlin, you will feel comfortable using swift. If not, the difficulty of learning Swift and Kotlin is about the same, while OC is easier to get started.
However, I think the most critical thing is not the syntax, but the memory processing mechanism is completely different, and the Layout layout mechanism is completely different. This is the difficulty.
OC is obsolete, Swift
SWIFT is recommended because its syntax is closer to JAVA habits. OC is the way of C language, and JAVA programmers will not be too accustomed to writing.
Future trend, Swift3.0 written