Mixed Language App Development with Objective-C and Swift

Video description

In this Mixed Language App Development with Objective-C and Swift training course, expert author Jesse Feiler will teach you how to effectively develop apps for Cocoa and Cocoa Touch with Xcode. This course is designed for users that are already familiar with Objective-C and Swift.

You will start by learning how apps are built, then jump into setting up the development environment. From there, Jesse will explore the main issues, such as brackets and dots, named parameters in Objective-C, and Objective-C nil code. This video tutorial will teach you how to work with classes, declare properties and variables, initialize objects and properties, and declare methods. You will also learn how to create functions and methods, use Tuples in Swift, mix and match Swift and Objective-C, work with switches, and override operators in Swift. Finally, you will learn how to expand your app using an extension or category, as well as how to share your code using Swift and Objective-C.

Once you have completed this computer based training course, you will be fully capable of developing your own apps for Cocoa and Cocoa Touch with Xcode.

Table of contents

  1. Introduction
    1. About The Course 00:02:34
    2. About The Author 00:02:46
  2. How Apps Are Built
    1. Building Apps - The Three Components 00:04:08
    2. Integrated Development Environment - Xcode 00:05:14
    3. Languages - Swift 00:07:04
    4. Languages - Objective-C 00:09:51
    5. Frameworks - Cocoa 00:04:49
    6. Frameworks - Cocoa Touch 00:03:17
  3. Setting Up The Development Environment
    1. Becoming A Developer 00:07:50
    2. Registering As A Developer 00:04:09
    3. Exploring The Documentation 00:07:14
  4. Exploring The Main Issues
    1. Understanding Auditing 00:04:45
    2. Brackets And Dots 00:05:18
    3. Named Parameters In Objective-C 00:12:14
    4. Named Parameters In Swift 00:06:36
    5. Exploring NULL And nil 00:04:44
    6. Writing Objective-C Code For nil Objects 00:03:47
    7. Writing Swift Code For nil Objects 00:05:56
    8. Exploring Objective-C nil Code 00:03:04
    9. Avoiding The nil Issue In Swift 00:05:53
    10. Using a Subclass In A Declaration In Swift 00:01:27
    11. Working With Swift Optionals 00:05:17
  5. Working With Classes
    1. Looking At The Class Hierarchy - NSObject 00:07:40
    2. Looking At Base Classes 00:06:16
    3. Creating A Class In Objective-C - Part 1 00:07:42
    4. Creating A Class In Objective-C - Part 2 00:04:38
    5. Creating A Class In Swift 00:06:42
    6. Comparing The Classes 00:04:00
  6. Declaring Properties And Variables
    1. Strong And Weak Properties In Objective-C 00:06:21
    2. Using Variables In Swift 00:06:19
    3. Looking At References And Values 00:05:51
  7. Initializing Objects And Properties
    1. Setting A Value In A Swift Class Declaration 00:05:12
    2. Setting An Init Value In Objective-C 00:05:19
    3. Finishing Initialization 00:06:02
    4. Observing Values In Swift 00:04:23
    5. Using Getters And Setters In Swift 00:04:11
    6. Debugging The Observer And Accessor 00:04:08
    7. Observers And Accessors In Objective-C 00:06:48
  8. Declaring Methods
    1. Class Methods And Return Values In Objective-C 00:05:21
    2. Class Methods And Return Values In Swift 00:03:14
    3. Using Lazy Initialization 00:04:59
  9. Creating Functions And Methods
    1. Creating A Swift-Only Function 00:04:25
    2. Using A Generic Type Part 1 00:02:40
    3. Using A Generic Type Part 2 00:02:34
    4. Using Multiple Generics And Known Types 00:03:03
    5. Exploring Types 00:02:28
  10. Returning Values
    1. Writing A Simple Method In Swift And Objective-C 00:03:42
    2. Returning An Array In Objective-C - Part 1 00:04:49
    3. Returning An Array In Objective-C - Part 2 00:04:58
    4. Returning An Array In Swift 00:01:26
  11. Using Tuples In Swift
    1. Returning Multiple Values From Swift With A Tuple 00:03:39
    2. Looking Inside A Tuple - Numbers 00:02:40
    3. Looking Inside A Tuple - Names 00:02:22
  12. Mixing And Matching Swift And Objective-C
    1. Introducing The Mix and Match Workspace 00:06:22
    2. Adding an Objective-C Method 00:06:40
    3. Adding and Using a Class and Function in Swift 00:05:36
    4. Adding a Swift Class and Function to an Objective-C Project - Part 1 00:04:44
    5. Adding a Swift Class and Function to an Objective-C Project - Part 2 00:05:23
    6. Implementing an Objective-C Class in a Swift Project - Part 1 00:03:05
    7. Implementing an Objective-C Class in a Swift Project - Part 2 00:04:16
    8. Implementing an Objective-C Class in a Swift Project - Part 3 00:04:48
  13. Bridging
    1. Bridging Strings 00:05:36
    2. Bridging An Array From Objective-C 00:03:07
    3. Using A Selector In Objective-C 00:07:07
    4. Using A Selector Equivalent In Swift 00:03:36
  14. Classes, Structs, and Enums
    1. Comparing Classes, Structs, And Enumerations 00:07:02
    2. Creating a Swift Enumeration 00:02:31
    3. Adding Typed Cases 00:02:39
    4. Adding A Function 00:08:08
    5. Planning The Class, Struct, And Enum 00:05:14
    6. Adding A Struct 00:03:08
    7. Adding A Class 00:04:04
    8. Adding Computed Properties 00:03:47
    9. Finishing Up 00:02:28
  15. Working With Switches
    1. Looking At Objective-C Switches 00:04:04
    2. Looking At Swift Switches 00:05:05
  16. Blocks
    1. Using A Block Without Parameters In Objective-C 00:04:03
    2. Using A Closure Without Parameters In Swift 00:01:07
    3. Using A Block With Parameters In Objective-C 00:02:48
    4. Using A Closure With Parameters In Swift 00:04:36
  17. Subscripts
    1. Using Swift Subscripts - Introduction 00:04:32
    2. Adding A Subscript 00:04:09
    3. Implementing The Subscript 00:04:37
    4. Returning The tuple 00:03:55
  18. Working With Operators
    1. Working With Operators - Part 1 00:07:06
    2. Working With Operators - Part 2 00:03:21
    3. Creating A New Operator 00:03:03
  19. Conclusion
    1. Wrap-Up 00:06:54

Product information

  • Title: Mixed Language App Development with Objective-C and Swift
  • Author(s):
  • Release date: November 2015
  • Publisher(s): Infinite Skills
  • ISBN: 9781771374590