Transitioning to Swift

Transitioning to Swift Cover Image

By Scott Gardner

  • ISBN13: 978-1-484204-07-8
  • 240 Pages
  • User Level: Beginner
  • Publication Date: December 24, 2014
  • Available eBook Formats: EPUB, MOBI, PDF

Transitioning to Swift is a fast-paced 200-page guide that will help you get up to speed quickly on Apple’s new programming language for building the next generation of apps for Apple devices. It examines the similarities and differences between Swift and traditional Objective-C based programming, and builds upon your existing Objective-C skills to help you efficiently and successfully transition to writing powerful, expressive, and flexible code in Swift. Continue reading

Advertisements

Swift Pocket Reference

Programming for iOS and OS X

Programming for iOS and OS X

Publisher: O’Reilly Media
Final Release Date: December 2014
Pages: 186

Description

Get quick answers for developing and debugging applications with Swift, Apple’s multi-paradigm programming language. This pocket reference is the perfect on-the-job tool for learning Swift’s modern language features, including type safety, generics, type inference, closures, tuples, automatic memory management, and support for Unicode.

Designed to work with Cocoa and Cocoa Touch, Swift can be used in tandem with Objective-C, and either of these languages can call APIs implemented in the other. Swift is still evolving, but it’s clear that Apple sees it as the future language of choice for iOS and OS X software development. Continue reading

Swift Courses on iTunes U

I’ll list down the courses here as I get noticed on iTunes U.

iPhone Application Programming WS 14/15

iPhone Application Programming WS 14/15

by RWTH Aachen University

Course Description

In this course students learn to develop and deploy mobile applications on Apple’s iOS devices.
The iPhone OS SDK was designed from scratch when introduced with the iPhone OS 2. In its design, it follows various established software development patterns, making it an ideal subject to teach how to create such an SDK. This shows how software design patterns can advance from pure theory to a real-world setting. On the other hand, the iPhone is a very interesting device from an HCI perspective. The user interface has to deal with (multi-)touch interaction, which results in new challenges to the software architecture, e.g., in event handling. With its rich set of sensors, the iPhone allows for input far beyond mouse and keyboard. Finally, both the iPhone and the iPad have simply become “in”-devices since their introduction. Didn’t you ever want to show your own app to your friends on your iPhone? Continue reading

The official Swift Programming Language Books by Apple (Free)

The Swift Programming Language

The Swift Programming Language

Book 1, Swift Programming Series

Apple Inc.

This book is available for download with iBooks on your Mac or iOS device, and with iTunes on your computer. Books can be read with iBooks on your Mac or iOS device.

Description

Swift is a new programming language for creating iOS and OS X apps. Swift builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works. Continue reading

Introduction to the Swift REPL

Introduction to the Swift REPL (source)

Xcode 6.1 introduces yet another way to experiment with Swift in the form of an interactive Read Eval Print Loop, or REPL. Developers familiar with interpreted languages will feel comfortable in this command-line environment, and even experienced developers will find a few unique features. To get started, launch Terminal.app (found in /Applications/Utilities) and type “swift” at the prompt in OS X Yosemite, or “xcrun swift” in OS X Mavericks. You’ll then be in the Swift REPL:

Welcome to Swift version 1.1 (swift-600.0.20.0). Type :help for assistance.
  1>   

All you need to do is type Swift statements and the REPL will immediately execute your code. Expression results are automatically formatted and displayed along with their type, as are the results of both variable and constant declarations. Console output flows naturally within the interactive session: Continue reading

Swift Design Patterns Cheat Sheet

Swift Design Patterns Cheat Sheet  (GitHub) A short cheat-sheet with Xcode 6 Playground (Design-Patterns.playground.zip).

Table of Contents

Behavioral

In software engineering, behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns. By doing so, these patterns increase flexibility in carrying out this communication. Source: wikipedia.org

🐝 Chain Of Responsibility

Continue reading

Swift Cheat Sheet

A couple of Swift Cheat Sheet resources are referenced and pasted down here.

raywenderlich.com

Swift Cheat Sheet and Quick Reference Now Available!


http://kpbp.github.io/swiftcheatsheet/

A quick cheat sheet and reference guide for Apple’s Swift language. This guide intends to cover all the key features of Swift, including Strings, Arrays, Dictionaries and Flow Control.

Swift is a new programming language for developing iOS and OS X apps that was introduced by Apple in June 2014. Continue reading