V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
QGabriel
V2EX  ›  macOS

macos 的通知中心小程序如何开发?

  •  
  •   QGabriel · 2021-09-09 15:04:45 +08:00 · 1245 次点击
    这是一个创建于 931 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有没有开发过的大佬指一下学习线路
    ZzzM
        1
    ZzzM  
       2021-09-09 16:45:12 +08:00
    macOS 11 以下( Today Widget ):
    Notification Center - https://developer.apple.com/documentation/notificationcenter
    支持 OC 或 Swift 开发

    macOS 11 及以上( Widget Extension ):
    Widgetkit - https://developer.apple.com/documentation/widgetkit/
    只支持 SwiftUI 开发
    nieyujiang
        2
    nieyujiang  
       2021-09-09 16:52:48 +08:00 via iPhone
    还有,这东西不叫小程序🌚。
    QGabriel
        3
    QGabriel  
    OP
       2021-09-10 11:41:41 +08:00
    @ZzzM 谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3360 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:17 · PVG 21:17 · LAX 06:17 · JFK 09:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.