tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Aral Balkan (aral@mastodon.ar.al)'s status on Wednesday, 31-Oct-2018 20:29:26 CET Aral Balkan Aral Balkan

    Today I learned that status bar menus on macOS use a different run loop mode (.commonModes; https://source.ind.ie/better/app/blob/2018.2/Better/Better%20Mac/StatusAreaController.swift#L205) and so if you try to update a custom view via a timer on the default mode, your view won’t update. (Also, there’s a three-year-old bug with vibrant views and CoreAnimation that means that you apparently can’t use the latter in a system menu without artifacts, which is why I’m frame-animating a spinner via an NSImageView instead of using NSProgressIndicator).

    #cocoa #development

    In conversation Wednesday, 31-Oct-2018 20:29:26 CET from mastodon.ar.al permalink

    Attachments

    1. Better/Better Mac/StatusAreaController.swift · 2018.2 · Better / App
      from GitLab
      The Better iOS and macOS apps.

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.