What is the advantage of using swift programming in ios development. I am a newbie in mobile app development that is why I am asking this. If you have any video tutorials or pdf docs of swift programming please share it here, it would be really helpful for me
Hi @robertallen778. This is a forum for Corona Labs products (Corona SDK, CoronaCards, Corona Enterprise). We use Lua here as our primary language, though Swift can be used with CoronaCards and Enterprise.
This is not the right forum to discuss the pros and cons of Swift. There are other Apple centric sites that would serve better to ask this question.
Rob
On a related note, Whats the point in Swift? I mean, surely you’d just want to use Objective-C?
Objective-C is a blend of C and SmallTalk. It is two languages blended into one. Sometimes you use C syntax, other times you use SmallTalk syntax. This makes Objective-C hard to learn.
Objective-C is very verbose. It’s wordy. It’s a lot of typing.
Swift is designed to get around this by producing language with less syntax and a more consistent language.
The second part of the equation is the iOS SDK. In Objective C, much of the verbosity comes from the SDK. The interface to iOS SDK API calls have been somewhat simplified.
The combination should make developing iOS, OS X and tvOS apps easier.
Rob
Hi @robertallen778. This is a forum for Corona Labs products (Corona SDK, CoronaCards, Corona Enterprise). We use Lua here as our primary language, though Swift can be used with CoronaCards and Enterprise.
This is not the right forum to discuss the pros and cons of Swift. There are other Apple centric sites that would serve better to ask this question.
Rob
On a related note, Whats the point in Swift? I mean, surely you’d just want to use Objective-C?
Objective-C is a blend of C and SmallTalk. It is two languages blended into one. Sometimes you use C syntax, other times you use SmallTalk syntax. This makes Objective-C hard to learn.
Objective-C is very verbose. It’s wordy. It’s a lot of typing.
Swift is designed to get around this by producing language with less syntax and a more consistent language.
The second part of the equation is the iOS SDK. In Objective C, much of the verbosity comes from the SDK. The interface to iOS SDK API calls have been somewhat simplified.
The combination should make developing iOS, OS X and tvOS apps easier.
Rob