Normal view MARC view ISBD view

Learning swift : building apps for macOS, iOS, and beyond

By: Manning, Jonathon
Title By: Buttfield-addison, Paris | Nugent, Tim
Publisher: Beijing : O'Reilly, c2018.Edition: 3rd ed.Description: xiii, 360 p. : ill. ; 24 cm.ISBN: 9781491987575Subject(s): SwiftDDC classification: 005.133 MA LE Online resources: Location Map
Summary:
Dive into Swift 4.x, the latest version of Apple's easy-to-use programming language for macOS, iOS, watchOS, and tvOS. With this practical guide, you'll quickly get up to speed on language basics and then use Swift to build three complete apps, all tightly linked together: an iOS note-taking app, its OSX counterpart that uses iCloud to sync data, and an app for the Apple Watch that makes the user's data available at a moment's notice. You'll learn not only how to write code in Swift, but also why Swift works the way that it does, and how to build upon its foundations. Then you'll explore Swift in the wider world, including open-source frameworks that your apps can use, how to use app extensions make your app play nice with other apps, and how to take Swift beyond Apple's domain with open-source Swift tools.
Tags from this library: No tags from this library for this title. Log in to add tags.
    average rating: 0.0 (0 votes)
Item type Home library Call number Status Notes Date due Barcode Item holds Course reserves
REGULAR University of Wollongong in Dubai
Main Collection
005.133 MA LE (Browse shelf) Available May2018 T0058859

CSIT242 Winter2024

Total holds: 0

Intro; Copyright; Table of Contents; Preface; Resources Used in This Book; Audience and Approach; Organization of This Book; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Part I. Welcome to Swift; Chapter 1. Getting Started; Xcode; Getting Xcode; Creating Your First Project; Working with the Xcode Interface; The Editor; The Toolbar; The Navigator; Utilities; The Debug Area; Running Your Code; The iOS Simulator; Running on a Device; Distributing Your Apps; The Interface Builder; Interfaces in iOS; Conclusion. Chapter 2. The Swift Programming LanguageThe Swift Language; Swift 3 Versus 4; Playgrounds and Swift; Comments; Imports; Variables; Operators; Collections; Arrays; Tuples; Dictionaries; Control Flow; Loops; Switches; Types; Working with Strings; Sets; Enumerations; Type Safety and Conversion; Optionals; Type Casting; Functions and Closures; Using Functions as Variables; Closures; Convenience Features; The defer Keyword; The guard Keyword; Making Your Code Swifty; Conclusion; Chapter 3. Object-Oriented Development in Swift; Classes and Objects; Initialization and Deinitialization; Properties. InheritanceProtocols; Extensions; Access Control; Operator Overloading and Custom Operators; Subscripts; Generics; Structures; Error Handling; Memory Management; Design Patterns in Swift; Model-View-Controller; Delegation; Swift Libraries; Structuring an App; Swift Package Manager; Conclusion; Part II. Building Selfiegram; Chapter 4. Setting Up Our App; Designing Selfiegram; Creating the Project; The Structure; Renaming the Views; Chapter 5. Building the Model Object; The Selfie Object; The SelfieStore; Testing the SelfieStore; Filling Out the Method Stubs. Chapter 6. Building the Selfie List UICreating the Selfie List; Improving the Selfie List; Chapter 7. Adding and Deleting Selfies; Deleting Selfies; Taking New Selfies; Chapter 8. Viewing and Editing Selfies; The Selfie Viewer; Connecting the Code and the UI; Editing a Selfie; Chapter 9. Adding Location Info to the Selfies; Updating the Model; Testing Our New Model; Showing a Selfie's Location; Expanding the Map; Determining Locations; Configuring the App to Support Location; Talking to the Location Hardware; Chapter 10. Building a Settings View; Building the Settings UI. Connecting the Settings into Our HierarchyHooking Up the Settings; Implementing the Settings; Chapter 11. Reminders and Notifications; Adding a Reminder to the Settings; Creating a Notification; Part III. Polishing Selfiegram; Chapter 12. Theming and Sharing Selfiegram; Custom Fonts; Making the Theme; Sharing Selfies; Sharing from the Detail View Controller; Sharing from the List View Controller; Chapter 13. Custom Views and View Controllers; A Camera View; The Camera View Controller; Building the UI; Connecting the UI; Talking to the Camera; Calling the Capture View Controller.

Dive into Swift 4.x, the latest version of Apple's easy-to-use programming language for macOS, iOS, watchOS, and tvOS. With this practical guide, you'll quickly get up to speed on language basics and then use Swift to build three complete apps, all tightly linked together: an iOS note-taking app, its OSX counterpart that uses iCloud to sync data, and an app for the Apple Watch that makes the user's data available at a moment's notice. You'll learn not only how to write code in Swift, but also why Swift works the way that it does, and how to build upon its foundations. Then you'll explore Swift in the wider world, including open-source frameworks that your apps can use, how to use app extensions make your app play nice with other apps, and how to take Swift beyond Apple's domain with open-source Swift tools.

Powered by Koha