fond
logo cours
Programmation sur Plateforme Mobile - companion web site
Week 3 — Swift

Summary of the week

This week is dedicated to the Swift language.

When presenting Swift, we focus here on the typing system, classes and the mechanisms on which ARC (Automatic Reference Counting) relies to handle memory management.

Finally, two simple exercises are presented to let you practice.

Practice

Several exercises are proposed this week. A link to the presentation of this practical work is provided, as well as explanation videos are available here:

Map of the week

It is also available here as a pdf file. You may access to the videos via the map, or thanks to the table of content on your left (with also some related information). Significations of logos and colore is explained below the map.

%3 debsemaine3 Semaine 3 Le langage Swift seq035 Prolégomènes debsemaine3->seq035 seq036a Le Playground d'Xcode seq035->seq036a seq036b Swift, les types de base seq036a->seq036b seq037 Swift, structures de contrôle seq036b->seq037 seq038 Swift, tuples et filtrage seq037->seq038 seq039 Swift, les «optionals» seq038->seq039 seq040 Swift, écrire ses propres classes seq039->seq040 seq041 Swift, à propos de l'héritage seq040->seq041 seq041->seq040 seq042 Swift, gestion de la mémoire et cohérence seq041->seq042 seq043 Petite conclusion sur Swift seq042->seq043 seq044 «Abacus» en Swift + mode Kindergarten seq043->seq044 seq045 «Quizz» en Swift + mode Kindergarten seq043->seq045 seq044->seq045 finsemaine3 109 mn max de vidéo seq044->finsemaine3 seq045->seq044 seq045->finsemaine3

Logos and colors associated to videos

On the maps Icons in pages Meaning
Video with a red background Presentation of main concepts
Video with a green background Presentation of optional elements (prerequisite shown on the web page)
Video with a blue background Analysis of examples
Video with a purple background Demonstrations
Video with an orange background Presentation of an exercise to be solved by the students

Plain arrowsrepresent the order of sequences and dotted arrows represent a dependency between two sequences when it is not motivated by the precedence order (typically, when an example seen in a previous video is enriched in a later one).