Unofficial Content
  • This documentation is valid for:

Introduction

Swift is the newest programming language from Apple.

Quoting Apple's site about Swift:

Swift is a robust and intuitive programming language created by Apple for building apps for iOS, Mac, Apple TV, and Apple Watch. It’s designed to give developers more freedom than ever. Swift is easy to use and open source, so anyone with an idea can create something incredible.

It is not yet a replacement for Objective-C, since both languages will continue to work, but it is gaining more relevance and it already is the preferred choice for Apple's sample code and documentation.

GeneXus and Swift

In GeneXus we are committed to providing access to the newest technologies so that our users don't have to worry about these changes. That's why GeneXus 15 includes a Swift Generator for iOS Applications.

This generator replaces the Objective-C generator.

 

Have in mind that:

  • If the Swift generator is used in an Environment that was previously generated with Objective-C, a backup of the iOS folder will be created.
    A warning message will be displayed in the GeneXus Output window:
Swift generator will be used, moved Objective-C generated files to [old_files_backup_path].

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant