macmade has blogged 7 posts

  • private

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

  • Mac, iPhone, iPad

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

  • TYPO3, Campaign Monitor

    TYPO3 et Campaign Monitor

    Pour les utilisateurs du CMS TYPO3 et du service Campaign Monitor, netinfluence vient de publier une extension TYPO3 permettant l’enregistrement d’une adresse email dans une liste gérée par Campaign Monitor depuis le frontend TYPO3. Cette extension peut-être téléchargée depuis le site officiel de TYPO3. La documentation est également disponible directement en ligne.

  • blocks

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

  • numbers

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

  • Objective-C

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