© Marek Sadowski and Lennart Frantzell 2020
M. Sadowski, L. FrantzellServerless Swifthttps://doi.org/10.1007/978-1-4842-5836-1_4

4. Hello World from Apache OpenWhisk in Swift

Marek Sadowski1  and Lennart Frantzell2
(1)
Walnut Creek, CA, USA
(2)
Sunnyvale, CA, USA
 

After completing this chapter, you will be able to code and run your first serverless actions in a Cloud using the Swift programming language from both a browser-based editor and a command-line interface (CLI). Once the action is created, you will be able to invoke the action’s function from a mobile iOS application.

“Hello World”

Let’s begin by coding what developers typically call the “Hello World” program to accomplish the task of making our Swift Serverless function respond with the simple ...

Get Serverless Swift: Apache OpenWhisk for iOS developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.