Travel

Rolf’s NYC

Cool-looking German restaurant for next time I’m in New York City.

Software Dev

Simple iOS Performance Tips

A former  engineer gives us “a checklist of performance tips that would hopefully give you the biggest bang for your buck.”

I have noticed that there was a pattern of low-hanging fruits, where you could make 80% of the performance gains in 20% of the time.

👉 iOS Performance tips you probably didn’t know (from an ex-Apple engineer)

Cheat sheet:

  • UILabel costs more than than you think
  • Always start with serial queues, and only use concurrent queues as a last resort
  • Some system components will only free up memory when they receive a memory warning
  • Avoid using dispatch_semaphore_t to wait for asynchronous work
  • Don’t use UIView tags
Racetrack

Via iOS Dev Weekly.

Photos

Our new song started out as a 60’s party song, then it sounded kind of like that “Woo hoo!” song by Blur, finally settling into a much slower and more satisfying rip on “Sweet Jane” (Cowboy Junkies versión). 🎸🥁 We need lyrics, but how can we match the beauty of “Sweet Jane”…? 😢 #music #drums #art #blue #austin #texas #atx #cowboyjunkies #portraitmode #shotoniphone via Instagram https://ift.tt/32wNX39
Software Dev

State Machines in SwiftUI

An app view that changes its state in complicated ways is difficult to do right. We developers have even been trying to avoid state when possible. But if you really just have to deal with a complex state-driven app view, then embrace it with a state machine.

👉 Building a state-driven app in SwiftUI using state machines

Honestly, this is my favorite programming technique, where the really interesting stuff happens. 👍

Via iOS Dev Weekly.

Austin · Travel

Distinctive Destinations

Here’s a great site for finding interesting historical sites in your area or when you travel.

👉 Distinctive Destinations

This is from the National Trust for Historic Preservation, so it’s authentic and not some kind of sales pitch or ad-driven site.

Here around Austin, they list the Elisabet Ney Museum and O. Henry Museum.

You can also get a nation-wide map of more places to explore. Maps + history + real-world sites? For me, that’s heaven. 🤷🏻‍♂️