Lmssync Profile Banner
ビスター(Vistar) Profile
ビスター(Vistar)

@Lmssync

Followers
729
Following
4K
Media
208
Statuses
1K

UIKit SwiftUI Exploring Internals

Apple Ecosystem
Joined February 2024
Don't wanna be here? Send us removal request.
@Lmssync
ビスター(Vistar)
3 days
If you simply want this effect, SUI List should achieve it. Recreating the animation precisely from scratch with a custom SUI component is likely difficult, it is considered.
1
0
5
@Lmssync
ビスター(Vistar)
3 days
In iOS 26, UICollectionView now animates its selection changes with a refined draw-on effect, using different animation APIs before and after selection. Pure SwiftUI can’t fully replicate this animation when implemented from scratch, but it’s achievable via UIKit.
2
2
131
@Lmssync
ビスター(Vistar)
4 days
Hey SwiftUI folks 👀 Why does strokeBorder() insist on using the full width, unlike stroke()? Kinda curious why they behave so differently
6
2
41
@Lmssync
ビスター(Vistar)
4 days
I figured out the cause. These new haptics are supported only on visionOS.
0
0
0
@Lmssync
ビスター(Vistar)
5 days
2
0
1
@Lmssync
ビスター(Vistar)
5 days
Does this haptic completely bypass UIFeedbackGenerator now?
2
0
1
@Lmssync
ビスター(Vistar)
5 days
SensoryFeedback on iOS generally builds on UIFeedbackGenerator, but the types using the newly added structs do not appear to call any UIFeedbackGenerator init. Maybe the underlying implementation changed quite a bit.
2
0
2
@Lmssync
ビスター(Vistar)
5 days
SwiftUI SensoryFeedback on OS 26 gains ten new options not exposed in UIKit. Some are niche and useful for custom components like .release(.slider). Three new structs appear: PressFeedback, ReleaseFeedback, SelectionFeedback. https://t.co/Jp6X2cIz1O
Tweet card summary image
developer.apple.com
Represents a type of haptic and/or audio feedback that can be played.
3
10
100
@Lmssync
ビスター(Vistar)
5 days
When using list footers, this will likely be needed… [UITextView setSelectable:YES] [UITextView _setInteractiveTextSelectionDisabled:YES]
0
0
3
@Lmssync
ビスター(Vistar)
17 days
Although _UIOverlayEffect is a private type of UIVisualEffect, a similar effect might be achievable using only public APIs by applying .blendMode(.plusLighter) in SwiftUI.
0
0
9
@Lmssync
ビスター(Vistar)
17 days
Apple’s Journal app adds a CAFilter to the background of EntryCollectionView cells in Dark Mode. Internally, it uses _UIOverlayEffect to apply a plusLighter filter with 5% opacity white, allowing the background to achieve optimal brightness even when gradients are present.
2
2
85
@Lmssync
ビスター(Vistar)
20 days
SectionIndexLabel abstracts the Text for index labels, and SectionIndexLabelKey stores them as ViewGraph traits. These types exist from iOS 18+. To inject them manually, you must change their access levels in the swiftinterface. Public API:
Tweet card summary image
developer.apple.com
Sets the label that is used in a section index to point to this section, typically only a single character long.
0
1
9
@Lmssync
ビスター(Vistar)
20 days
iOS 26+ adds native Section Index support to SwiftUI List. Labels use “SectionIndexLabel” and are stored via “SectionIndexLabelKey” as ViewGraph traits. You can manually inject this on iOS 18+, but long labels aren’t fully supported.
5
3
123
@Lmssync
ビスター(Vistar)
1 month
Apps in categories like health, fitness, AI assistants, outdoor, and productivity—not just emergency support or messaging—will be able to support hygiene data communication starting with iOS 26 by adding a new entitlement. This is a major step forward! https://t.co/nZGqDGzPHd
Tweet card summary image
developer.apple.com
Prepare to deliver data over resource-limited data networks.
1
3
91
@Lmssync
ビスター(Vistar)
1 month
If you don’t mind using Private API, set "showsMenuFromSource" to true via KVC on UIButton. 👈 false (default)  true 👉
@atsdumpyard
Arav
3 months
Hey @SebJVidal , was having a hard time recreating this effect in UIKit, when setting a menu and showsMenuAsPrimaryAction to a UIButton the button morphs into the menu, and I couldn't find any API to disable that. Can you help?
2
7
84
@Lmssync
ビスター(Vistar)
1 month
Noticed that "_CircleLayout", present since the early SwiftUI days, is gone 🤔 Seems it disappeared around iOS 17 (still there in iOS 16).
0
1
24
@Lmssync
ビスター(Vistar)
2 months
@fatbobman
fatbobman (东坡肘子)
7 months
在 SwiftUI 的众多 API 中,`.ignoredByLayout()` 像一位“沉默的高手”。资料稀缺,用途不显眼。但它究竟何时出场?又究竟“忽略”了哪些秘密?本文将为你揭开这个 SwiftUI 布局机制中微妙 API 的神秘面纱。 https://t.co/6da4D0tlkv
0
0
1
@Lmssync
ビスター(Vistar)
2 months
The distortion likely results from a bug in the Glass implementation. You can fix it by preventing the Glass from receiving geometry information — just use .ignoredByLayout().
@SwiftDev_UI
Swift Dev
2 months
I have no idea why the height of these buttons are increasing when using .glass or .glassProminent and I haven't figured out how to stop it. Using .fixedSize() doesnt help, and setting a frame doesnt help either. ❌Video 1: Glass buttons ✅Video 2: Bordered buttons ❌Video 3:
3
5
116
@Lmssync
ビスター(Vistar)
2 months
I’m kind of intrigued by the new Tinted look, but the Notification Center feels disappointing… It looks a bit outdated. https://t.co/huP6FF7gnR
@BetaProfiles
Beta Profiles
2 months
Notification Center with Liquid Glass Clear vs Tinted in iOS 26.1 Beta 4.
0
0
3