Canโt wait for you to meet the real world and all the โnazisโ in it. ๐คก
03.11.2025 01:34 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0@leonatan.bsky.social
macOS & iOS engineer โข grumpy young man, yelling at clouds โข disillusioned, burned-out cynic โข not politically correct โข https://twitter.com/LeoNatan โข https://mastodon.social/@LeoNatan Ramat HaSharon, Israel
Canโt wait for you to meet the real world and all the โnazisโ in it. ๐คก
03.11.2025 01:34 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
Why is this private? ๐๐คก
So much of the glass is private voodoo, it feels like the heydays of iOS 7 blurs.
So to enable and disable the effect, in my case, I need to track which header is pinned to the top, and call _setActive: on the interactions of the header views to only enable for the top one. I extended UICollectionViewLayoutAttributes with a fields for this.
And it works.
If you create an _UIScrollPocketContainerInteraction instance and add it to the view, it actually works. But it creates an amusing effect where all glass effects are synchronized.
13.10.2025 15:27 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Turns out there is a host of new, private, "interactions", one of which is _UIScrollPocketContainerInteraction, which manages the view's trait environment so that is adjusts child visual effects (using another "interaction").
What if you wanted the same behavior in your code?
View hierarchy inspector doesn't reveal much. The two hierarchies are the same, but notice the header view is positioned under the scroll pocket in the custom layout "for some reason".
13.10.2025 15:24 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0An Apple UICollectionViewLayout subclass vs a custom one. Notice the header visual effect view's glass is "synchronized" with the navigation bar, making them switch appearance together. No way there is a UIGlassContainerEffect in there somewhere.
13.10.2025 15:23 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
The check for _isPhotosApp is just as retarded as you might expect; there is a hard-coded string of the Photos app bundle identifier and it's checked against the main bundle identifier.
BTW, you can Swizzle that function to return true, and then call the previously mentioned methods.
Turns out, there are UITabBar._isMinimized, UITabBar._setMinimized: and UITabBar._setMinimizedStateDidChangeHandler:, which provide this valuable information. But if you call one of these methods, your app will crash. Notice the check for _isPhotosApp, or else raise an exception.
26.09.2025 00:55 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Photos on iOS 26 does not use the public bottomAccessory/UITabAccessory API, yet is able to detect when the tab bar minimizes and make that bar fade in and out. Inspecting the hierarchy shows it's just a UIView subclass. So how does it know when the tab bar minimizes?
26.09.2025 00:55 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0If only all the "revolutionary, thought-provoking, under-platformed ideas" weren't stuck in the BlueSky bubble, calling everyone nazis, fascists, homophobes and/or transphobes.
25.09.2025 14:59 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0This is basically what the Adobe Project Indigo camera app is doing, but it also does computational photography. Results are not bad at all.
20.09.2025 03:19 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Yeah, but it did stop the CSAM on device stuff, for example. But I doubt feedback was that strong.
19.09.2025 09:51 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Perhaps feedback wasn't very good for a desktop OS.
19.09.2025 00:57 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0The first hurdle will be the corporate-owned machine being forced to update haha. I did try it very briefly on my iPad, and downgraded after a day and a half. It's really terrible.
19.09.2025 00:50 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Who is Leon?
14.09.2025 14:22 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0That's "Mr. Faux News" to you, madam.
14.09.2025 13:59 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Go welcome more muslams in Europe, that will work out great for you.
14.09.2025 13:50 โ ๐ 0 ๐ 0 ๐ฌ 2 ๐ 0
Case in point of my โopinionโ:
bsky.app/profile/edwi...
๐คฃ
Or they opened their eyes and figured that whatever social media calls nazi or fascist is often not that, while a brigade of โliberalโ loons tries to silence and shame into cancellation anything and anyone they disagree with. The pendulum swings, often unjustly at both ends.
14.09.2025 07:31 โ ๐ 3 ๐ 0 ๐ฌ 2 ๐ 0
* for all of iOS and macOS
Certainly not just for Xcode.
Yeah, keep posting arabs or muslams. Europe loves those. Thatโs why the far right is on such a rise there. Weโll just have to wait and see.
31.08.2025 16:37 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Weโll just extra-judiciously assassinate their leaders. ๐คฃ
31.08.2025 15:46 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0I defend killing of terrorist group leaders, for sure. To remind you, this is a thread about Houthi โprime ministerโ being assassinated. What else have I defended? All it would take to stop the war in gaza is Hamas to disarm and release the hostages.
31.08.2025 03:16 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Yeah, dawg, you got me, Iโm the one setting policy for Israel. Iโm the prime minister, the chief of stuff and the minister of defense. After our heart to heart banter on Blasky, I will for sure make a change in the way the war is going.
31.08.2025 02:19 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0There were no dead arab children on October 8, slick. Donโt let the facts confuse you.
31.08.2025 02:08 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0My man, by your standards, Yemen is a terrorist state run by a terrorist organization and is a fair game. Just like Gaza.
31.08.2025 02:07 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Israel has been targeted by 400 Houthi missiles since October 8. If that is โlike nothingโ to you, your single brain cell is not vibrating enough.
31.08.2025 02:03 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Educate yourself:
acleddata.com/profile/inte...
Even the AlRetardira article you linked to states "killed the prime minister of the Houthisโ government in the capital, Sanaa".
"Houthisโ government", not "the government of Yemen".