Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Native macOS application, or the world of AppKit
Search
1024jp
March 21, 2019
Technology
10k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Native macOS application, or the world of AppKit
presentation slides for "try! Swift Tokyo 2019"
video:
https://youtu.be/lSiwCAQVKQk
1024jp
March 21, 2019
More Decks by 1024jp
See All by 1024jp
What's new in AppKit on macOS 26
1024jp
0
460
Outline View in SwiftUI
1024jp
1
1.6k
OSSのアプリケーションを開発「し続ける」ための哲学 / Philosophy to continue developing OSS application
1024jp
8
3.6k
TextKitでのシンタックスハイライト高速化 / Optimize Syntax Highlight with TextKit
1024jp
7
3.1k
家の明るさ制御 / Brightness Control in My House
1024jp
0
980
Big Surからの四角いアイコン / Rounded Rectangle Icons since Big Sur
1024jp
5
2.3k
NSTextView とは何なのか / What is NSTextView
1024jp
6
3.8k
GNUstepとCocotron / GNUstep and Cocotron
1024jp
2
2.2k
環境設定の作法 / Manners of Preferences Window on macOS
1024jp
3
2.5k
Other Decks in Technology
See All in Technology
クレデンシャル流出 ― 攻撃 3 時間 vs 復旧 10 時間。この非対称性にどう備えるか
kazzpapa3
3
620
Why is RC4 still being used?
tamaiyutaro
0
130
Flow 不死:AI 時代 DevOps 的不變本質
cheng_wei_chen
2
550
AIに障害切り分けを全部やってもらった。 。 。 。
estie
0
260
飲食店もAIで。レジ締めやハンディシステムをつくってる話 / Using AI for restaurant management
vtryo
0
200
CVE-2026-20833_脆弱性対応とAES 化について
jukishiya
0
140
作る力から、見極める力へ — AI時代に広がるエンジニアの価値と役割
rince
0
360
從開發到部署全都交給 AI:實作 AI 驅動的自動化流程
appleboy
0
180
PostgreSQL 19 新機能概要 OSC Hokkaido 2026
nori_shinoda
0
260
[チョークトーク資料]AWS DevOps Agent を使いこなす / AWS Dev Ops Agent Chalk Talk AWS Summit Japan 2026
kinunori
4
810
トークン最適化のためのユーザーストーリー分析 / User Story Analysis for Token Optimization
oomatomo
0
130
起点・思考・出力で分解する 〜PM業務の自動化設計〜
kazu_kichi_67
2
1.1k
Featured
See All Featured
Marketing to machines
jonoalderson
1
5.5k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
540
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
400
Building a Scalable Design System with Sketch
lauravandoore
463
34k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
310
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
エンジニアに許された特別な時間の終わり
watany
107
250k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
750
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
Transcript
title: presenter: place: date: Native macOS application, or the world
of AppKit try! Swift 2019 2019-03-21 1024jp ʢnative macOS applicationɺ·ͨAppKitͷੈքʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Who’s 1024jp ? academic researcher in real life Dr. 1024jp
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Who’s 1024jp ? CotEditor Gapplin Qli application work plain-text editor SVG viewer movie player macOS meet-up hobby macOS developer/designer @1024jp icon work (academic researcher in real life)
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp CotEditor lightweight plain-text editor written in pure Swift + Cocoa github.com/coteditor
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp CotEditor Seriously, I tried hundreds of different text editors, I'm extremely picky and I couldn't believe I found this one. Tons of features and customization options, but also straight to the point and really fast. Excellent code formatting, excellent native, minimal UI. No useless extra features or weird themes. It launches instantly on any machine. I use CotEditor every single day for every text related task, and it's all I need. #1 text editor for Mac Nov 10, 2018 | Italy ˒˒˒˒˒ I was looking for another really light-weight multipurpose editor with proper syntax highlighting that was Cocoa native. This will finally replace Smultron which I loved until the developer thought he was a designer and fubar'd the UI. Particularly love being able to customise line height, because this is too often forgotten, Kudos for this app. Finally, another lightweight and simple editor Jul 14, 2017 | Japan ˒˒˒˒˒ This is the one what I'm looking for whole this time. I was looking for simple text editor with mac os interface elements and some basic features. I gave up searching. I decided to develop one on my own. And, I almost start to develop. Then, I found this app. It's saves my time. My request: Only I missing is project file directory as sidebar. This is the One Dec 1, 2018 | Sri Lanka ˒˒˒˒˒ Great code editor! /* Please add a left Sidebar */ Simple, Powerful, and True to macOS UI Feb 1, 2019 | United States ˒˒˒˒˒ 4.7 out of 5 346 37 11 4 8 ˒˒˒˒˒ ˒˒˒˒ ˒˒˒ ˒˒ ˒
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Survey ʢௐࠪʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Survey | Q1 Experienced developing a macOS app using AppKit ʢAppKitΛͬͨmacOSΞϓϦέʔγϣϯͷ։ൃܦݧ͕͋Δʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Survey | Q2 Develop macOS apps still actively ʢࠓͰ׆ൃʹmacOSΞϓϦέʔγϣϯΛ։ൃ͍ͯ͠Δʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Survey | Q3 Code Swift mainly on Mac ʢීஈMacͰSwiftΛॻ͍͍ͯΔʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Subject of this talk developing native macOS application ① ②
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp What’s a native macOS application? programming language Swift / Obj-C framework Cocoa UI design macOS Human Interface Guidelines ? ? ? ʢϓϩάϥϜݴޠʣ ʢϑϨʔϜϫʔΫʣ ʢϢʔβΠϯλʔϑΣΠεઃܭʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp “an application that is designed for macOS” “Native” native | ˈneɪtɪv | 1 associated with the place or circumstances of a person's birth: … 2 (of a plant or animal) of indigenous origin or growth: … 3 (of a quality) belonging to a person's character from birth; innate: … 4 (of a metal or other mineral) found in a pure or uncombined state. 5 Computing designed for or built into a given system, especially denoting the language associated with a given processor, computer, or compiler, and programs written in it. (特定のシステムに向けて 設計もしくはビルドされた) Oxford Dictionary of English ʢmacOSͷͨΊʹઃܭ͞ΕͨΞϓϦέʔγϣϯʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp “Native” ab$#inu@ moof! non-native language ʢඇωΠςΟϒͳݴޠʣ ? what want to say ʢݴ͍͍ͨ͜ͱʣ listener ʢฉ͖खʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Importance of native in macOS applications
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Application’s domain in display macOS app iOS app control the entire display. ʢը໘ͯ͢Λࢧʣ control only a part of the display. ʢը໘Ұ෦ͷΈࢧʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Window to content content ʢຊ࣭ʣ window ʢΠϯυ=૭ʣ user ʢϢʔβʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp application content application content Window to content macOS app iOS app frame = device ʢʹσόΠεʣ frame = window ʢʹΠϯυʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp CotEditor File Edit Format View Text Find Window Help Physical objects in macOS Moof!
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp System features among applications App A App B App C App A App A
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Titlebar Example highlight toolbar button document icon titlebar standard titlebar ʢඪ४తͳλΠτϧόʔʣ cross section ʢஅ໘ʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Titlebar Example modern? titlebar ʢϞμϯͳʁλΠτϧόʔʣ index.html
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Titlebar Example
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Titlebar Example modern? titlebar ʢϞμϯͳʁλΠτϧόʔʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Integrate into platform culture
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Developer’s ego aim application user ʢϢʔβʣ ʢΞϓϦέʔγϣϯʣ ʢతʣ developer ʢ։ൃऀʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Skill-set for GUI application development ʢίʔσΟϯάʣ ʢ͓ֆ͔͖ʣ ʢઃܭʣ Designing Coding Drawing Aesthetic work – Creating visual components – Determining color scheme – … Programming work – Implementing features – Performance optimization – … Planning work – Shaping the future direction of apps – Designing UI/UX – …
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Tools for native macOS application AppKit’s APIs
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Tools for native macOS application AppKit’s APIs macOS HIG +
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp How about Marzipan? “iOS-style Mac app is just a good-looking Electron” ʢiOS෩ͷMac AppͨͩͷΩϨΠͳElectronͰ͔͠ͳ͍ʣ
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp AppKit is not dead
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp A good application should… be transparent, be native.
try! Swift 2019 Native macOS application, or the world of
AppKit © 2019 1024jp Thank you.