Skip to content
Swift programming for macOS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Process
StatusItem
TableView
alert-modal
alert-sheet
arrays.playground
change-view
detect-24hr-clock.playground
detect-sunrise-sunset.playground
docs
filter.playground
location-lat-lon.playground
sidebar
strings.playground
text-did-change
userdefaults
LICENSE
README.md

README.md

Swift Programming for macOS

🍎 💻 Code examples written in Swift for macOS app development.

Alert / OutlineView / Process / StatusItem / TableView / UserDefaults

Alert

OutlineView

  • NSOutlineView, NSOutlineViewDataSource, and NSOutlineViewDelegate
  • Use a Source List object from Interface Builder as an Outline View.

Process

  • Process and Pipe
  • Get date and time from a Bash command.

StatusItem

  • NSStatusItem and NSStatusBar
  • Show a status item in the top menu bar.

TableView

  • NSTableView, NSTableViewDataSource, and NSTableViewDelegate
  • Display data in a table of rows and columns.

UserDefaults

  • UserDefaults
  • Persist data across app launches with the user's defaults database.
You can’t perform that action at this time.