DÉVELOPPER UNE APPLICATION IOS

Size: px
Start display at page:

Download "DÉVELOPPER UNE APPLICATION IOS"

Transcription

1 DÉVELOPPER UNE APPLICATION IOS PROTOCOLES CE COURS EST EXTRAIT DU LIVRE APP DEVELOPMENT WITH SWIFT 1

2 PROTOCOLES Définit un plan de méthodes, de propriétés et d'autres exigences qui conviennent à une tâche ou une fonctionnalité particulière Quelques protocoles de la bibliothèque standard Swift : CustomStringConvertible Equatable Comparable Lorsque vous adoptez un protocole, vous devez implémenter toutes les méthodes requises. AFFICHAGE AVEC CUSTOMSTRINGCONVERTIBLE let string = "Hello, world!" print(string) let number = 42 print(number) let boolean = false print(boolean) Hello, world! 42 false 2

3 AFFICHAGE AVEC WITH CUSTOMSTRINGCONVERTIBLE SANS CustomStringConvertible class Shoe { let color: String let size: Int let haslaces: Bool let myshoe = Shoe(color: "Black", size: 12, haslaces: true) print(myshoe) Shoe AFFICHAGE AVEC WITH CUSTOMSTRINGCONVERTIBLE class Shoe: CustomStringConvertible { let color: String let size: Int let haslaces: Bool 3

4 AFFICHAGE AVEC WITH CUSTOMSTRINGCONVERTIBLE class Shoe: CustomStringConvertible { let color: String let size: Int let haslaces: Bool init(color: String, size: Int, haslaces: Bool) { self.color = color self.size = size self.haslaces = haslaces var description: String { return "Shoe(color: \(color), size: \(size), haslaces: \(haslaces)) let myshoe = Shoe(color: "Black", size: 12, haslaces: true) print(myshoe) Shoe(color: Black, size: 12, haslaces: true) COMPARER DES INFORMATIONS AVEC EQUATABLE struct Employee { let firstname: String let lastname: String let jobtitle: String let phonenumber: String struct Company { let name: String let employees: [Employee] 4

5 COMPARER DES INFORMATIONS AVEC EQUATABLE let currentemployee = Session.currentEmployee let selectedemployee = Employee(firstName: "Jacob", lastname: "Edwards", jobtitle: "Marketing Director", phonenumber: " ") if currentemployee == selectedemployee { // Enable "Edit" button COMPARER DES INFORMATIONS AVEC EQUATABLE struct Employee: Equatable { let firstname: String let lastname: String let jobtitle: String let phonenumber: String static func ==(lhs: Employee, rhs: Employee) -> Bool { // Logic that determines if the value on the left hand side and right hand side are equal 5

6 COMPARER DES INFORMATIONS AVEC EQUATABLE struct Employee: Equatable { let firstname: String let lastname: String let jobtitle: String let phonenumber: String static func ==(lhs: Employee, rhs: Employee) -> Bool { return lhs.firstname == rhs.firstname && lhs.lastname == rhs.lastname COMPARER DES INFORMATIONS AVEC EQUATABLE let currentemployee = Employee(firstName: "Jacob", lastname: "Edwards", jobtitle: "Industrial Designer", phonenumber: " ") let selectedemployee = Employee(firstName: "Jacob", lastname: "Edwards", jobtitle: "Marketing Director", phonenumber: " ") if currentemployee == selectedemployee { // Enable "Edit" button 6

7 COMPARER DES INFORMATIONS AVEC EQUATABLE struct Employee: Equatable { let firstname: String let lastname: String let jobtitle: String let phonenumber: String static func ==(lhs: Employee, rhs: Employee) -> Bool { return lhs.firstname == rhs.firstname && lhs.lastname == rhs.lastname && lhs.jobtitle == rhs.jobtitle && lhs.phonenumber == rhs.phonenumber TRIER LES INFORMATIONS AVEC COMPARABLE let employee1 = Employee(firstName: "Ben", lastname: "Atkins", jobtitle: "Front Desk", phonenumber: " ") let employee2 = Employee(firstName: "Vera", lastname: "Carr", jobtitle: "CEO", phonenumber: " ") let employee3 = Employee(firstName: "Grant", lastname: "Phelps", jobtitle: "Senior Manager", phonenumber: ") let employee4 = Employee(firstName: "Sang", lastname: "Han", jobtitle: "Accountant", phonenumber: " ") let employee5 = Employee(firstName: "Daren", lastname: "Estrada", jobtitle: "Sales Lead", phonenumber: " ") let employees = [employee1, employee2, employee3, employee4, employee5] 7

8 TRIER LES INFORMATIONS AVEC COMPARABLE struct Employee: Equatable, Comparable { let firstname: String let lastname: String let jobtitle: String let phonenumber: String static func ==(lhs: Employee, rhs: Employee) -> Bool { return lhs.firstname == rhs.firstname && lhs.lastname == rhs.lastname && lhs.jobtitle == rhs.jobtitle && lhs.phonenumber == rhs.phonenumber static func < (lhs: Employee, rhs: Employee) -> Bool { return lhs.lastname < rhs.lastname TRIER LES INFORMATIONS AVEC COMPARABLE let employees = [employee1, employee2, employee3, employee4, employee5] let sortedemployees = employees.sorted(by:<) for employee in sortedemployees { print(employee) Employee(firstName: "Ben", lastname: "Atkins", jobtitle: "Front Desk", phonenumber: " ") Employee(firstName: "Vera", lastname: "Carr", jobtitle: "CEO", phonenumber: " ") Employee(firstName: "Daren", lastname: "Estrada", jobtitle: "Sales Lead", phonenumber: " ") Employee(firstName: "Sang", lastname: "Han", jobtitle: "Accountant", phonenumber: " ") Employee(firstName: "Grant", lastname: "Phelps", jobtitle: "Senior Manager", phonenumber: " ") 8

9 TRIER LES INFORMATIONS AVEC COMPARABLE let employees = [employee1, employee2, employee3, employee4, employee5] let sortedemployees = employees.sorted(by:>) for employee in sortedemployees { print(employee) Employee(firstName: "Grant", lastname: "Phelps", jobtitle: "Senior Manager", phonenumber: " ") Employee(firstName: "Sang", lastname: "Han", jobtitle: "Accountant", phonenumber: " ") Employee(firstName: "Daren", lastname: "Estrada", jobtitle: "Sales Lead", phonenumber: " ") Employee(firstName: "Vera", lastname: "Carr", jobtitle: "CEO", phonenumber: " ") Employee(firstName: "Ben", lastname: "Atkins", jobtitle: "Front Desk", phonenumber: " ") CRÉER UN PROTOCOLE protocol FullyNamed { var fullname: String { get func sayfullname() struct Person: FullyNamed { var firstname: String var lastname: String 9

10 CRÉER UN PROTOCOLE struct Person: FullyNamed { var firstname: String var lastname: String var fullname: String { return "\(firstname) \(lastname)" func sayfullname() { print(fullname) DÉLÉGATION Permet à une classe ou à une structure de transférer des responsabilités à une instance d'un autre type protocol ButtonDelegate { func usertappedbutton(_ button: Button) class GameController: ButtonDelegate { func usertappedbutton(_ button: Button) { print("user tapped the \(button.title) button.") 10

11 DELEGATION class Button { let title: String var delegate: ButtonDelegate? // Add a delegate property to the Button init(title: String) { self.title = title func tapped() { self.delegate?.usertappedbutton(self) // If the delegate exists, call the delegate // function 'usertappedbutton' on the delegate DELEGATION let startbutton = Button(title: "Start Game") let gamecontroller = GameController() startbutton.delegate = gamecontroller startbutton.tapped() 11

12 class Button { let title: String var delegate: ButtonDelegate? // Add a delegate property to the Button init(title: String) { self.title = title func tapped() { self.delegate?.usertappedbutton(self) // If the delegate exists, call the delegate // function `usertappedbutton` on the delegate class GameController: ButtonDelegate { func usertappedbutton(_ button: Button) { print("user tapped the \(button.title) button.") DELEGATION let musiccontroller = MusicController() let startmusicbutton = Button(title: "Play") startmusicbutton.delegate = musiccontroller let stopmusicbutton = Button(title: "Pause") stopmusicbutton.delegate = musiccontroller 12

13 class MusicController: ButtonDelegate { func playsong(_ song: Song) { print("now playing \(song.title)") func pausesong() { print("paused current song.") func usertappedbutton(_ button: Button) { if button.title == "Play" { playsong(playlist.songs.first) else if button.title == "Stop" { pausesong() TABLE VIEWS CE COURS EST EXTRAIT DU LIVRE APP DEVELOPMENT WITH SWIFT 13

14 TABLE VIEWS Une instance de la classeuitableview Une sous-classe de UIScrollView Affiche une liste d éléments Affiche une ou plusieurs données Défilement vertical et une seule colonnes, plusieurs lignes Options personnalisables TYPES DE TABLE VIEWS Contenu modifiable Contenu non modifiable Dynamique Statique 14

15 TABLE VIEW CONTROLLERS Comment en ajouter : Ajouter une instance de table view dans le view controller (code) Ajouter un table view controller à votre storyboard (Interface Builder) STYLE DE TABLE VIEW Plain Groupé 15

16 TABLE VIEW CELLS (UITABLEVIEWCELL) tableview(_:accessorybuttontappedforrowwith:) Chaque ligne est représentée par une TableViewCell Contenu de la cellule Vue accessoire In editing mode, the cell content shrinks Editing control Contenu de la cellule Contrôle de la Réorganisation PROPRIÉTÉS DE UITABLEVIEWCELL Propriété textlabel detailtextlabel imageview Description UILabel pour le titre UILabel pour le sous-titre UIImageView pour l image 16

17 UITABLEVIEWCELLSTYLE Storyboard code affichage Basic.default textlabel, imageview Subtitle.subtitle textlabel, detailtextlabel, imageview Right detail.value1 textlabel, detailtextlabel, imageview Left detail.value2 textlabel, detailtextlabel MARGE DES TABLE VIEW Mettre tableview.celllayoutmarginsfollowreadablewidth à true Default Adjusted 17

18 INDEX PATHS Accéder à une ligne dans une section indexpath.row indexpath.section Valeurs à 0 par défaut TABLEAUX ET TABLE VIEWS Collection de données de même type var emojis: [Emoji] [Emoji(symbol: Character(" "), name: "Grinning Face", description: "A typical smiley face.", usage: "happiness"), Emoji(symbol: Character(" "), name: "Confused Face", description: "A confused, puzzled face.", usage: "unsure what to think; displeasure"), Emoji(symbol: Character(" "), name: "Heart Eyes", description: "A smiley face with hearts for eyes.", usage: "love of something; attractive )] 18

19 CELL DEQUEUEING Seules les cellules visibles sont chargées Enregistre en mémoire Permet un flux fluide lors du défilement let cell: UITableViewCell = tableview.dequeuereusablecell(withidentifier: "Cell", for: indexpath) PROTOCOLES TABLE VIEW Protocole UITableViewDataSource UITableViewDelegate (optional) Description Fournit les données des sections et des lignes Personnalise l apparence et le comportement 19

20 UITABLEVIEWDATASOURCE NOMBRE DE SECTIONS Une seule section si la fonction n est pas fournie optional func numberofsections(in tableview: UITableView) -> Int UITABLEVIEWDATASOURCE NOMBRE DE LIGNE D UNE SECTION func tableview(_ tableview: UITableView, numberofrowsinsection section: Int) -> Int 20

21 UITABLEVIEWDATASOURCE CELLULE POUR UN INDEX PATH func tableview(_ tableview: UITableView, cellforrowat indexpath: IndexPath) -> UITableViewCell DELEGUÉ DE TABLE VIEW (UITABLEVIEWDELEGATE) Répondre à l interaction de la vue accesoire tableview(_:accessorybuttontappedforrowwith:) Répondre à l interaction de l utilisateur tableview(_:didselectrowat:) 21

22 RECHARGER DES DONNÉES reloaddata() Pour forcer à recharger des données REFRESH CONTROL (UIREFRESHCONTROL) override func viewdidload() { super.viewdidload() self.refreshcontrol = UIRefreshControl() self.refreshcontrol?.addtarget(self, action: #selector(refreshcontrolactivated(sender:)), for:.valuechanged)... func refreshcontrolactivated(sender: UIRefreshControl) { // Fetch data from server here tableview.reloaddata() sender.endrefreshing() //this line ends the animation 22

ios Application Development Lecture 5: Protocols, Extensions,TabBar an Scroll Views

ios Application Development Lecture 5: Protocols, Extensions,TabBar an Scroll Views ios Application Development Lecture 5: Protocols, Extensions,TabBar an Scroll Views Dr. Simon Völker & Philipp Wacker Media Computing Group RWTH Aachen University Winter Semester 2017/2018 http://hci.rwth-aachen.de/ios

More information

Chapter 22 TableView TableView. TableView ios. ViewController. Cell TableViewCell TableView

Chapter 22 TableView TableView. TableView ios. ViewController. Cell TableViewCell TableView Chapter 22 TableView TableView Android TableView ListView App 22.1 TableView TableView Storyboard Table View ViewController TableView ios Cell TableViewCell TableView Table View Cell Cell ImageView (imageview)

More information

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall Stanford Developing Applications for ios Today Drag and Drop Transferring information around within and between apps. EmojiArt Demo Drag and drop an image to get our EmojiArt masterpieces started. UITableView

More information

ITP 342 Mobile App Dev. Table Views

ITP 342 Mobile App Dev. Table Views ITP 342 Mobile App Dev Table Views Tables A table presents data as a scrolling, singlecolumn list of rows that can be divided into sections or groups. Use a table to display large or small amounts of information

More information

ITP 342 Mobile App Dev. Table Views

ITP 342 Mobile App Dev. Table Views ITP 342 Mobile App Dev Table Views Table Views The most common mechanism used to display lists of data to the user Highly configurable objects that can be made to look practically any way you want them

More information

Tables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder

Tables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Tables Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Table View Controller Table View Table Cells

More information

VLANs. Commutation LAN et Wireless Chapitre 3

VLANs. Commutation LAN et Wireless Chapitre 3 VLANs Commutation LAN et Wireless Chapitre 3 ITE I Chapter 6 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectifs Expliquer le rôle des VLANs dans un réseau convergent. Expliquer le rôle

More information

Protocols and Delegates. Dr. Sarah Abraham

Protocols and Delegates. Dr. Sarah Abraham Protocols and Delegates Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 Protocols Group of related properties and methods that can be implemented by any class Independent of any class

More information

This book contains code samples available under the MIT License, printed below:

This book contains code samples available under the MIT License, printed below: Bluetooth Low Energy in ios Swift by Tony Gaitatzis Copyright 2015 All Rights Reserved All rights reserved. This book or any portion thereof may not be reproduced or used in any manner whatsoever without

More information

Document Version Date: 1st March, 2015

Document Version Date: 1st March, 2015 7 Minute Fitness: ios(swift) Application Document Version 1.0.1 Date: 1st March, 2015 2 [7 MINUTE FITNESS: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance

More information

Stanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015

Stanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015 Stanford CS193p Developing Applications for ios Today UITextField Bonus Topic! Table View A UIView for displaying long lists or tables of data UITextField Like UILabel, but editable Typing things in on

More information

COMPLETE TUTORIAL COURSE. Learn to make tvos LE. apps with real-worldam S F

COMPLETE TUTORIAL COURSE. Learn to make tvos LE. apps with real-worldam S F HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make tvos LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Randomly Beautiful 2 www.hackingwithswift.com Setting up In this first

More information

About Transferring License Rights for. PL7 V4.5 and Unity Pro V2.3 SP1 Software

About Transferring License Rights for. PL7 V4.5 and Unity Pro V2.3 SP1 Software Page 1 of 38 Click here to access the English Cliquez ici pour accéder au Français Klicken Sie hier, um zum Deutschen zu gelangen Premete qui per accedere all' Italiano Pulse acquì para acceder al Español

More information

Social Pinboard: ios(swift) Application

Social Pinboard: ios(swift) Application Social Pinboard: ios(swift) Application Document Version 1.0.1 Date: 15 th May, 2015 2 [SOCIAL PINBOARD: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance Methods...

More information

Introductory ios Development

Introductory ios Development Introductory ios Development 152-164 Unit 5 - Multi-View Apps Quick Links & Text References What is a Delegate? What is a Protocol? Delegates, Protocols and TableViews Creating a Master-Detail App Modifying

More information

SunVTS Quick Reference Card

SunVTS Quick Reference Card SunVTS Quick Reference Card Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. 650-960-1300 Part No. 806-6519-10 January 2001, Revision A Send comments about this document to:

More information

Préparation au concours ACM TP 2

Préparation au concours ACM TP 2 Préparation au concours ACM TP 2 Christoph Dürr Jill-Jênn Vie September 25, 2014 Quelques conseils Entraînez-vous à identifier les problèmes les plus faciles. Lisez bien les contraintes d affichage : faut-il

More information

News- ipad: ios(swift) Application

News- ipad: ios(swift) Application News- ipad: ios(swift) Application Document Version 1.0.1 Date: 9 th Nov, 2014 2 [NEWS- IPAD: APP DOCUMENTATION] Important Notes:... 6 AppDelegate Class Reference... 7 Tasks... 7 Instance Methods... 7

More information

Tutorial 1 : minimal example - simple variables replacements

Tutorial 1 : minimal example - simple variables replacements Tutorial 1 : minimal example - simple variables replacements The purpose of this tutorial is to show you the basic feature of odtphp : simple variables replacement. require_once('../library/odf.php');

More information

Sun Control Station. Performance Module. Sun Microsystems, Inc. Part No September 2003, Revision A

Sun Control Station. Performance Module. Sun Microsystems, Inc.   Part No September 2003, Revision A Sun Control Station Performance Module Sun Microsystems, Inc. www.sun.com Part No. 817-3610-10 September 2003, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback Copyright

More information

Package CUFF. May 28, 2018

Package CUFF. May 28, 2018 Note -*- Encoding: utf-8 -*- Type Package Title Charles's Utility Function using Formula Version 1.5 Date 2018-05-27 Author Package CUFF May 28, 2018 Maintainer Depends R (>= 3.2.2)

More information

ios Mobile Development

ios Mobile Development ios Mobile Development Today UITableView! Data source-driven vertical list of views.! ipad! Device-specific UI idioms.! Demo! Shutterbug UITableView Very important class for displaying data in a table!

More information

Oracle ZFS Storage Appliance Cabling Guide. For ZS3-x, 7x20 Controllers, and DE2-24, Sun Disk Shelves

Oracle ZFS Storage Appliance Cabling Guide. For ZS3-x, 7x20 Controllers, and DE2-24, Sun Disk Shelves Oracle ZFS Storage Appliance Cabling Guide For ZS3-x, 7x20 Controllers, and DE2-24, Sun Disk Shelves Part No: E53670-01 June 2014 Copyright 2009, 2014, Oracle and/or its affiliates. All rights reserved.

More information

COURSE 80434: FIXED ASSETS IN MICROSOFT DYNAMICS NAV 2013

COURSE 80434: FIXED ASSETS IN MICROSOFT DYNAMICS NAV 2013 COURSE 80434: FIXED ASSETS IN MICROSOFT DYNAMICS NAV 2013 This courseware is provided as-is. Information and views expressed in this courseware, including URL and other Internet Web site references, may

More information

Réinitialisation de serveur d'ucs série C dépannant TechNote

Réinitialisation de serveur d'ucs série C dépannant TechNote Réinitialisation de serveur d'ucs série C dépannant TechNote Contenu Introduction Conditions préalables Conditions requises Composants utilisés Sortie prévue pour différents états de réinitialisation Réinitialisation

More information

Formation. Application Server Description du cours

Formation. Application Server Description du cours Formation Application Server 2017 Description du cours Formation Application Server 2017 Description Cette formation d une durée de 5 jours aborde les concepts de l infrastructure logicielle System Platform

More information

Oracle Dual Port QDR InfiniBand Adapter M3. Product Notes

Oracle Dual Port QDR InfiniBand Adapter M3. Product Notes Oracle Dual Port QDR InfiniBand Adapter M3 Product Notes Part No.: E40986-01 September 2013 Copyright 2013 Oracle and/or its affiliates. All rights reserved. This software and related documentation are

More information

Solaris 8 6/00 Sun Hardware Roadmap

Solaris 8 6/00 Sun Hardware Roadmap Solaris 8 6/00 Sun Hardware Roadmap This document is a guide to the CDs and documents involved in installing the Solaris 8 6/00 software. Note The arrangement of CDs in the Solaris 8 product is different

More information

CS193P - Lecture 8. iphone Application Development. Scroll Views & Table Views

CS193P - Lecture 8. iphone Application Development. Scroll Views & Table Views CS193P - Lecture 8 iphone Application Development Scroll Views & Table Views Announcements Presence 1 due tomorrow (4/28)! Questions? Presence 2 due next Tuesday (5/5) Announcements Enrolled students who

More information

Read me carefully before making your connections!

Read me carefully before making your connections! CROSS GAME USER GUIDE Read me carefully before making your connections! Warning: The CROSS GAME converter is compatible with most brands of keyboards and Gamer mice. However, we cannot guarantee 100% compatibility.

More information

Collection Views. Dr. Sarah Abraham

Collection Views. Dr. Sarah Abraham Collection Views Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 What is a Collection View? Presents an ordered set of data items in a flexible layout Subclass of UIScrollView (like UITableView)

More information

Collections. Collections. USTL routier 1

Collections. Collections. USTL   routier 1 Collections USTL http://www.lifl.fr/ routier 1 Premier regard sur les collections java.util Une collection est un groupe d objets (ses éléments). On trouve des collections de comportements différents (listes,

More information

ITP 342 Mobile App Dev. Collection View

ITP 342 Mobile App Dev. Collection View ITP 342 Mobile App Dev Collection View Collection View A collection view manages an ordered collection of items and presents them in a customizable layout. A collection view: Can contain optional views

More information

Apple Development Technology Workshops

Apple Development Technology Workshops Apple Development Technology Workshops Workshop 10 Table Views Building iphone Apps. Pt 2 Fall 2008 Hafez Rouzati Fall 2008 Zach Pousman Last Week UIViewControllers Organizing Content & Building iphone

More information

Classes internes, Classes locales, Classes anonymes

Classes internes, Classes locales, Classes anonymes Classes internes, Classes locales, Classes anonymes Victor Marsault Aldric Degorre CPOO 2015 Enum (1) 2 Quand les utiliser: disjonctions de cas type au sens courant (eg. type de messages d erreur, type

More information

Concilier Gouvernance et DevOps? AWS vous permet de satisfaire l'équation!

Concilier Gouvernance et DevOps? AWS vous permet de satisfaire l'équation! Concilier Gouvernance et DevOps? AWS vous permet de satisfaire l'équation! Ludovic Tressol - Directeur de l infrastructure Cloud, Gemalto Walid Benabderrahmane - Architecte Solutions, Amazon Web Services

More information

Changer Business Process avec Microsoft Dynamics CRM ebook

Changer Business Process avec Microsoft Dynamics CRM ebook Changer Business Process avec Microsoft Dynamics CRM 2013 ebook Microsoft Dynamics CRM 2013 Note: View your user profile Microsoft Dynamics CRM Online Fall 13 & Microsoft Dynamics CRM 2013 Want a short,

More information

ios Development - Xcode IDE

ios Development - Xcode IDE ios Development - Xcode IDE To develop ios applications, you need to have an Apple device like MacBook Pro, Mac Mini, or any Apple device with OS X operating system, and the following Xcode It can be downloaded

More information

5. Enterprise JavaBeans 5.3 Entity Beans. Entity Beans

5. Enterprise JavaBeans 5.3 Entity Beans. Entity Beans Entity Beans Vue objet d une base de données (exemples: client, compte, ) en général, une ligne d une table relationnelle (SGBD-R) ou un objet persistant (SGBD- OO) sont persistant (long-lived) la gestion

More information

Assignment IV: Smashtag Mentions

Assignment IV: Smashtag Mentions Assignment IV: Smashtag Mentions Objective In this assignment, you will enhance the Smashtag application that we built in class to give ready-access to hashtags, urls, images and users mentioned in a tweet.

More information

Solaris 9 9/04 Installation Roadmap

Solaris 9 9/04 Installation Roadmap Solaris 9 9/04 Installation Roadmap This document is a guide to the DVD-ROM, CD-ROMs, and documents involved in installing the Solaris 9 9/04 software. Unless otherwise specified, this document refers

More information

8.4. Mobile Platform Release Notes

8.4. Mobile Platform Release Notes 8.4 Mobile Platform Release Notes DL RELEASE NOTES WEBRATIO MOBILE PLATFORM 8.4 Copyright 2015 WebRatio s.r.l All rights reserved. This document is protected by copyright and distributed under licenses

More information

GETTING STARTED WITH IN-WALL RELAY SWITCH

GETTING STARTED WITH IN-WALL RELAY SWITCH GETTING STARTED WITH IN-WALL RELAY SWITCH This document is the property of Webee L.L.C. The data contained here, in whole or in part, may not be duplicated, used or disclosed outside the recipient for

More information

Today s Topics. Scroll views Table views. UITableViewController Table view cells. Displaying data Controlling appearance & behavior

Today s Topics. Scroll views Table views. UITableViewController Table view cells. Displaying data Controlling appearance & behavior Today s Topics Scroll views Table views Displaying data Controlling appearance & behavior UITableViewController Table view cells Scroll Views UIScrollView For displaying more content than can fit on the

More information

TP 3 des architectures logicielles Séance 3 : Architecture n-tiers distribuée à base d EJB. 1 Préparation de l environnement Eclipse

TP 3 des architectures logicielles Séance 3 : Architecture n-tiers distribuée à base d EJB. 1 Préparation de l environnement Eclipse TP 3 des architectures logicielles Séance 3 : Architecture n-tiers distribuée à base d EJB 1 Préparation de l environnement Eclipse 1. Environment Used JDK 7 (Java SE 7) EJB 3.0 Eclipse JBoss Tools Core

More information

Tutorial :.Net Micro Framework et.net Gadgeteer

Tutorial :.Net Micro Framework et.net Gadgeteer 1 Co-développement émulateur personnalisé et application pour une cible. 1.1 Utilisation d un émulateur personnalisé Après l installation du SDK.Net Micro, dans le répertoire d exemples, Framework (ex.

More information

TD : Compilateur ml2java semaine 3

TD : Compilateur ml2java semaine 3 Module 4I504-2018fev TD 3 page 1/7 TD : Compilateur ml2java semaine 3 Objectif(s) 22 février 2018 Manipulation d un traducteur de code ML vers Java. 1 ML2Java Exercice 1 Structure du runtime 1. Déterminer

More information

TD 2. Correction TP info

TD 2. Correction TP info TP 2 Exercice 3 : Impôts Sub impot() Dim montant As Integer montant = Cells(1, 1).Value Dim montanttot As Integer Select Case montant Case 0 To 1000 montanttot = 0.1 * montant Case 1001 To 5000 montanttot

More information

Rx in the real world. 1 Rob Ciolli

Rx in the real world. 1 Rob Ciolli Rx in the real world 1 Rob Ciolli 2 Rob Ciolli 3 Rob Ciolli The App 4 Rob Ciolli Quick architecture overview 5 Rob Ciolli MV - WTF 6 Rob Ciolli Model Simple, immutable data struct returned from DB or APIs

More information

Windows Server 2003 Installation Configuration Et Administration Pdf

Windows Server 2003 Installation Configuration Et Administration Pdf Windows Server 2003 Installation Configuration Et Administration Pdf Enable SharePoint Administration Service. 55. 4.5. Configure Windows the installation and audit configuration processes. 1.1. Netwrix

More information

man pages section 6: Demos

man pages section 6: Demos man pages section 6: Demos Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 816 0221 10 May 2002 Copyright 2002 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,

More information

Sun Ethernet Fabric Operating System. LLA Administration Guide

Sun Ethernet Fabric Operating System. LLA Administration Guide Sun Ethernet Fabric Operating System LLA Administration Guide Part No.: E41876-01 July 2013 Copyright 2013, Oracle and/or its affiliates. All rights reserved. This software and related documentation are

More information

Programmation Mobile Android Master CCI

Programmation Mobile Android Master CCI Programmation Mobile Android Master CCI Bertrand Estellon Aix-Marseille Université March 23, 2015 Bertrand Estellon (AMU) Android Master CCI March 23, 2015 1 / 266 Navigation entre applications Nous allons

More information

Ramassage Miette Garbage Collector

Ramassage Miette Garbage Collector http://www-adele.imag.fr/users/didier.donsez/cours Ramassage Miette Garbage Collector Didier DONSEZ Université Joseph Fourier PolyTech Grenoble LIG/ADELE Didier.Donsez@imag.fr, Didier.Donsez@ieee.org Motivations

More information

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A. Solaris 8 User Supplement Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. Part Number 806-3646 10 June 2000 Copyright 2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo

More information

Mobile Development - Lab 2

Mobile Development - Lab 2 Mobile Development - Lab 2 Objectives Illustrate the delegation mechanism through examples Use a simple Web service Show how to simply make a hybrid app Display data with a grid layout Delegation pattern

More information

Ultra Enterprise 6000/5000/4000 Systems Power Cord Installation

Ultra Enterprise 6000/5000/4000 Systems Power Cord Installation Ultra Enterprise 6000/5000/4000 Systems Power Cord Installation RevisiontoPowerCordInstallation Note This replaces Chapter 2, Cabling the System, in the Ultra Enterprise 6000/5000/4000 Systems Installation

More information

Memory Hole in Large Memory X86 Based Systems

Memory Hole in Large Memory X86 Based Systems Memory Hole in Large Memory X86 Based Systems By XES Product Development Team http://www.sun.com/desktop/products Wednesday, May 19, 2004 1 Copyright 2004 Sun Microsystems, Inc. 4150 Network Circle, Santa

More information

Cable Management Guide

Cable Management Guide Cable Management Guide Sun Fire High End Server Systems Sun Microsystems, Inc. www.sun.com Part No. 817-1753-11 July 2005, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback

More information

Traditional Chinese Solaris Release Overview

Traditional Chinese Solaris Release Overview Traditional Chinese Solaris Release Overview Sun Microsystems, Inc. 901 N. San Antonio Road Palo Alto, CA 94303-4900 U.S.A. Part No: 806 3489 10 March 2000 Copyright 2000 Sun Microsystems, Inc. 901 N.

More information

COMP327 Mobile Computing Session:

COMP327 Mobile Computing Session: COMP327 Mobile Computing Session: 2018-2019 Lecture Set 5a - + Comments on Lab Work & Assignments [ last updated: 22 October 2018 ] 1 In these Slides... We will cover... Additional Swift 4 features Any

More information

Sun Java System Connector for Microsoft Outlook Q4 Installation Guide

Sun Java System Connector for Microsoft Outlook Q4 Installation Guide Sun Java System Connector for Microsoft Outlook 7 2005Q4 Installation Guide Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 819 2565 10 October 2005 Copyright 2005 Sun

More information

ControlLogix Redundant Power Supply Chassis Adapter Module

ControlLogix Redundant Power Supply Chassis Adapter Module Installation Instructions ControlLogix Redundant Power Supply Chassis Adapter Module Catalog Number 1756-PSCA Use this publication as a guide when installing the ControlLogix 1756-PSCA chassis adapter

More information

Oracle ZFS Storage Appliance Simulator Quick Start Guide

Oracle ZFS Storage Appliance Simulator Quick Start Guide Oracle ZFS Storage Appliance Simulator Quick Start Guide March 2015 Part No: E39468-05 This document is a guide to Oracle ZFS Storage Appliance Simulator setup and initial configuration. The Simulator

More information

Font Administrator User s Guide. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Font Administrator User s Guide. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A. Font Administrator User s Guide Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303 4900 U.S.A. Part Number 806 2903 10 February 2000 Copyright 2000 Sun Microsystems, Inc. 901 San Antonio Road,

More information

Enhancing your apps for the next dimension of touch

Enhancing your apps for the next dimension of touch App Frameworks #WWDC16 A Peek at 3D Touch Enhancing your apps for the next dimension of touch Session 228 Tyler Fox UIKit Frameworks Engineer Peter Hajas UIKit Frameworks Engineer 2016 Apple Inc. All rights

More information

Sun Ethernet Fabric Operating System. IGMP Administration Guide

Sun Ethernet Fabric Operating System. IGMP Administration Guide Sun Ethernet Fabric Operating System IGMP Administration Guide Part No.: E21712-02 July 2012 Copyright 2010, 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation

More information

User guide: proserv and realknx installation

User guide: proserv and realknx installation User guide: proserv and realknx installation A. A. proserv... 4 I. Presentation... 4 II. Connection... 4 III. Physical address... 4 IV. ETS database... 5 V. Application ETS... 5 a. KNX-proServ setting

More information

Analyse statique de programmes avioniques

Analyse statique de programmes avioniques June 28th 2013. Forum Méthodes Formelles Cycle de conférences: Analyse Statique : «Retour d expériences industrielles» Analyse statique de programmes avioniques Presenté par Jean Souyris (Airbus Opérations

More information

The Solaris Security Toolkit - Quick Start

The Solaris Security Toolkit - Quick Start The Solaris Security Toolkit - Quick Start Updated for Toolkit version 0.3 By Alex Noordergraaf - Enterprise Engineering and Glenn Brunette - Sun Professional Services Sun BluePrints OnLine - June 2001

More information

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Solaris 8 User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A. Solaris 8 User Supplement Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. Part Number 806-5181 10 October 2000 Copyright 2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo

More information

Sun Management Center 3.6 Version 7 Add-On Software Release Notes

Sun Management Center 3.6 Version 7 Add-On Software Release Notes Sun Management Center 3.6 Version 7 Add-On Software Release Notes For Sun Fire, Sun Blade, Netra, and Sun Ultra Systems Sun Microsystems, Inc. www.sun.com Part No. 820-2406-10 October 2007, Revision A

More information

A Reliable Transport Protocol for Resource Constrained Nodes: CRCTP - Protocol Design

A Reliable Transport Protocol for Resource Constrained Nodes: CRCTP - Protocol Design A Reliable Transport Protocol for Resource Constrained Nodes: CRCTP - Protocol Design Un Protocole de transport avec garantie de livraison pour les appareils de communications aux ressources limitées :

More information

Tales from the Trenches: The Case of the RAM Starved Cluster

Tales from the Trenches: The Case of the RAM Starved Cluster Tales from the Trenches: The Case of the RAM Starved Cluster By Richard Elling - Enterprise Engineering Sun BluePrints OnLine - April 2000 http://www.sun.com/blueprints Sun Microsystems, Inc. 901 San Antonio

More information

Solaris 8 Desktop User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A.

Solaris 8 Desktop User Supplement. Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA U.S.A. Solaris 8 Desktop User Supplement Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. Part Number 806-6610-10 January 2001 Copyright 2001 Sun Microsystems, Inc. 901 San Antonio

More information

Scenario Planning - Part 1

Scenario Planning - Part 1 Scenario Planning - Part 1 By Adrian Cockcroft - Enterprise Engineering Sun BluePrints OnLine - February 2000 http://www.sun.com/blueprints Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303

More information

Font Administrator User s Guide

Font Administrator User s Guide Font Administrator User s Guide Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 816 0281 10 May 2002 Copyright 2002 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara,

More information

Graphes: Manipulations de base et parcours

Graphes: Manipulations de base et parcours Graphes: Manipulations de base et parcours Michel Habib habib@liafa.univ-paris-diderot.fr http://www.liafa.univ-paris-diderot.fr/~habib Cachan, décembre 2013 Notations Here we deal with finite loopless

More information

Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System

Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 817 5664 10 June 2004 Copyright 2004 Sun Microsystems,

More information

Netra Blade X3-2B (formerly Sun Netra X6270 M3 Blade) for VMware ESXi. Installation Guide

Netra Blade X3-2B (formerly Sun Netra X6270 M3 Blade) for VMware ESXi. Installation Guide Netra Blade X3-2B (formerly Sun Netra X6270 M3 Blade) for VMware ESXi Installation Guide Part No.: E28262-04 November 2012 Copyright 2012, Oracle and/or its affiliates. All rights reserved. This software

More information

Test, beauty, cleanness. d après le cours de Alexandre Bergel

Test, beauty, cleanness. d après le cours de Alexandre Bergel Test, beauty, cleanness d après le cours de Alexandre Bergel abergel@dcc.uchile.cl 1 But d un test et TDD Détecter les défauts le plus tôt possible dans le cycle -Tester une nouvelle méthode dès qu on

More information

Canada s Energy Future:

Canada s Energy Future: Page 1 of 9 1DWLRQDO (QHUJ\ %RDUG 2IILFH QDWLRQDO GH OҋpQHUJLH Canada s Energy Future: ENERGY SUPPLY AND DEMAND PROJECTIONS TO 2035 Appendices AN ENERGY MARKET ASSESSMENT NOVEMBER 2011 Page 2 of 9 Canada

More information

MARQUE: STEELSERIES REFERENCE: ARCTIS 5 NOIR CODIC:

MARQUE: STEELSERIES REFERENCE: ARCTIS 5 NOIR CODIC: MARQUE: STEELSERIES REFERENCE: ARCTIS 5 NOIR CODIC: 4402260 NOTICE ARCTIS 5 PRODUCT INFORMATION GUIDE STEELSERIES ENGINE STEELSERIES ENGINE To enjoy DTS Headphone:X 7.1, GameSense Integration, and custom

More information

Sun Enterprise System 336-Mhz Processor Upgrade Instructions

Sun Enterprise System 336-Mhz Processor Upgrade Instructions Sun Enterprise 10000 System 336-Mhz Processor Upgrade Instructions A Sun Microsystems, Inc. Business 901 San Antonio Road Palo Alto, CA 94303-4900 USA 650 960-1300 fax 650 969-9131 Part No.: 805-4500-11

More information

Learn to make ios apps

Learn to make ios apps HACKING WITH SWIFT PROJECTS 1-39 Learn to make ios apps E L P with real projects SAM E E FR Paul Hudson Project 1 Storm Viewer Get started coding in Swift by making an image viewer app and learning key

More information

Java Desktop System Release 2 Installation Guide

Java Desktop System Release 2 Installation Guide Java Desktop System Release 2 Installation Guide Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 817 5178 10 April 2004 Copyright 2004 Sun Microsystems, Inc. 4150 Network

More information

Sun StorEdge 3310 SCSI Array Best Practices Manual

Sun StorEdge 3310 SCSI Array Best Practices Manual Sun StorEdge 3310 SCSI Array Best Practices Manual Architectures and Tips for Optimum Usage Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. 650-960-1300 Part No. 816-7293-11 October

More information

Patron: Visitor(Visiteur) TSP - June 2013 Patrons de Conception J Paul Gibson Visitor.1

Patron: Visitor(Visiteur) TSP - June 2013 Patrons de Conception J Paul Gibson Visitor.1 Patron: Visitor(Visiteur) TSP - June 2013 Patrons de Conception J Paul Gibson Visitor.1 Découpler classes et traitements, afin de pouvoir ajouter de nouveaux traitements sans ajouter de nouvelles méthodes

More information

Java Desktop System Release 3 Troubleshooting Guide

Java Desktop System Release 3 Troubleshooting Guide Java Desktop System Release 3 Troubleshooting Guide Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 817 7304 10 January, 2005 Copyright 2005 Sun Microsystems, Inc. 4150

More information

Sun Control Station. Software Installation. Sun Microsystems, Inc. Part No January 2004, Revision A

Sun Control Station. Software Installation. Sun Microsystems, Inc.   Part No January 2004, Revision A Sun Control Station Software Installation Sun Microsystems, Inc. www.sun.com Part No. 817-3604-11 January 2004, Revision A Submit comments about this document at: http://www.sun.com/hwdocs/feedback Copyright

More information

Sun StorageTek 2500 Series Array Firmware Upgrade Guide

Sun StorageTek 2500 Series Array Firmware Upgrade Guide Sun StorageTek 2500 Series Array Firmware Upgrade Guide for controller firmware version 7.35 Part No. 820-6362-13 August 2010, Revision D Copyright 2010, Oracle and/or its affiliates. All rights reserved.

More information

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar

Produced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar Design Patterns MSc in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie

More information

Oracle Flash Storage System and Oracle MaxRep for SAN Security Guide

Oracle Flash Storage System and Oracle MaxRep for SAN Security Guide Oracle Flash Storage System and Oracle MaxRep for SAN Security Guide Part Number E56029-01 Oracle Flash Storage System, release 6.1 Oracle MaxRep for SAN, release 3.0 2014 October Oracle Flash Storage

More information

Guide Logiciel Mikroc En Francais

Guide Logiciel Mikroc En Francais Guide Logiciel Mikroc En Francais If looking for the ebook Guide logiciel mikroc en francais in pdf form, then you've come to loyal website. We presented the complete variation of this ebook in DjVu, txt,

More information

VHDL par Ahcène Bounceur VHDL

VHDL par Ahcène Bounceur VHDL VHDL Ahcène Bounceur 2009 Plan de travail 1. Introduction au langage 2. Prise en main 3. Machine à état 4. Implémentation sur FPGA 1 VHDL Introduction au langage Ahcène Bounceur VHDL VHIC (Very High-speed

More information

Rackmount Placement Matrix

Rackmount Placement Matrix Rackmount Placement Matrix Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. 650-960-1300 805-4748-30 June, 2002, Revision A Send comments about this document to: docfeedback@sun.com

More information

TP 2 : Application SnapTchat 20 février 2015

TP 2 : Application SnapTchat 20 février 2015 TP 2 : Application SnapTchat 20 février 2015 SnapTchat : cahier de charges L objectif de ce TP est de développer une simple application d échange de messages courts entre deux utilisateurs. Le cahier des

More information

User guide: proserv and realknx installation

User guide: proserv and realknx installation User guide: proserv and realknx installation by A. A...2 A. proserv...4 I. II. III. IV. V. a. b. c. d. e. f. VI. a. b. c. d. e. B. Presentation...4 Connection...4 Physical address...4 ETS database...5

More information