creativity · Me · Music

“I’m Writing a Novel” ๐ŸŽต

As previously noted, I’m writing a novel. ๐Ÿง”๐Ÿป

Not only did Casanova find the idea amusing, but apparently so does Father John Misty. I guess it’s not such a “novel” idea after all.

And I’m writing a novel because it’s never been done before.

Hey, you guys may laugh, but my book is going to be good! Okay, maybe not as good as Father John Misty’s song, but still good.

Progress update

I’ve narrowed my 70 planned chapters down to 48. And on my third draft of the first 16 pages.

Less is more, baby.

Software Dev

The SwiftUI trigger-value pattern

As noted in Swift with Majid, the trigger-value pattern is becoming a thing in SwiftUI.

๐Ÿ‘‰ Trigger value pattern in SwiftUI

Basically, this pattern lets you “trigger” some user experience when some specified data changes.

In one example, when a list of messages changes, then the app automatically immediately trigger some haptic/sensory feedback. And it only takes one extra line of code.

    .sensoryFeedback(.impact, trigger: messages)

The post gives another example of flashing the scroll indicator in the same manner.

And it goes into making your own custom triggers.

This is cool stuff and such a simple + powerful way to make your app more responsive.