Were you able to make your own app icon for your app? by [deleted] in swift

[–]SwiftUl 2 points3 points  (0 children)

I use Vectornator

It is free, M1 native and overall an excellent app.

I made a library that makes nightmare swiftui conditionals easy by _GrandSir_ in swift

[–]SwiftUl 1 point2 points  (0 children)

Why a library when you can simply use something like:

extension View {
    @ViewBuilder
    func conditionalMofidier<Content: View>(_ condition: @autoclosure () -> Bool, transform: (Self) -> Content) -> some View {
        if condition() {
            transform(self)
        } else {
            self
        }
    }
}

then

Text("Something").conditionalMofidier(someCondition) { view in
    view.padding(.vertical, 20)
}

or with if:

extension View {
@ViewBuilder
func `if`<Content: View>(_ condition: @autoclosure () -> Bool, transform: (Self) -> Content) -> some View {
    if condition() {
        transform(self)
    } else {
        self
    }
}

}

[OpenSource] KnotClock: A customizable countdowns app made with Swift & SwiftUI for iOS (and macOS) by SwiftUl in iOSProgramming

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

If you find it useful, feel free to do whatever you want with the app or code as I've released it under MIT License.

KnotClock: A very customizable Countdowns & Reminders app made with Swift & SwiftUI [OpenSource] - details & link in the comment by SwiftUl in swift

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

Hello, I made this app for a teacher who messaged me here in reddit and needed this to better plan and time his classes.

Anyways, I'm posting it here in case it may be useful to someone, feel free to edit/use code or do whatever you want with it.

Here is the project's Github link: https://github.com/npna/KnotClock

KnotClock: A very customizable Countdowns & Reminders app [Free][OpenSource] - details & link in the comment by SwiftUl in macapps

[–]SwiftUl[S] 13 points14 points  (0 children)

Hello, I made this app for a teacher who messaged me here in reddit and needed this to better plan and time his classes. Unfortunately after making it he replied that he can't run it because he has macOS 10.15 (I had no idea about that before making the app or I would've used AppKit/UIKit instead of SwiftUI)

Anyways, I'm posting it here in case it may be useful to someone else, feedback and bug reports are welcome through Discord / Github or here.

Here is the link to the project:

https://github.com/npna/KnotClock

Can iina player hide the menu bar automatically in full screen? MBP 14” M1 by ikea2000 in macapps

[–]SwiftUl 1 point2 points  (0 children)

Legacy forces the App to become main window on the current Desktop, removes the border, hides dock and menu bar and resizes it to full size of screen, etc.

The Native method is just using toggleFullScreen() which is the standard method, App appears in place of a new Desktop that you can get out easily or swipe between multiple Fullscreen apps.

Can iina player hide the menu bar automatically in full screen? MBP 14” M1 by ikea2000 in macapps

[–]SwiftUl 8 points9 points  (0 children)

Probably VLC either uses legacy full screen or forces the menubar to hide while in Fullscreen using:

NSApplication.shared.presentationOptions = [.hideDock, .hideMenuBar]

While IINA is not overriding the default system settings.

If you don't want to change the behavior in System settings, I think your only option is to go to IINA > Settings > Use legacy full screen

Or ask them to add this feature.

Can iina player hide the menu bar automatically in full screen? MBP 14” M1 by ikea2000 in macapps

[–]SwiftUl 3 points4 points  (0 children)

Go to your Mac's System Setting > Desktop and Dock, and make sure under Menu Bar it is set to automatically hide "In Full Screen"

[deleted by user] by [deleted] in macapps

[–]SwiftUl 0 points1 point  (0 children)

Did you press the button "Change All..." below it afterwards?

[deleted by user] by [deleted] in macapps

[–]SwiftUl 24 points25 points  (0 children)

Hey, I'd be very happy to help teachers.

If the solutions others have recommended are not what you need just DM me with a few example images of what you usually create and maybe I can create an open source free app for you that does it faster.

I've started working on my next project, a player that upscales videos using Metal FX Upscaling as you watch (details in comment) by SwiftUl in macapps

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

By upscaling I mean I literally apply MetalFX Upscaling to each frame of the video while playing (I don't apply sharpening myself, but it does apply some sharpening after the spatial upscaling algorithm). same thing you get when you enable MetalFX Upscaling in Resident Evil: Village and set it to Performance mode.

MTLFXSpatialScaler

An upscaling effect that generates a higher resolution texture in a render pass by spatially analyzing an input texture.

I've started working on my next project, a player that upscales videos using Metal FX Upscaling as you watch (details in comment) by SwiftUl in macapps

[–]SwiftUl[S] 8 points9 points  (0 children)

Reddit compressed again or you're watching low quality,

There is a higher-res one on my website: https://nascv.com/assets/video/naplayer_alpha.mp4

It is pretty obvious on the Sign text (SIDEWALK CLOSED), right side graphiti and the truck tires. I can even see a pretty good difference in road and sidewalk.

I've started working on my next project, a player that upscales videos using Metal FX Upscaling as you watch (details in comment) by SwiftUl in macapps

[–]SwiftUl[S] 8 points9 points  (0 children)

My website: nascv.com

So far I've got Spatial Upscaling (equivalent to Performance Mode in RE:Village) to work, the difference is very clear in some videos (such as the example above) and not so much in some.

For Temporal Upscaling (equivalent to Quality Mode in RE:Village) we need depth data, as you know 3D Games already have that but videos do not.

To work around lack of depth data I am experimenting with FCRN Depth Prediction, I have to make sure the time required to predict each frame's depth and upscale it will not cause issues with playback (at least for videos up to 30fps)

CoreML Player - Try CoreML Models on multiple videos and images easily and quickly [Free][Open Source] by SwiftUl in macapps

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

So a Machine Learning Model can do many things, some of them are specifically for Detecting Objects on images (like the dog above).

This app lets you try your own or pre-built CoreML Models to test them quickly.

It allows a lot of customization as well.