Oddbean new post about | logout

Notes by 0f98b63e | export

 One of the tricky things about being a solo indie is taking the time to properly rest after long development cycles. When I stop working all work stops so it can be difficult to justify the time. Though I've gotten better at forcing myself to over the years. This year's summer was particularly challenging.

I just got back from a few days hiking in the hills and as I so often find, you don't realize how much you need a break until you take one.

Now comes the fun of working out what comes next.

https://files.mastodon.social/media_attachments/files/111/176/229/775/754/272/original/ab9973fa04547ac2.jpeg 
 nostr:npub1gagsvhd4kz6sve2zzkx9rpynyesau70h9et08w03t4qelk4sz8pqsvte3c Does SwiftUI enlarge a bord... 
 @a6ff0b2b I believe that adding a border to a view makes no changes to the layout or frames of the view hierarchy. The border is drawn inside the view rather than centered on the edge so it also won't visually overlap any other views visible. 
 Real Talk.  The most powerful design tool I use on a regular basis is the `.border(.red)` modifier in SwiftUI.  The ability to quickly examine a view's bounds IN CONTEXT has always been super useful to diagnose weird layout bugs, fix alignment and correct visual spacing.

https://files.mastodon.social/media_attachments/files/111/137/291/466/864/578/original/6f893da15036b93e.png

https://files.mastodon.social/media_attachments/files/111/137/291/593/807/701/original/945d6c0bf9361f6d.png 
 @8379395e Does your project include something like a watchOS target or similar?  I’ve seen similar things when I am only doing availability checking for iOS, but I also need to do it for another platform too?  No idea if that is what’s going on here but seemed worth mentioning.