admin管理员组文章数量:1646456
文章目录
- 一些技巧
- macOS 开发常用技术/框架
- 官方文档/教程
- 其它书籍教程等
- OC 语言
- Swift 语言
- SwiftUI 框架
- macOS 开发学习资源
- 视频教程
- 书籍
- 博客
- Opensource
- macOS 开发文章
- 视图 UI
- 系统功能&权限控制
- App 生命周期
- 其它
- 系统发布信息 Release Notes
- 工具下载等
- Apple 新闻资讯
- 其他资料
- Mac 使用&软件下载
- 交流
一些技巧
- 善用搜索引擎
建议使用 https://www.bing,使用英文关键字进行搜索
比如将mac 按钮
替换为macOS button
- 有明确问题可搜 https://stackoverflow
- 有关键词后,可以在 github 上搜索;
- 阅读头文件,有空通读官方文档,更容易解决问题;
Mac 开发资料少,更需要锻炼英文文档阅读能力。
macOS 开发常用技术/框架
原生:
- AppKit (UI/App 管理),
https://developer.apple/documentation/appkit - SwiftUI (Apple 主推的跨平台UI框架)
https://developer.apple/tutorials/app-dev-training - Catalyst (Mac 和 iPad 相同代码)
https://developer.apple/cn/mac-catalyst/
非原生:
- Qt
https://doc.qt.io/qt-5/macos.html - Electron 基于 Chromium 和 Node.js
https://www.electronjs/docs - Flutter
https://flutter.dev/docs - tauri
https://tauri.app/zh/
官方文档/教程
- Apple Developer Documentation (新)
https://developer.apple/documentation/ - Documentation Archive(旧但有价值)
https://developer.apple/library/archive/navigation/ - WWDC20
https://developer.apple/wwdc20/ - Human Interface Guidelines
https://developer.apple/design/human-interface-guidelines/ - What’s New in the macOS SDK
https://developer.apple/cn/macos/whats-new/
其它书籍教程等
OC 语言
- 官方:Programming with Objective-C
https://developer.apple/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC - 官方:Object-Oriented Programming with Objective-C
https://developer.apple/library/content/documentation/Cocoa/Conceptual/OOP_ObjC - 《Objective-C 程序设计》
https://book.douban/subject/19967897/ - 《Effective Objective-C 2.0》
https://book.douban/subject/25829244/
Swift 语言
- Swift官方文档
https://docs.swift/swift-book/index.html/ - Swift官方文档 中文翻译
https://wwwswift
SwiftUI 框架
- Apple 官方教程
https://developer.apple/tutorials/app-dev-training - onevcat 专栏:SwiftUI 与 Combine 编程
https://xiaozhuanlan/swift-ui - B站视频教程:2020 斯坦福(Stanford)Swift 语言教程 SwiftUI 开发 苹果公司 iOS编程 CS193p
https://www.bilibili/video/av413241660/
- iOS Demo:SwiftUI-Kit
https://github/jordansinger/SwiftUI-Kit - SwiftUI Reddit client for macOS
https://github/Dimillian/RedditOS
macOS 开发学习资源
视频教程
- macOS开发从入门到精通(199元)
https://i.xue.taobao/detail.htm?spm=a2174.7765247.0.0.Q5FIrn&courseId=100614 - Harry Ng 的教程(英文)
http://www.jianshu/p/c79ff411e983 - 代码行者的 Mac OSX 开发基础教程
http://study.163/course/introduction/1004170018.htm
http://www.jianshu/p/764bd7a4970e - macOS 应用开发进阶课
http://study.163/course/introduction/1005042030.htm - Mac精仿QQ实战课程
https://edu.csdn/course/detail/7033 - AppleProgramming
https://www.youtube/user/AppleProgramming/videos - Cocoa Tutorials
https://www.youtube/playlist?list=PLE83F832121568D36
书籍
- 《macOS 应用开发基础教程》[剑指人心]
纸质版(swift)地址: https://book.douban/subject/30336317/
电子版(oc&swift)地址:http://www.macdev.io
作者开发的代码自动生成工具:http://www.appx
是一款非常好用的工具,简直是新上手 macOS UI 的大福利。
- 《Mastering macOS Programming》 [Stuart Grimshaw]
https://book.douban/subject/27084645/ - macOS Programming for Absolute Beginners [Wallace Wang]
https://book.douban/subject/30358260/ - 《深入解析Mac OS X & iOS操作系统》
https://book.douban/subject/25870206/ - 《Cocoa入门:使用Objective-C》
对本书翻译的相关博客:
http://blog.sina/s/articlelist_1576524975_0_1.html
个人说明:书籍比较陈旧,但知识体系齐全,适合入门参考。
- 《OS X与iOS内核编程》
https://book.douban/subject/24696879/
- 《macOS软件安全与逆向分析》[非虫]
介绍:https://zhuanlan.zhihu/p/28008458
章节试读:https://github/feicong/macbook
博客
我的文章
- macOS 开发
https://blog.csdn/lovechris00/category_12420544.html
- http://www.cocoawithlove/archive/
- https://nyrra33/archive/ 33
- https://www.zhihu/column/c_1079349488673648640 十里的知乎macOS开发专栏
- http://www.skyfox/system/macos 天狐
- http://www.tanhao.me 谭颢
- http://lianxu.me/ lianxu
- https://www.venj.me
- https://blog.csdn/cneducation afatgoat
Opensource
- https://www.cocoacontrols
- https://github/serhii-londar/open-source-mac-os-apps
- https://github/iCHAIT/awesome-macOS
- https://github/topws/MacDemos
- https://github/GitHubWanglei/macOS_AppKit_Demo Wanglei 关于基本控件的使用
- http://lianxu.me/code/ lianxu 搜集的 cocoachina 上的优质 demo
- 一些开发者
HsiangHo, venj, sjitech, yuedong56, sindresorhus
macOS 开发文章
视图 UI
- ix4n33:NSVisualEffectView
https://nyrra33/2020/09/25/notes-on-visual-effect-view/ - ix4n33:为 NSVisualEffectView 设定自定义颜色
https://nyrra33/2019/07/31/tinting-the-nsvisualeffectview/ - 十里:Popover
https://zhuanlan.zhihu/p/56781495 - 十里:NSTextField 支持文本快捷键(二): 撤销和重做
https://zhuanlan.zhihu/p/57875425 - ix4n33:侧边栏菜单设计
https://nyrra33/2020/01/03/sidebar-menu-design/ - 十里:Windows 和 WindowController
https://zhuanlan.zhihu/p/61156447 - ix4n33:AppKit 中的窗口释放策略
https://nyrra33/2020/02/11/releasing-window-objects/
系统功能&权限控制
- ix4n33:使用代码打开指定偏好设置面板
https://nyrra33/2019/07/23/open-preference-pane-programmatically/ - 十里:本地消息通知
https://zhuanlan.zhihu/p/59530670
App 生命周期
- ix4n33:实现程序自启动的最佳实践
https://nyrra33/2019/09/03/cocoa-launch-at-startup-best-practice/ - APP 的自重启
https://zhuanlan.zhihu/p/56927877
其它
系统发布信息 Release Notes
- macOS 10.14 及以上
https://developer.apple/documentation/macos-release-notes - macOS 10.13 及以下
https://developer.apple/library/archive/releasenotes/MacOSX/WhatsNewInOSX/WhatsNewInOSX.html# - iOS 12 及以上
https://developer.apple/documentation/ios-ipados-release-notes - 其他旧版本
https://developer.apple/library/archive/navigation/#section=Resource Types&topic=Release Notes
工具下载等
- Apple 官方下载
https://developer.apple/download/ - 磁盘镜像
https://themacgo/category/macos/ - 获取macOS镜像
https://github/kholia/OSX-KVM/blob/master/fetch-macOS.py - Apple 开源
https://opensource.apple
Apple 新闻资讯
- Mac Rumors
https://www.macrumors - iDrop News
https://www.idropnews
其他资料
- How We Ported Linux to the M1
https://corellium/blog/linux-m1
Mac 使用&软件下载
- Bruce :《Mac系统的日常使用技巧 》系列
https://www.xiebruce.top/category/mac - MacGG:Mac 使用攻略
https://www.macgg - MacFlow
https://macflow - 知乎专栏:Mac小技巧(马可菠萝)
https://zhuanlan.zhihu/macbl - Mac毒:Mac 使用技巧 & Mac 软件
https://author.baidu/home/1583497111996425?from=dusite_artdetailh5 - Mac 大学
http://www.macdaxue - 利器
http://liqi.io/sponsorship/ - 麦克叉
https://www.macx - 底噪
https://zhih.me/tags/macOS/
交流
macOS 开发 学习交流、吹水QQ群:644096295
版权声明:本文标题:macOS 开发 - 入门笔记 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1729455683a1201613.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论