mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#swiftui

18 Beiträge18 Beteiligte1 Beitrag heute

PickerKit 0.3 is out! 🚀 This version has a custom font type that can load custom fonts from any app or package bundle. This type can be used with the package's custom #SwiftUI font picker, which makes it easy to pick native and custom fonts with the same picker.
github.com/danielsaidi/PickerK

A SwiftUI library with various pickers, cameras, document scanners, etc. - danielsaidi/PickerKit
GitHubGitHub - danielsaidi/PickerKit: A SwiftUI library with various pickers, cameras, document scanners, etc.A SwiftUI library with various pickers, cameras, document scanners, etc. - danielsaidi/PickerKit

I have a question...

Why is it that so many of Apple's own apps do not remember their sidebar/inspector's widths?

This is literally free behavior in #AppKit and is also possible in #SwiftUI for #macOS without any work. I know because my apps do it -- both macOS apps (one in SwiftUI and the other in AppKit).

But so many of Apple's first party apps will not persist the widths you've set.

Shortcuts.app was one and now Icon Composer.

Hey Mastodon! So I’ve decided to build an #iOS app. For some of you, this might feel a bit déjà vu, because I’ve said that before… this time I have an app idea and a pain point I want to solve.

I’ve never built an app with #Xcode before, the closest I’ve come is compiling a Unity game for iPad using Xcode. Besides PHP, HTML, and JS for web-development, I do have a tiny bit of experience in C# and JAVA.

Where do you recommend I start? Apple Playgrounds?

You love cats and you hate fitness?
Me too, so I mixed it and made “Fit Paw: Workout buddy” ฅ^•ﻌ•^ฅ

The logic is pretty simple, you workout and get new items for your kitties room.
Kitty is happy and you are healthy (maybe, I hope).

If you’re on iOS, check it out, it’s free (almost).
I would appreciate any feedback.

apps.apple.com/rs/app/fit-paw-

Fit Paw: Workout Buddy on the App Store
App Store‎Fit Paw: Workout Buddy‎Features: • Customized Workouts – Adjust intensity and frequency based on your fitness level. • Animated Exercise Demos – Follow easy-to-understand animations for every move. • Built-in Timer – Stay on track with guided time-based workouts. • Progress Tracking – Keep up with your activity level…
#cats#cat#fitness

With #SwiftUI, is there a way to avoid the rectangle to disappear abruptly when the View in the safeAreaInset is removed with a move transition?

I don’t want to combine the move transition with an opacity transition here.

Is there a recommended way to change colors of UI elements (and the background) when transitioning from a small glass detent to full screen? Or should I just observe the current detent (which would not interpolate during sliding)? #SwiftUI

If there are any #SwiftUI folks seeing this. Please fix!
Title and toolbar items are delayed when pushed in a UIHostingController, making integration into UIKit nearly impossible, when you like polish. This has been the case since forever.
FB14000542

How can I rotate a view in #swiftui in the direction with the smallest change?
I’m building a compass view and rotating it via
```
view
. rotationEffect(.degrees(heading))
```
looks very weird when changing from 359 to 0.

Is there a built-in way or do I have to implement it on my own?