Multiple Word, Random Order Search – CoreData & SwiftUI

Today I worked on the search functionality for the upcoming Product Management app. Given that this app will contain lots of long notes, having good search is essential. In most cases & for most apps, a simple one to one comparison will do the job great -like in the above image-. Here’s how a predicate implementation …

Counting CoreData entries based on relationship entities

As I continue working on the new product management app, I was trying to get a quick CoreData count. To be precise,  I needed to get the count for how many of its relationships met a given criteria. There’s quite a few approaches but none as clean as “the filter”:  Using it for boolean arguments:     …

Developing on the cutting edge

If you’re working on a new app using the latest Xcode & macOS Monterey betas be aware of a bug that leads to SceneStorage failures appearing on the console: Failed to restore SceneStorage with key selectedTaskId. at SwiftUI/SceneStorage.swift:105[…]Failed to restore SceneStorage with key sidebarSelection. at SwiftUI/SceneStorage.swift:105Binary[2571:23261] Checked for defaults IMKUseDistributedObjects. result is 0Binary[2571:23261] IMK will …

Rich Barton: Expedia & Zillow

“How I built this” is a podcast where successful entrepreneurs are interviewed in a very candid way. The ups and downs, the complexities, the long nights…  Today I listened to Rich Barton, the creator of Expedia, Zillow and GlassDoor. Both the show, and this specific episode are great: https://overcast.fm/+YsraNZ6eo On a related note, here’s some of …

Identifying combinations of dates in text using regex

For the upcoming app I’m working on I need a way to easily detect dates the user may have typed at the end of a line. It was time to re-visit old faithful regex.  After lots of readings and tests I ended up settling on this beauty:       “.*[0-9]{2}/[0-9]{2}” Here’s what it does: The …

Struggling with a basic macOS SideBar, RowList & DetailView app in SwiftUI

Its amazing how fast you can prototype in SwiftUI, it seems like magic. At the same time, when you start to get into the details, it can be infuriating…  Let me explain… After completing the prototype last week and deciding on the key features for the app  I started implementing them. One of the very …

What differentiates good from great Project & Product Managers?

Although this blog is entirely focused on my developer-side, this is a part-time (nights and weekends) enterprise. My ‘main’ job is not in development, it has quite a bit to do with product management. **I promise you this is going somewhere** Over many years, in many roles, the one thing that I’ve seen consistently differentiate …

Code Refactoring – Wealthfront Blog

When not to refactor code, when to do it, and how much effort to put into it are all questions programmers deal with on ongoing basis. This article from wealthfront engineering team provides an interesting take. https://eng.wealthfront.com/2021/05/17/refactoring-production-code/ The blog itself is worth following if you’re into this type of content.  Marc