vendredi 30 janvier 2015

Which are new Feature in Swift? [on hold]

1:



Swift is, in large part, a reimagining of the Objective-C language using modern concepts and syntax. During its introduction, it was described simply as "Objective-C without the C".



2:



Swift does not create pointers and other unsafe accessors by default, contrary to Objective-C which makes widespread use of pointers to refer to objects, as well as their traditional use in embedded C-language code, although pointers can be created explicitly.



3:



Additionally, Objective-C's use of a Smalltalk-like syntax for making method calls has been replaced with a dot-notation style and namespace system more in common with other modern languages derived from C, like Java or C#.



4:



Swift introduces true named parameters and retains key Objective-C concepts, including protocols, closures and categories, often replacing former syntax with cleaner versions and allowing these concepts to be applied to other language structures, like enums.



New Ultimate Concepts



  1. Types, variables and optionals

  2. Libraries, runtime and development

  3. Debugging and other elements

  4. Memory management




Aucun commentaire:

Enregistrer un commentaire