has blogged 7 posts
-
Méthodes privées en Objective-C
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at: http://www.gnu.org/copyleft/fdl.html Introduction En Objective-C, contrairement à de nombreux autres langages orientés objet, le concept de méthode privée n’existe pas en tant que tel. Dans la déclaration de l’interface d’une classe, il est possible de définir une visibilité pour les variables d’instances. Par ...
Tags: apple, best practices, cocoa, design pattern, Développement, ipad, iPhone, mac, objective-c, tipsPosted in create
-
Mac / iPhone / iPad – Détecter l’inactivité de l’utilisateur avec I/O Kit
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at: http://www.gnu.org/copyleft/fdl.html Il peut être parfois utile, dans une application, de savoir si l’utilisateur est en train d’intéragir avec son ordinateur (ou téléphone) ou s’il est parti boire un café. Cet article explique comment détecter l’inactivité de l’utilisateur. Il s’applique aussi bien ...
-
Closure et fonctions lambda en Objective-C
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at: http://www.gnu.org/copyleft/fdl.html Définitions De nombreux langages de scripts permettent l’utilisation de «fonctions lambdas», ou encore «fonctions anonymes», concept généralement lié au phénomène appelé «closure». Il s’agit de concepts bien connus notamment en JavaScript, ActionScript, ou encore en PHP depuis sa version ...
Tags: apple, avant-garde, best practices, cocoa, communauté, Développement, iPhone, mac, méthodes, objective-c, open source, optimization, tips, tools, XCodePosted in create
-
Comprendre les nombres à virgule flottante
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at: http://www.gnu.org/copyleft/fdl.html Représentation binaire des nombres à virgule flottante à précision simple Les nombres à virgule flottante à précision simple sont le plus souvent appelés ‘float’ ou ‘real’. Ils sont longs de 4 bytes, et sont formés de la ...
-
Implémentation d’un système de délégation multiple en Objective-C
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be found at: http://www.gnu.org/copyleft/fdl.html 1. Qu’est-ce que la délégation? La délégation est un système présent dans plusieurs classes du framework Cocoa, sous Mac OS X (et donc également sur iPhone OS). Ce système permet aux dévelopeurs d’applications Cocoa d’interagir en fonction d’événement précis liés aux ...



