Book description
Swift quickly became the dominant language for iOS app development not long after Apple introduced the language in 2014. When Swift moved to open source, extending this modern language from client to server side became an option, and today, with Swift 3.0, companies can extend the value of Swift end-to-end. With this ebook, you’ll learn how to write your entire application in Swift—from mobile client to the middle tier to server-side database access.
Authors David Ungar and Robert Dickerson take you through Swift’s support for object-oriented, functional, and imperative programming, and then show you how to build a Swifty web service that interfaces with other services and databases. By demonstrating how Swift is related to Java and Javascript, two leading technologies currently used on clients and servers today, this ebook extends your repertoire of skills with one of today's most in-demand languages.
- Learn how Swift produces clear and concise code, and prevents and detects bugs
- Produce code for the client and server with a single uniform IDE
- Reuse Swift abstractions and code on the client, server, and middle tier
- Dive into asynchronous programming with Swift’s support for monads and futures
- Use Swift’s optional types and structures to tell the compiler more about your program
Dr. David Ungar holds a research position at IBM in the Ubiquitous Platforms group within Cloud and Mobile Enterprise Research.
Robert F. Dickerson is a software engineer in the Swift@IBM Engineering group.
Publisher resources
Table of contents
- Preface: Swift for the Rest of Your Application
- 1. A Swift Introduction
- 2. Optional Types, Structures, & Enumerations
- 3. Swift Promises to Tame Asynchrony
- 4. Swift Package Manager
- 5. Writing a To-Do List with Kitura
- Conclusions
Product information
- Title: Extending Swift Value(s) to the Server
- Author(s):
- Release date: February 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491972137
You might also like
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Pro iOS Persistence : Using Core Data
Pro iOS Persistence explains how to build apps in Objective-C and Swift that persist and use …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Reactive Programming with Swift 4
Learn how to solve blocking user experience and build event based reactive applications with Swift. About …