Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Professional macOS Programming
Highest Rated
Rating: 4.6 out of 5(70 ratings)
496 students

Professional macOS Programming

Learn how to code for your macOS application using the latest tools, designs, & best coding practices with Swift & XCode
Last updated 11/2019
English

What you'll learn

  • Use a table view to present rows of data more efficiently
  • Work with Windows object in Xcode and modify some of its properties
  • Detect key presses on Mac, so that different actions can be performed depending on the Key that was pressed on the keyboard
  • Make your application dynamic by adding animations
  • Add different functionality to the app like detecting touches, deleting and adding apps
  • Discover SpriteKit game development using macOS programming to add a game to the app functionality

Course content

10 sections49 lectures5h 10m total length
  • The Course Overview5:12

    This video will give you an overview about the course.

  • Introduction to macOS Xcode Project4:35

    Developing macOS project require the use of Xcode IDE. In this section, we are going to create our first macOS Xcode project. We will also explain the user interface objects on the storyboard, such as Windows and Windows Controller and View and View Controller. We are also going to run the app for the first time.

       •  Create a new Xcode project for the app

       •  Understand the user interface object on the storyboard

       •  Run the macOS app for the first time

  • Setting Up Split Window9:54

    In this section, we are going to learn about segue and learn how to use the object library, to add new user interface objects onto the storyboard. We are also going to be adding a split View Controller and making it the initial View Controller of the app.

       •  Understand initial View Controller and segue

       •  Add split View Controller to the storyboard

       •  Embed split View Controller into the Windows Controller

  • Setting Up IBOutlets6:57

    Once the split view is set up, we need to add a table view to one of the split view items and add an image view to the other split view items. We will also add layout constraints to the user interface objects. Finally, we are going to create IBOutlets for these objects.

       •  Add a table view object and add layout constraints

       •  Add an image view object and add layout constraints

       •  Create IBOutlets for the table and the image view

  • Prepare the TableView4:31

    In a split view item, there is a property that must be set so that both split view items can be displayed. We are going to configure delegate and data source for the table view. Finally, we are going to learn how to reduce the size of a split view item.

       •  Configure the split view holding priority property

       •  Set up the TableView delegate and data source

       •  Reduce the table view (split view item) width

  • Load Data into TableView8:48

    Displaying data in table view requires configuring the TableView data source and delegate. Once that is configured, we need to call the functions that are responsible for the number of rows that should be in a TableView, and displaying data in the TableView.

       •  Conform to the TableView delegate and data source protocols

       •  Add some flower name data into the project

       •  Add functions for the number of rows and to display data

  • Test your knowledge

Requirements

  • If you’re a Swift or iOS developer that wants to learn how to code for multiple Apple platforms and build an application on macOS, then this is the course you need!
  • Basic familiarity with Swift/Objective-C is assumed.

Description

macOS is known for its tight integration across the Apple ecosystem of mac platforms and devices. In this course, you’ll get an in-depth knowledge of working on macOS that enables you to unleash its full potential using Swift to build applications.

The course will show you how to set up your environment easily and create your projects and properly lay out the controls. Discover the principles of programming by using Swift and Xcode, and see how to combine your knowledge into writing macOS programs. Look at the common design patterns that you need to know to plan anything more than a simple project for your desktop applications. You will add different functionality to the app like detecting touches, deleting and adding apps. Add animations to your application and to different layers for making it more dynamic. Finally, you will cover SpriteKit game development using macOS programming to add a small game to your app’s functionality.

By the end of this course, you’ll be well-acquainted with Swift, Cocoa, Apple Scripts, and a plethora of other essential tools. You’ll be ready to tackle advanced software projects on macOS.

About the Author

Dee Aliyu Odumosu has developed over 120 apps for global clients, including both individuals and start-ups. His apps range from basic to very complex, some of which he features on his own website. Dee’s passion for computer programming began in 2006 with his first contact with Java programming language. For the last 5 years, Dee has been successfully programming on the iOS platform using Objective-C and Swift languages.

Who this course is for:

  • This course was created for beginners or developers on other platforms who want to build their first macOS application.