Skip to main content
Top

2016 | OriginalPaper | Chapter

6. Adding a More Complex UI

Authors : Radoslava Leseva Adams, Hristo Lesev

Published in: Migrating to Swift from Flash and ActionScript

Publisher: Apress

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In this chapter we dig deeper in designing user interfaces (UIs) for iOS with Swift by making another app. There is a lot of ground to cover both on the UI front and on the language front. To make things easier, we will point out some of the Swift concepts that may look new or strange, explain them along the way, and let you know where you can find more information.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
It is worth making a distinction between receiving and handling user interaction events. The table view receives but does not handle gesture events. Instead, it uses delegation to hand over this task (we covered the Delegation design pattern in Chapter 5). A delegate needs to conform to the UITableViewDelegate protocol.
 
2
You can do better than calling assert here and extend the Array type to use indices in a safe way. If you are up for a little challenge, do a search on the Internet for “Swift safe array indexing” to see some cool implementations.
 
Metadata
Title
Adding a More Complex UI
Authors
Radoslava Leseva Adams
Hristo Lesev
Copyright Year
2016
Publisher
Apress
DOI
https://doi.org/10.1007/978-1-4842-1666-8_6

Premium Partner