![]() ![]() Change the Render As option to Template Image. Select the image and open the attributes inspector. Go to Assets.xcassets in the project navigator, download this image and drag it into the asset catalog. Next, you’ll need to associate an image to the status item to make your app recognizable in the menu bar. This creates a Status Item - aka application icon - in the menu bar with a fixed length that the user will see and use. Let statusItem = (withLength:NSStatusItem.squareLength) Once the new project is set up, open AppDelegate.swift and add the following property to the class: Uncheck Create Document-Based Application, Use Core Data, Include Unit tests and Include UI Tests.įinally, click Next again, choose a place to save the project and click Create. Then make sure that Swift is selected as the language, and that Use Storyboards is checked. On the next screen, enter Quotes as the Product Name, choose your desired Organization Name and Organization Identifier. Go to File/New/Project… then select the macOS/Application/Cocoa App template and click Next. If you need a refresher, start with our macOS Development for Beginners tutorial for a great introduction. ![]() Note: This tutorial assumes you’re familiar with Swift and macOS.
0 Comments
Leave a Reply. |