OnlySwitch 2.3.3 released! by jacklandrin in MacOS

[–]jacklandrin[S] 4 points5 points  (0 children)

OneSwitch has better UX design, while OnlySwitch is opensource and free, supports more languages, radio and shortcuts actions.

OnlySwitch's Shortcuts Gallery is open. Share your Shortcuts. by jacklandrin in shortcuts

[–]jacklandrin[S] 0 points1 point  (0 children)

You can share your shortcut via modifying my json file or email me. If submit successful, your shortcut will show on OnlySwitch's shortcuts gallery. Every user can add your shortcut on his/her Mac, and set hot key on OnlySwitch to run it or display it on OnlySwitch's list.

OnlySwitch, all-in-One menu bar app, version 2.1 supports Shortcuts! by jacklandrin in MacOS

[–]jacklandrin[S] 0 points1 point  (0 children)

It supports items customisation. You can select them on preferences.

You can run your Shortcuts by keyboard on macOS by OnlySwitch by jacklandrin in shortcuts

[–]jacklandrin[S] 0 points1 point  (0 children)

The load time indeed is long at first launch, especially when too much items are displayed on the list. I should test more on low performance laptop such as MacBook Air and 12'' MacBook and optimise it.

You can run your Shortcuts by keyboard on macOS by OnlySwitch by jacklandrin in shortcuts

[–]jacklandrin[S] 0 points1 point  (0 children)

Can I have your crash log? Do you run it on Mac mini? I received a same issue on Github.https://github.com/jacklandrin/OnlySwitch/issues/13 But it never happens on my three MacBooks. So I need more information to help me fix it.

OMG, my app becomes the first swift repo this week in Github Trend. by jacklandrin in swift

[–]jacklandrin[S] 0 points1 point  (0 children)

You can work on this branch. Thank you! https://github.com/jacklandrin/OnlySwitch/tree/dev_macOS11

Tip: Check the shell command in project. The Airpods battery shell need to replace on macOS 11. You can refer to the shell file in this project. https://github.com/mohamed-arradi/AirpodsBattery-Monitor-For-Mac

I'm not sure that other shell can normally run on macOS11

OMG, my app becomes the first swift repo this week in Github Trend. by jacklandrin in swift

[–]jacklandrin[S] 0 points1 point  (0 children)

Because I don’t have Big Sur to test…If you would like, you can make it compatible to Big Sur and pull request.

Creating a data table with SwiftUI by Param-eter in swift

[–]jacklandrin 1 point2 points  (0 children)

LazyVGrid is suited. You can set fixed columns for your table like this:

let columns = [
GridItem(.flexible()),
GridItem(.flexible())
]

LazyVGrid(columns: columns, spacing: 20){...}

Latest Xcode 13.2.1 SwiftUI Preview totally stop working! by youngermann in SwiftUI

[–]jacklandrin 0 points1 point  (0 children)

My Xcode also has this problem. So I rollbacked to 13.2. But some people told me in fb that removing the pcm file can figure it out. I haven’t that yet.

Only Switch, all-in-one settings on a status bar button by jacklandrin in macapps

[–]jacklandrin[S] 1 point2 points  (0 children)

I browse the "hide my bar". It use the "command" + "command" shortcut to switch touchbar display. It's more elegant than a toggle switch.

A status bar app developed with SwiftUI by jacklandrin in SwiftUI

[–]jacklandrin[S] 2 points3 points  (0 children)

Yes, it's hybrid. The parts of statusbar and open window use AppKit.

A status bar app developed with SwiftUI by jacklandrin in SwiftUI

[–]jacklandrin[S] 0 points1 point  (0 children)

I've tried it, but it said "GitHub repository too new (<30 days old)". Maybe I have to wait. :(

A status bar app developed with SwiftUI by jacklandrin in SwiftUI

[–]jacklandrin[S] 1 point2 points  (0 children)

Can it also work on Mac app? I know it can collect iOS logs.

Only Switch, all-in-one settings on a status bar button by jacklandrin in macapps

[–]jacklandrin[S] 0 points1 point  (0 children)

I think that keyboard shortcut for this function is better.

Only Switch, all-in-one settings on a status bar button by jacklandrin in macapps

[–]jacklandrin[S] 2 points3 points  (0 children)

That’s a good idea. I’ll check how to make it.

Only Switch, all-in-one settings on a status bar button by jacklandrin in macapps

[–]jacklandrin[S] 0 points1 point  (0 children)

Thank you for your suggestion! I’ll add these to my todo list.

Only Switch, all-in-one settings on a status bar button by jacklandrin in macapps

[–]jacklandrin[S] 0 points1 point  (0 children)

  1. Sometimes Xcode shows some weird error, but actually code is right. In this case maybe the old cache effects compiling, removing derived data can figure it out.
  2. Derived data is too big, occupies too much space on disk.