Data Storage. Dr. Sarah Abraham
|
|
- Stewart Wells
- 5 years ago
- Views:
Transcription
1 Data Storage Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016
2 Model Layer of MVC Contains the data to be displayed Data can be: Stored on device Pulled down from a server Data displayed in app should be: Personalized Secure
3 User Defaults Storage on the device itself Can hold persistent key/value pairs Used for application configuration data Accessed via the NSUserDefaults singleton object: NSUserDefaults.standardUserDefaults() Write back to hard drive using synchronize()
4 User Defaults Example // Define keys for the values to store let kuseridkey = "userid" let ktotalkey = "total" let knamekey = "name" // Define the values to store let userid = 900 let total = let name = "University of Texas" // Get a reference to the global user defaults object let defaults = NSUserDefaults.standardUserDefaults() // Store various values defaults.setinteger(userid, forkey: kuseridkey) defaults.setdouble(total, forkey: ktotalkey) defaults.setobject(name, forkey: knamekey) defaults.synchronize() // force the write to the device // Retrieve the previously stored values let retrieveduserid = defaults.integerforkey(kuseridkey) let retrievedtotal = defaults.doubleforkey(ktotalkey) let retrievedname = defaults.objectforkey(knamekey)
5 Read and Write Functions NS prefix signifies Foundation data type Can store: NSData NSString/String NSNumber (UInt, Int, Float, Double) NSDate NSArray/Array, NSDictionary/Dictionary Write convenience functions: setbool(value: Bool, forkey defaultname: String) setfloat, setinteger, setobject, setdouble, seturl Read convenience functions: arrayforkey(defaultname: String) boolforkey, dataforkey, dictionaryforkey, floatforkey, integerforkey, objectforkey, stringarrayforkey, stringforkey, doubleforkey, URLForKey
6 Using User Default Methods Methods that return Bool, Int, Float and Double do not return Optionals Return values appropriate to their type Methods that return AnyObject must be cast to correct type before use API Reference [ documentation/cocoa/reference/foundation/classes/ NSUserDefaults_Class/]
7 Plists Property lists organize data into named values and lists of values Converts to and from standard XML Convenient way to import standard app data to all devices Can be modified at runtime
8 Plist Example <?xml version="1.0" encoding= UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" " PropertyList-1.0.dtd"> <plist version="1.0"> <dict> </dict> <key>name</key> <string>john Doe</string> <key>phones</key> <array> </array> </plist> <string> </string> <string> </string>
9 Accessing Plists 1. Create reference from main bundle (e.g. the app s file structure) 2. Access as either NSArray or NSDictionary (depending on the plist) let inputfile = NSBundle.mainBundle().pathForResource( plist_name", oftype: plist") let inputarray = NSArray(contentsOfFile: inputfile!) for item in inputarray as! [item_type] { } /* Place plist items into appropriate object or data structures */
10 Core Data Framework for modeling data in object-oriented way Allows for persistence of data on device Used for non-trivial storage Not a database in of itself Can be mapped to a true database management system like SQL/SQLite
11 Core Data Features Models data efficiently Manages data object life cycles Tracks changes to data Supports undo functionality Saves data to disk
12 Managed Object Model Defines structure of data Data types Relationships Xcode provides design tools to build object model
13 Managed Object Context Temporary scratch space in memory Objects fetched from persistent store placed in context for manipulation Monitors for changes to data
14 Entities, Attributes and Relationships Entities are data model instances in Core Data Table in relational database Example: Employee entity defines a company employee Attributes are properties stored in entities A column in a relationship database table Example: Employee entity has attributes name, position, salary Relationships are connections between entities One-to-One (Country to Capital; Capital to Country) One-to-Many (Manager to Employee) Many-to-One (Employee to Manager)
15 Using Core Data Select Use Core Data as option for new project.xcdatamodeld file defines entities, attributes and relationships
16 Displaying Core Data Create variable to hold instances of managed objects: var managedobjects = [NSManagedObjects]() Allows other objects in program to access and display managed objects
17 Writing to Core Data func addperson(name: String, occupation: String, age: Int) { let appdelegate = UIApplication.sharedApplication().delegate as! AppDelegate let managedcontext = appdelegate.managedobjectcontext let entity = NSEntityDescription.entityForName("Person", inmanagedobjectcontext: managedcontext) let person = NSManagedObject(entity: entity!, insertintomanagedobjectcontext: managedcontext) person.setvalue(name, forkey: "name") person.setvalue(age, forkey: "age") person.setvalue(occupation, forkey: "occupation") do { try managedcontext.save() } catch { let nserror = error as NSError NSLog("Unable to save \(nserror), \(nserror.userinfo)") abort() } } people.append(person)
18 KVC Key Value Coding Ability to read and set a property using its name NSObject contains default methods: setvalue(value: AnyObject?, forkey: String) valueforkey(key: String) Any class derived from NSObject can use KVC Managed Objects must be accessed with key-value coding
19 Reading from Core Data let appdelegate = UIApplication.sharedApplication().delegate as! AppDelegate let managedcontext = appdelegate.managedobjectcontext let fetchrequest = NSFetchRequest(entityName:"Person") var fetchedresults:[nsmanagedobject]? = nil do { try fetchedresults = managedcontext.executefetchrequest(fetchrequest) as? [NSManagedObject] } catch { let nserror = error as NSError NSLog("Unable to fetch \(nserror), \(nserror.userinfo)") abort() } if let results = fetchedresults { people = results }
Mobile Application Programming. Data and Persistence
Mobile Application Programming Data and Persistence Messaging Options Handler Delegate Handler Collection Controller View Notification Center Model The Model Controller Model View Model Source of data
More informationMobile Application Programming. Data and Persistence
Mobile Application Programming Data and Persistence Data Files Data Files Lots of C compatibility knowledge required! FILE fopen() fread() vfscanf() fwrite() vfprintf() fclose() Data Files NSData(contentsOfFile:)
More informationITP 342 Advanced Mobile App Dev. Core Data
ITP 342 Advanced Mobile App Dev Core Data Persistent Data NSUser Defaults Typically used to save app preferences Property List (plist) in Documents Directory Data is in a dictionary or an array Coders
More informationCOMP327 Mobile Computing Session:
COMP327 Mobile Computing Session: 2018-2019 Lecture Set 4 - Data Persistence, & Core Data [ last updated: 16 October 2018 ] 1 In these Slides... We will cover... An introduction to Local Data Storage The
More informationApp SandBox Directory
Data Persistence Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283 App SandBox Directory
More informationCore Data. CS 442: Mobile App Development Michael Saelee
Core Data CS 442: Mobile App Development Michael Saelee persistence framework (not just an ORM, as non-relational backends are supported) CD tracks an object graph (possibly disjoint), and
More informationITP 342 Mobile App Development. Data Persistence
ITP 342 Mobile App Development Data Persistence Persistent Storage Want our app to save its data to persistent storage Any form of nonvolatile storage that survives a restart of the device Want a user
More informationReview. Objective-C Classes, Methods, Properties, Protocols, Delegation, Memory Management
Data Persistence Review Objective-C Classes, Methods, Properties, Protocols, Delegation, Memory Management Foundation NSArray, NSDictionary, NSString (and mutable versions thereof) MVC and UIViewController
More informationStanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015
Stanford CS193p Developing Applications for ios Today Objective-C Compatibility Bridging Property List NSUserDefaults Demo: var program in CalculatorBrain Views Custom Drawing Demo FaceView Bridging Objective-C
More informationCS193E Lecture 7. Document-based Applications NSTableView Key-Value Coding
CS193E Lecture 7 Document-based Applications NSTableView Key-Value Coding Agenda Questions? Review: delegates, MVC Document-based apps Table views Key Value Coding Model, View, Controller Controller Model
More informationITP 342 Mobile App Development. Data Persistence
ITP 342 Mobile App Development Data Persistence Persistent Storage Want our app to save its data to persistent storage Any form of nonvolatile storage that survives a restart of the device Want a user
More informationlecture 8 & 9 Data Persistence + AVFoundation & Location
lecture 8 & 9 Data Persistence + AVFoundation & Location cs198-001 : spring 2018 1 Announcements start working on Custom app bring Lightning cable to lab this week 2 You will need an iphone/ipad with ios
More informationHow to automate your ClaroRead Cloud logins for ios using an MDM
How to automate your ClaroRead Cloud logins for ios using an MDM If you have a ClaroRead Pro or app-specific licence key in your ClaroRead Cloud account, you can login in our ios apps and activate or unlock
More information(infinitespeak.wordpress.com) Classes and Structs. Dr. Sarah Abraham
(infinitespeak.wordpress.com) Classes and Structs Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 Classes and Structures General-purpose, flexible constructs to build blocks of code Properties
More informationData Management: Data Types & Collections
Property List Programming Guide Data Management: Data Types & Collections 2010-03-24 Apple Inc. 2010 Apple Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval
More informationCOMP327 Mobile Computing Session: Lecture Set 4 - Data Persistence, Core Data and Concurrency
COMP327 Mobile Computing Session: 2012-2013 Lecture Set 4 - Data Persistence, Core Data and Concurrency 1 In these Slides... We will cover... An introduction to Local Data Storage The iphone directory
More informationIntroduction to Swift. Dr. Sarah Abraham
Introduction to Swift Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 What is Swift? Programming language for developing OSX, ios, WatchOS, and TvOS applications Best of C and Objective-C
More informationCamera, Events, and Contacts. Dr. Sarah Abraham
Camera, Events, and Contacts Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 Camera and Photo Library Using the Camera and Photos UIImagePickerController handles access to camera device,
More informationData Storage. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Data Storage Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Already seen UserDefaults icloud File
More informationNSObject. - (NSString *)description Provides us with a string description of the object
FoundationFramework NSObject - (NSString *)description Provides us with a string description of the object NSString - (NSString *)stringbyappendingstring:(nsstring *)string Creates a new string by adding
More informationQuestions. Exams: no. Get by without own Mac? Why ios? ios vs Android restrictions. Selling in App store how hard to publish? Future of Objective-C?
Questions Exams: no Get by without own Mac? Why ios? ios vs Android restrictions Selling in App store how hard to publish? Future of Objective-C? Grading: Lab/homework: 40%, project: 40%, individual report:
More informationSettings. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Settings Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline In-app settings UserDefaults Device settings
More informationData IAP 2010 iphonedev.csail.mit.edu edward benson / Thursday, January 14, 2010
Data IAP 2010 iphonedev.csail.mit.edu edward benson / eob@csail.mit.edu Today Property Lists User Defaults Settings Panels CoreData Property Lists Today Add persistence. plist 1. Using Property Lists in
More informationData Storage. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Data Storage Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Data Storage Already seen: UserDefaults, icloud
More informationStanford CS193p. Developing Applications for ios. Winter CS193p. Winter 2017
Stanford Developing Applications for ios Today Core Data Object-Oriented Database Core Data Database Sometimes you need to store large amounts of data or query it in a sophisticated manner. But we still
More informationBackends and Databases. Dr. Sarah Abraham
Backends and Databases Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2018 What is a Backend? Server and database external to the mobile device Located on remote servers set up by developers
More informationMobile Application Development
Mobile Application Development Lecture 12 Introduction to ObjectiveC 2013/2014 Parma Università degli Studi di Parma Lecture Summary ObjectiveC language basics Classes and objects Methods Instance variables
More informationDeveloping Applications for ios
Developing Applications for ios Lecture 10: Managing and Storing Data Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content Property Lists Archiving
More informationUsing Swift with Cocoa and Objective-C
Using Swift with Cocoa and Objective-C Contents Getting Started 5 Basic Setup 6 Setting Up Your Swift Environment 6 Understanding the Swift Import Process 7 Interoperability 9 Interacting with Objective-C
More informationStanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011
Developing Applications for ios Today Persistence How to make things stick around between launchings of your app (besides NSUserDefaults) Persistence Property Lists Use writetourl:atomically: and initwithcontentsofurl:
More informationDeveloping Applications for ios
Developing Applications for ios Lab 10: Nearby Deals (6 of 6) Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Task 1 Task: Save the favorite deals
More informationProtocols 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 informationStanford CS193p. Developing Applications for iphone 4, ipod Touch, & ipad Fall Stanford CS193p Fall 2010
Developing Applications for iphone 4, ipod Touch, & ipad Today More Core Data What does the code for the custom NSManagedObject subclasses generated by Xcode look like? Querying for (fetching) objects
More informationUsing and Extending the Xcode Source Editor
Developer Tools #WWDC16 Using and Extending the Xcode Source Editor Session 414 Mike Swingler Xcode Infrastructure and Editors Chris Hanson Xcode Infrastructure and Editors 2016 Apple Inc. All rights reserved.
More informationCore Data Potpourri. Paul
Core Data Potpourri Paul Goracke paul@goracke.org @pgor What We Can Learn from an All-Night Marathon of Threes Paul Goracke @pgor Core Data Potpourri Paul Goracke paul@goracke.org @pgor What I m leaving
More informationios 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 informationFiles & Archiving. Lecture 8
Files & Archiving Lecture 8 Persistent Data NSUserDefaults Dead simple to use Just one big file Only supports property list types What if you want more features? File Tasks Finding the file path User selected
More informationFunctions and Collections. Dr. Sarah Abraham
Functions and Collections Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 Functions Self-contained chunks of code to perform a specific task Function name is called in order to perform
More informationiphone Application Programming Lab 3: Swift Types and Custom Operator + A02 discussion
Lab 3: Swift Types and Custom Operator + A02 discussion Nur Al-huda Hamdan RWTH Aachen University Winter Semester 2015/2016 http://hci.rwth-aachen.de/iphone Learning Objectives Discuss A02 Another implementation
More informationIntroducing CloudKit. A how-to guide for icloud for your Apps. Frameworks #WWDC14. Session 208 Olivier Bonnet CloudKit Client Software
Frameworks #WWDC14 Introducing CloudKit A how-to guide for icloud for your Apps Session 208 Olivier Bonnet CloudKit Client Software 2014 Apple Inc. All rights reserved. Redistribution or public display
More informationCollections. Fall, Prof. Massimiliano "Max" Pala
Collections Fall, 2012 Prof. Massimiliano "Max" Pala pala@nyu.edu Overview Arrays Copy and Deep Copy Sets Dictionaries Examples Arrays Two Classes NSArray and NSMutableArray (subclass of NSArray) int main(int
More informationMedia Playback and Recording. CS193W - Spring Lecture 3
Media Playback and Recording CS193W - Spring 2016 - Lecture 3 Today Images and animated images Text input controller Media playback controller Inline video playback Playing extended audio Recording audio
More informationBackends and Databases. Dr. Sarah Abraham
Backends and Databases Dr. Sarah Abraham University of Texas at Austin CS329e Fall 2016 What is a Backend? Server and database external to the mobile device Located on remote servers set up by developers
More informationDL/ID Parsing Component for ios
DL/ID Parsing Component for ios This publication contains proprietary information of Wizz Systems LLC, provided for customer use only. No other use is authorized without the express written permission
More informationCS193p Spring 2010 Thursday, April 29, 2010
CS193p Spring 2010 Announcements You should have received an e-mail by now If you received e-mail approving enrollment, but are not in Axess, do it! If you have any questions, please ask via e-mail or
More informationStanford CS193p. Developing Applications for ios. Fall CS193p. Fall
Stanford Developing Applications for ios Today Emoji Art Demo continued UITextField to add more Emoji Persistence UserDefaults Property List Archiving and Codable Filesystem Core Data Cloud Kit UIDocument
More informationGetting Help. iphone Application Programming Lecture 3: Foundation Classes. Data Structures in Objective C. Online Documentation.
iphone Application Programming Lecture 3: Foundation Classes Prof. Jan Borchers Media Computing Group RWTH Aachen University Winter Semester 2013/2014 http://hci.rwth-aachen.de/iphone Online Documentation
More informationAgenda. Core Data! Next Week! Storing your Model permanently in an object-oriented database.! Multitasking! Advanced Segueing! Map Kit?
ios Mobile Design Agenda Core Data! Storing your Model permanently in an object-oriented database.! Next Week! Multitasking! Advanced Segueing! Map Kit? Core Data Database! Sometimes you need to store
More informationiphone Application Programming Lecture 3: Foundation Classes
iphone Application Programming Lecture 3: Foundation Classes Prof. Jan Borchers Media Computing Group RWTH Aachen University Winter Semester 2013/2014 http://hci.rwth-aachen.de/iphone Getting Help Online
More informationAbout MSDOSX. Lecture 0
About MSDOSX Lecture 0 Goal: make an app of your own design for the Mac or iphone The Plan Lectures + Labs for several weeks Project proposals (about halfway through the semester) Work on project Present
More informationObject-Oriented Programming with Objective-C. Lecture 2
Object-Oriented Programming with Objective-C Lecture 2 Objective-C A Little History Originally designed in the 1980s as a fusion of Smalltalk and C Popularized by NeXTSTEP in 1988 (hence the ubiquitous
More informationCustomize XCode 4 Project template for OpenCV
Customize XCode 4 Project template for OpenCV XCode 4 has project and file template that user can use at the beginning stage of project build. 1. Existing Project Templates The project template is located
More informationManaged Object Model schema Persistent Store Coordinator connection Managed Object Context scratch pad
CoreData Tutorial What is CoreData? CoreData Stack Managed Object Model: You can think of this as the database schema. It is a class that contains definitions for each of the objects (also called Entities
More informationCollections & Memory Management. Lecture 2
Collections & Memory Management Lecture 2 Demo: Accessing Documentation Collections NSArray a list of objects in order [array objectatindex:0] [array objectatindex:3] Counting starts at zero, not one NSSet
More informationCocoa Development Tips
Session App Frameworks #WWDC17 Cocoa Development Tips Twenty-nine things you may not know about Cocoa 236 Rachel Goldeen, Cocoa Engineer Vincent Hittson, Cocoa Engineer 2017 Apple Inc. All rights reserved.
More informationCS193E Lecture 14. Cocoa Bindings
CS193E Lecture 14 Cocoa Bindings Agenda Questions? Personal Timeline IV Key Value Coding Key Value Observing Key Value Binding Cocoa Bindings What are Cocoa Bindings? Added in Panther, more mature in Tiger
More informationMultitasking Support on the ios Platform
Multitasking Support on the ios Platform Priya Rajagopal Invicara (www.invicara.com) @rajagp Multitasking on ios? Multitasking allows apps to perform certain tasks in the background while you're using
More informationViGo Developer Guide. Mobile application development with ViGo
ViGo Developer Guide Mobile application development with ViGo Title: ViGo Developer Guide Part number: VV/VIGO/DOC/189/B Copyright 2015 VoiceVault Inc. All rights reserved. This document may not be copied,
More informationAnnouncements. Today s Topics
Announcements Lab 2 is due tonight by 11:59 PM Late policy is 10% of lab total per day late So -7.5 points per day late for lab 2 Labs 3 and 4 are posted on the course website Extensible Networking Platform
More informationSwift. Introducing swift. Thomas Woodfin
Swift Introducing swift Thomas Woodfin Content Swift benefits Programming language Development Guidelines Swift benefits What is Swift Benefits What is Swift New programming language for ios and OS X Development
More informationMobile Application Programing: ios. Messaging
Mobile Application Programing: ios Messaging Application Model View Controller (MVC) Application Controller User Action Update View Notify Update Model Messaging Controller User Action Update Notify Update
More informationScripting Opportunities for Systems Administrators. Greg Neagle, Walt Disney Animation Studios
Scripting Opportunities for Systems Administrators Greg Neagle, Walt Disney Animation Studios This is not a presentation on scripting. Why? System configuration #!/bin/sh # add staff to lpadmin group so
More informationData Management
Core Data Utility Tutorial Data Management 2010-09-19 Apple Inc. 2005, 2010 Apple Inc. All rights reserved. exclusion may not apply to you. This warranty gives you specific legal rights, and you may also
More informationStanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011
Developing Applications for ios Today Core Data and Documents This is how you store something serious in ios Easy entreé into icloud NSNotificationCenter The little radio station we talked about in the
More informationAutomating OS X and ios Configuration
Automating OS X and ios Configuration acmefoo! Scott M. Neal smn.mg@acmefoo.org MacTech 2011 Copyright 2005-2011 MindsetGarden Automating Configuration: Agenda Property Lists brief review Defaults Domains
More informationStanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015
Stanford CS193p Developing Applications for ios Today More Swift & the Foundation Framework Optionals and enum Array, Dictionary, Range, et. al. Data Structures in Swift Methods Properties Initialization
More informationCS193E Lecture 16. Internationalization and Localization
CS193E Lecture 16 Internationalization and Localization Announcements Final Project Due: Wed, March 19th at 11:59 PM Announcements Final Project Demos Thurs, March 20th, 3:30-6:30 Same room Plan for about
More informationDeveloping Applications for ios
Developing Applications for ios Lecture 10: and Categories Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content and Documents This is how you
More informationMcAfee MVISION Mobile IBM MaaS360 Integration Guide
McAfee MVISION Mobile IBM MaaS360 Integration Guide Administrator's guide for providing Integration with IBM MaaS360 MDM September 2018 COPYRIGHT Copyright 2018 McAfee, LLC TRADEMARK ATTRIBUTIONS McAfee
More informationCloudKit Tips And Tricks
System Frameworks #WWDC15 CloudKit Tips And Tricks Session 715 Nihar Sharma CloudKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationStanford CS193p. Developing Applications for ios. Fall Stanford CS193p. Fall 2011
Developing Applications for ios Today icloud Sharing documents among a user s devices Fundamentally: nothing more than a URL of a shared directory However, since it is over the network, there are lots
More informationCollection 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 informationApple s new Swift language
Microsoft and Apple Training Apple s new Swift language Peter Himschoot peter@u2u.be Agenda Developing for ios overview Xcode, Objective-C, Swift, Development life cycle UI development Interface Builder
More informationVMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins
VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins v1.2 Have documentation feedback? Submit a Documentation Feedback support ticket
More informationios: Objective-C Primer
ios: Objective-C Primer Jp LaFond Jp.LaFond+e76@gmail.com TF, CS76 Announcements n-puzzle feedback this week (if not already returned) ios Setup project released Android Student Choice project due Tonight
More informationMcAfee MVISION Mobile IBM MaaS360 Integration Guide
McAfee MVISION Mobile IBM MaaS360 Integration Guide MVISION Mobile Console 4.22 February 11, 2019 COPYRIGHT Copyright 2018 McAfee, LLC TRADEMARK ATTRIBUTIONS McAfee and the McAfee logo, McAfee Active Protection,
More informationVMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins
VMware AirWatch SDK Plugin for Xamarin Instructions Add AirWatch Functionality to Enterprise Applicataions with SDK Plugins v1.3 Have documentation feedback? Submit a Documentation Feedback support ticket
More informationFor your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Author...
More informationSummary of Go Syntax /
Summary of Go Syntax 02-201 / 02-601 Can declare 1 or more variables in same var statement Variables Can optionally provide initial values for all the variables (if omitted, each variable defaults to the
More informationFinding Bugs Using Xcode Runtime Tools
Session Developer Tools #WWDC17 Finding Bugs Using Xcode Runtime Tools 406 Kuba Mracek, Program Analysis Engineer Vedant Kumar, Compiler Engineer 2017 Apple Inc. All rights reserved. Redistribution or
More informationVMware AirWatch SDK for ios (Swift) v17.5. Technical Implementation Guide Empowering your enterprise applications with MDM capabilities
VMware AirWatch SDK for ios (Swift) Technical Implementation Guide Empowering your enterprise applications with MDM capabilities VMware AirWatch SDK for ios (Swift) v17.5 Have documentation feedback? Submit
More informationOVERVIEW. Why learn ios programming? Share first-hand experience. Identify platform differences. Identify similarities with.net
OVERVIEW Why learn ios programming? Share first-hand experience. Identify platform differences. Identify similarities with.net Microsoft MVP for 4 years C#, WinForms, WPF, Silverlight Joined Cynergy about
More informationVMware AirWatch Software Development Kit (SDK) Plugin v1.1 for Xamarin
VMware AirWatch Software Development Kit (SDK) Plugin v1.1 for Xamarin Overview Use this document to install the VMware AirWatch SDK Plugin for Xamarin. The plugin helps enterprise app developers add enterprise-
More informationPolymorphism COSC346
Polymorphism COSC346 Polymorphism OOP Polymorphism refers to the ability of different class objects to respond to the same method(s) From the perspective of the message sender, the receiver can take different
More informationWhat s New in Foundation for Swift Session 207
App Frameworks #WWDC16 What s New in Foundation for Swift Session 207 Tony Parker Foundation, Apple Michael LeHew Foundation, Apple 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationObjective-C and COCOA Applications
Objective-C and COCOA Applications Fall, 2012 Prof. Massimiliano "Max" Pala pala@nyu.edu Overview X-Code IDE Basics Objective-C Classes Methods Invocations Important Types Memory Management Protocols Exceptions
More informationJonathan Penn #inspect Brussels, Belgium CORE DATA
Jonathan Penn #inspect 2013 - Brussels, Belgium CORE DATA @jonathanpenn Slides n Sample Code cocoamanifest.net/features Why would I use Core Data? ONE DOES NOT SIMPLY USE CORE DATA It s a lifestyle. Goals:
More informationPersistence. CS 442: Mobile App Development Michael Saelee
Persistence CS 442: Mobile App Development Michael Saelee Things to persist - Application settings - Application state - Model data - Model relationships Persistence options - User defaults
More informationMonday, 1 November The ios System
The ios System System Overview System Overview System Overview System Overview System Overview System Overview Foundation Classes (Useful) Foundation Framework Value and collection classes User defaults
More informationIntroducing the Photos Frameworks
Media #WWDC14 Introducing the Photos Frameworks Session 511 Adam Swift ios Photos Frameworks 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationWorking Effectively with Objective-C on iphone OS. Blaine Garst Wizard of Runtimes
Working Effectively with Objective-C on iphone OS Blaine Garst Wizard of Runtimes 2 Working Effectively with Objective-C on ios 4 Blaine Garst Wizard of Runtimes 3 Objective-C is the language of Cocoa
More informationSWIFT! init(title: String) { self.title = title } // required initializer w/ named parameter
SWIFT! class Session { let title: String // constant non-optional field: can never be null and can never be changed var instruktør: Person? // variable optional field: null is permitted var attendees:
More informationCOSC$4355/6355$ $Introduction$to$Ubiquitous$Computing$ Exercise$3$ September!17,!2015!
COSC4355/6355 IntroductiontoUbiquitousComputing Exercise3 September17,2015 Objective Inthisexercise,youwilllearnhowtowriteunittestsforyourapplicationandalsohowtouse NSUserDefaults.WewillalsoimplementObjectiveCCcategories*welearntlastweek.
More informationRealm Mobile Database. Knoxville CocoaHeads April 2017 by Gavin Wiggins
Realm Mobile Database Knoxville CocoaHeads April 2017 by Gavin Wiggins What is the Realm Mobile Database? 2 Free open-source mobile database with support for Java, Objective-C, Javascript, Swift, and Xamarin
More informationCore Data Best Practices
#WWDC18 Core Data Best Practices Session 224 Scott Perry, Engineer Nick Gillett, Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationAnnouncements. Lab 3 is due on Wednesday by 11:59 PM
Announcements Lab 3 is due on Wednesday by 11:59 PM Extensible Networking Platform 1 1 - CSE 438 Mobile Application Development Today s Topics Property Lists iphone s File System Archiving Objects SQLite
More informationNSTableView + Cocoa Bindings + Core Data + Drag & Drop. HMDT Makoto Kinoshita
NSTableView + Cocoa Bindings + Core Data + Drag & Drop HMDT Makoto Kinoshita NSTableView + Cocoa Bindings binding content NSArrayController NSMutableArray NSTableView + Cocoa Bindings + Core Data binding
More informationCore Data Programming Guide
Core Data Programming Guide 2006-12-05 Apple Computer, Inc. 2004, 2006 Apple Computer, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted,
More informationGetting Help. iphone Application Programming Lecture 3: Foundation Classes. Data Structures in Objective C. Online Documentation.
iphone Application Programming Lecture 3: Foundation Classes Prof. Jan Borchers Media Computing Group RWTH Aachen University Winter Semester 2013/2014 http://hci.rwth-aachen.de/iphone Online Documentation
More informationMcAfee MVISION Mobile Silverback Integration Guide
McAfee MVISION Mobile Silverback Integration Guide Administrator's guide for providing Integration with Silverback MDM September 2018 COPYRIGHT Copyright 2018 McAfee, LLC TRADEMARK ATTRIBUTIONS McAfee
More information