VirtualApple
UTM
VirtualApple | UTM | |
---|---|---|
3 | 244 | |
258 | 24,522 | |
- | 2.7% | |
1.0 | 9.6 | |
2 months ago | 3 days ago | |
Swift | Swift | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
VirtualApple
-
Ask HN: Resources to Learn macOS Development?
Pretty recent, I check it every once in a while to see what’s going on. Of course, with macOS generally most of the changes happen around WWDC ;)
SwiftUI on macOS is currently ok for a few usecases. One is little document apps. Emphasis on little, this is going to be things that wrap an image or a text file or something. The API is reactive so it’s not really designed for complex/partial file formats. Another good usecase is just pure drawing/animation. This code will look identical on macOS and iOS and is very easy to write with SwiftUI. Finally, the last thing that mostly works is just lists of content. Not table views, those aren’t very good yet. I’m talking about Twitter-like content, as in a media viewer in list form.
What doesn’t work well is anything that has to do with controls (either they look very ugly, the control doesn’t exist, or SwiftUI has no concept of some significant portion of the control). If you want to do like focus loops or right clicks or anything complicated, forget it. (Some of these are getting fixed piecemeal, but AppKit has like a thousand little things that make good apps and it’ll be a while before they are all fixed.)
By way of example, I actually have some small apps that show this off well. https://github.com/saagarjha/EffectivePower is a little view-only document shoebox style app. It’s 100% SwiftUI, has one main screen that is a hand-drawn graph, and some auxiliary UI. This makes it about as good as it could be for using the framework. Making the graph was a delight. Making it perform well was a little bit of work but not too bad. The document abstraction mostly works except SwiftUI expects me to be able to create new documents and I’m just a viewer app so I need to crash if you try to make a new document. The sidebar is a List, which is fine, but I actually wanted it to be a Table. However Table selection asserts right now if you update its selection faster than the NSTableView that backs it animated. Of course in SwiftUI there is no concept of animation duration so you can’t really stop this from happening. You can also zoom the graph in the app. On Monterey if you tried to zoom a couple of times the system magnification gesture just stopped working silently. On Ventura I believe they have fixed this, or at least it isn’t trivially broken anymore. This is common for SwiftUI.
By way of contrast, https://github.com/saagarjha/VirtualApple is also pretty simple but it’s 100% AppKit. I had originally written it in SwiftUI but it’s just not possible to make it be a good Mac citizen. It is “document based” but because it deals with multi-gigabyte VMs I can’t actually let it do the default document based behavior, which includes making hidden revisions whenever the files update (which means you get a dozen secret copies of the VM). In AppKit I can just turn this all off and still look identical to any other system app. (Caveat: if I want the recent files menu and don’t want to use a storyboard, this is actually not available even in AppKit without SPI). Also, I have a little configuration screen which is all buttons and checkboxes. AppKit lets me align it precisely how I want so it looks nice. In SwiftUI it would look pretty awful.
-
Possible to virtualize MacOS Ventura on Apple Silicon?
I just built a Ventura VM using https://github.com/saagarjha/VirtualApple
-
Running macOS in a Virtual Machine on Apple Silicon Macs
Self promotion, but I guess you’re specifically asking for it so I hope you’ll let it slide: https://github.com/saagarjha/VirtualApple. I’ve been using it for development so it’s “actively maintained” in the sense that if it breaks I’ll go fix it because I need it to work :P
UTM
-
Is it impossible to upgrade from 15.1 to 16.3?
If you have TrollStore then install the HV version of UTM to try for yourself: https://github.com/utmapp/UTM/releases/latest/download/UTM.HV.ipa
- UTM – Virtual Machines for iOS and macOS
- Giving up the iPad-only travel dream
-
Exploring Windows XP on macOS ARM64
Researching a little showed that this is basically what can be expected running x86 emulation and the systems will just be wonky and slow, although it was running flawlessly, just slow.
There seem to be ways to use Rosetta2 inside a VM [0] to then translate binaries but I found no official support or documentation (using UTM+QEMU that was), this would be such a cool feature, at least there are discussions about it [1,2]
- [0] https://mybyways.com/blog/using-rosetta-in-a-utm-linux-vm-wi...
- [1] https://github.com/utmapp/UTM/discussions/4939
- [2] https://github.com/utmapp/UTM/issues/5460
-
Run a macOS VM on Apple Silicon from a double-click with Vimy
UTM is open source too though: https://github.com/utmapp/UTM#license
- Is there a way that I can dual boot iPadOS with Windows 11?
- UTM – Run Virtual Machines on iOS
-
UTM for Developers
UTM makes it easy to set up and manage macOS and Windows virtual machines. This can be especially useful for developers such as Tauri contributors who need to test their applications across multiple platforms, or for those looking to experiment with different operating systems without affecting their primary system.
-
What is the best way to run Windows 10 or 11 (whatever is better) on a 2020 MacBook Air M1?
If you don't need high performance and want to use the OS only occasionally, check UTM.app, at https://mac.getutm.app/ (or https://github.com/utmapp/UTM ). Free, open source.
- Lima: A nice way to run Linux VMs on Mac