fond
logo cours
Programmation sur Plateforme Mobile - companion web site
Week 2 — Objective-C

Summary of the week

This week is dedicated to the Objective-C language.

When presenting Objective-C, we decided to detail how to deal with memory management. This is important to know since such mechanisms can be used in different situation when automated mechanisms (such as ARC — Automated Reference Counting) are not available. Management of images in Xcode is also detailed.

Finally, two exercises are proposed to practice this language.

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 debsemaine2 Semaine 2 Le langage Objective-C seq021 Prolégomènes debsemaine2->seq021 seq022 Objective-C, écrire ses propres classes seq021->seq022 seq023 Objective-C, attributs de classes et «properties» seq021->seq023 seq024 Objective-C, le cycle de vie d'un objet seq021->seq024 seq022->seq023 seq023->seq024 seq025 Objective-C, quelques classes de base utiles seq024->seq025 seq026 Désactiver ARC dans Xcode seq024->seq026 seq025->seq026 seq027 Objective-C, le compteur de références seq026->seq027 seq027->seq023 seq028 Objective-C, autorelease pool seq027->seq028 seq028->seq023 seq029 Objective-C, gestion mémoire et génération des accesseurs seq028->seq029 seq029->seq023 seq030 Gestion des images dans Xcode seq029->seq030 seq031 Particularisation des boutons avec StoryBoard seq030->seq031 seq033 «Abacus» en Objective-C + mode Kindergarten seq031->seq033 seq034 «ColorChart» en Objective-C + mode Kindergarten seq031->seq034 seq033->seq034 finsemaine2 105 mn max de vidéo seq033->finsemaine2 seq034->seq033 seq034->finsemaine2

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).