Thomas Grapperon

1.1K posts

Thomas Grapperon banner
Thomas Grapperon

Thomas Grapperon

@tgrapperon

iOS at @roam Also, SongKit (https://t.co/rQT1rFhq3c) and Chord! (https://t.co/r6N48fw24q)

Katılım Ağustos 2010
789 Takip Edilen489 Takipçiler
Sabitlenmiş Tweet
Thomas Grapperon
Thomas Grapperon@tgrapperon·
The App Store screenshots are ready! I will submit SongKit v1.0 for review in a few hours!🤞
Thomas Grapperon tweet media
English
13
8
65
0
Julien Sagot
Julien Sagot@Barbapapapps·
This is the only “view modifier” you need to conditionally apply changes to a view, and unlike other solutions it doesn’t inherently break the view’s identity, unless you do so in the closure. Keep this in mind whenever you use it!
Julien Sagot tweet media
English
7
7
181
12.8K
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@manuelmaly FWIW, I think that `addChild` will call `willMove` (and same the other way with `removeChild` and `didMove`).
English
1
0
3
132
Manuel Maly
Manuel Maly@manuelmaly·
Felt so nostalgic writing this 😌
Manuel Maly tweet media
English
4
1
40
6.1K
CosmicFlamingo is on Bluesky
CosmicFlamingo is on Bluesky@acosmicflamingo·
@pointfreeco @lukaszstocki By copying and pasting it the way you suggest, I now have to keep track of any time this file is updated and copy and paste those changes into my own code, as opposed to just integrating what I think is a pretty reasonable feature to the Float parser.
English
1
0
0
145
ManifestingMom
ManifestingMom@ManifestingMom7·
@tgrapperon Hey there - tried to dm u but won’t let me. I signed up for chordchord.com free 7 day trial and got no confirmation email. I provided my credit card #. Would like confirmation of my transaction pls. juanita.e@gmail.com
English
1
0
0
53
StewartLynch 🇨🇦
StewartLynch 🇨🇦@StewartLynch·
Man I hate having to pull back and edit a video I have unlisted and ready to list on YouTube because something has changed. I have to pull back my What's New in Xcode 15 video scheduled for Aug 6 because of the MultiLine format menu location change. No longer a refactor.
English
2
0
9
3.1K
Marcin Krzyzanowski
Marcin Krzyzanowski@krzyzanowskim·
@tgrapperon for that, once you layout everything, get the last layout fragment and its geometry to get the height, like this: #L802C15-L808" target="_blank" rel="nofollow noopener">github.com/krzyzanowskim/…
Marcin Krzyzanowski tweet media
English
1
0
0
124
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@krzyzanowskim Hey! Do you know if there is some equivalent to `layoutManager.usedRect(for:textContainer)` in TextKit 2? I need to size an UITextView according to its content height and it seems to be the only thing that works in a UIViewRepresentable.
English
1
0
0
221
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@alpennec @StewartLynch That being said, GR in backgrounds are not problematic as long as you don't use the size value to affect the layout of the parent view. I understand why Apple is not recommending it, but there are cases where it's not possible to do without (especially on iOS 15).
English
2
0
1
96
StewartLynch 🇨🇦
StewartLynch 🇨🇦@StewartLynch·
Want to determine the width and height of any view and update a State property with that size? You can use PreferenceKeys and GeometryReader. If you don’t understand this code, stay tuned for my next two videos. I explain how they work starting Sunday with PreferenceKeys.
StewartLynch 🇨🇦 tweet media
English
5
1
36
4.1K
Rafi
Rafi@rafi_45·
@tgrapperon @Nikolozi Cloudflare pages cannot render my hugo website with tailwind. What step do I missed?
English
1
0
0
254
Nikolozi
Nikolozi@Nikolozi·
Happy to report that I've finally migrated away from the bloatware Squarespace has become. It used to be fast, easy to use, well-priced, and supported markdown properly. Always recommended to others to use it even if they were tech-savvy because they would save a lot of time.
English
1
0
4
374
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@Nikolozi I'm using Hugo on Cloudflare Pages for a few app's sites. It's secure, blazing fast and free. It's only a little cumbersome to make it work with Tailwind 3+, but other than that, I wholly recommend too.
English
2
0
1
51
Nikolozi
Nikolozi@Nikolozi·
I now recommend Hugo, a static site generator. It's insanely fast, customisable and embraces markdown. I probably should have migrated to it a long time ago.
English
2
1
5
194
Thomas Grapperon retweetledi
Point-Free
Point-Free@pointfreeco·
The Composable Architecture is 3 years old! 🥳🎂 Since pushing that initial commit: • 960 more commits onto main • 76 backwards compatible releases cut • 119 contributors • 716 PRs merged • 8.7k stars Thanks to all who’ve joined us along the way! pointfree.co/blog/posts/41-…
English
4
15
141
18.3K
Khoa 🔥
Khoa 🔥@onmyway133·
@KrauseFx Congrats. Just curious about what the 3 sides of the cube represent?
English
1
0
1
1.8K
Felix Krause
Felix Krause@KrauseFx·
9 months in the making, I can finally share what I've been up to 🚀 Introducing Context SDK: The most intelligent way to know how and when to monetize your users contextsdk.com
English
16
34
265
94.5K
Krzysztof Zabłocki
Krzysztof Zabłocki@merowing_·
NSViewControllerRepresentable randomly leaks underlying VC's hierarchy, reproduced in a separate small app to double-check...
GIF
English
4
0
25
7.4K
Daniel Aditya Istyana
Daniel Aditya Istyana@adityadaniel·
Before the new Dependencies system in TCA. I’ve sketched something similar, wrapping MOC in struct and work on value type as returned value from environment.
English
2
0
0
268
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@adityadaniel It is not super polished, and there are probably a few issues around thread safety. But feel free to open a discussion with feedback in the repo. There is an example in the case study that shows a few things. Let me know if something is missing.
English
0
0
0
25
Thomas Grapperon
Thomas Grapperon@tgrapperon·
@freak4pc @BigMtnStudio In this precise case, I would define the `Rectangle` as the background of the `Text`, itself in an overlay of the image. But I'm getting the pedagogical value of the current setup here.
English
0
0
2
46
Mark Moeykens
Mark Moeykens@BigMtnStudio·
❓How do you put one view on top of another in #SwiftUI? 👉 One way is to use the overlay modifier. 💡Use the optional alignment parameter to specify where you want the view on top to go. Free SwiftUI picture book: bigmtn.studio/freebook
Mark Moeykens tweet media
English
3
3
51
11.8K