This document discusses Swift development on IBM Cloud. It summarizes Swift's performance and memory usage, introduces the Kitura web framework, and describes tools like the Swift Sandbox and Package Catalog for community enablement. An example photo sharing app called BluePic is presented to illustrate end-to-end Swift development, with the iOS client communicating with backend services hosted on IBM Cloud.
14. Community enablement
– Swift Sandbox
– Swift Package Catalog
Consistent developer experience
– Kitura Web Framework
– Core swift.org contributions
Cloud enablement
– IBM Cloud Deployment
– IBM Cloud Tools for Swift
Bringing Swift to the Server
16. Community Enablement
• Interactive sandbox for rapid prototyping and
experimentation in Swift
• Saves your work
• Supports multiple versions
of Swift
• Responsive design
IBM Swift Sandbox
18. Community Enablement
• Find, explore and share packages from the open-
source Swift ecosystem
• Explore dependencies
• Submit your own packages
IBM Swift Package Catalog
19. A Swift Web Framework and HTTP Server
» Open sourced in February 2016
» Modular package-based web framework
» Leverages libdispatch and Foundation
» Driving IBM’s contributions into swift.org
» Used at IBM for Swift server-side applications
Consistent Developer Experience
https://github.com/IBM-Swift/Kitura
Kitura Web Framework
21. Swift 3.0 + Kitura
Swift on the Server is Real
22.
23.
24. Sample photo sharing app
Rich client interface written in Swift
Swift Server built with Kitura, IBM Cloud, Watson,
and OpenWhisk
Available at github.com/IBM-Swift/BluePic
BluePic
End-to-end Swift
25. BluePic design pattern
Services
Object
Storage
Watson Image
Recognition
Cloudant
Core Cloud Services
Response
iOS App
ModelControllersViews
User Interaction
Request
Application Server
Client and Service
Integration
Routing
Service
Logic
End-to-end Swift
26. BluePic design pattern
Application Server
Client and Service
Integration
Core Cloud Services
Users
Photos
Image Insights = Tags
Push Notifications
Mountain,
Sunset, River
Meta Data
End-to-end Swift
33. +
Develop and Debug Develop and Debug Other Services
Mountain,
Sunset, River
Meta Data
CloudmacOS
End-to-end Swift Development
IBM Cloud Tools for Swift