Geoff Hackworth

758 Followers
179 Following
320 Posts
Indie and freelance software developer for iPhone, iPad and Mac. You may know my Adaptivity app for iOS developers.
My appshttps://apps.apple.com/us/developer/geoff-hackworth/id463855590
Websitehttps://hacknicity.com
Medium articleshttp://medium.com/@hacknicity
@dxzdb The problem is with [UISceneConnectionOptions shortcutItem] not with HNCSmartSearchMatcher. The latter is because the same class is found in two of my frameworks used by the app and is benign. The former seems to state there’s no property called shortcutItem on a UISceneConnectionOptions in that version of macOS. The docs claim it exist from macCatalyst 13.0 onwards which I thought corresponded to macOS 10.15. But you said you were on 10.15.7 🤔 Maybe the API is incorrectly versioned 🤷‍♂️
@dxzdb Hmmm. I don’t have a machine running that far back to test with. Maybe there’s a bug in the app that tries to call a newer API but I would expect Xcode to catch that sort of thing at compile time. I have been having a lot of health problems and haven’t done any work for about 6 months. There’s not really anything I can do to investigate. Sorry!
@BrendanThompson as far as I know the Unicode characters only work on the Mac and not iOS.
@p16r thank you
@p16r thanks for noticing Prathamesh. Unfortunately things are bad for me. I have been having lots of neurological health problems this year and things are getting worse. Despite many tests I still don’t have a diagnosis or treatment plan. I have not been able to work for months and don’t know what the future holds for me.

@heyjaywilson Thanks. I hope you will find it useful. The search algorithm is based on token prefixes so it doesn’t find spurious matches just because a sequence of characters appears in the middle of a symbol name. It’s hard to explain, but I wrote about the algorithm: https://hacknicity.medium.com/a-simple-smart-search-algorithm-for-ios-in-swift-65f71b2f221a

Oh, and there is a preference for the format of copied names. It defaults to the usual string but you can choose SFSafeSymbols to copy type-safe names in that format (with or without a leading period)

A Simple, Smart Search Algorithm for iOS in Swift - Geoff Hackworth - Medium

This article describes a simple, smart search algorithm that I have used in several iOS apps. The algorithm is smarter than a trivial substring match but not as complex as something like Xcode’s…

Medium
@heyjaywilson Now is as good a time as any 😜
@heyjaywilson @dimsumthinking Xcode’s browser has some disadvantages in my opinion. First, it only copies the latest name for a symbol so if your app needs to support older iOS versions the name might not work on older devices. Second, it has a very relaxed search algorithm which does a simple string containment test against all sorts of metadata. I made my own menu bar app which can browse older data sets (with older symbol names) and a smarter search algorithm: https://apps.apple.com/app/id1615595104
After over 1000 nominations and 6000 votes, I'm pleased to announce the winners of the Swift Community Awards! Thank you to everyone who made a nomination or a final vote – I feel lucky to be part of this community, and I hope you all do too! https://www.hackingwithswift.com/awards
Swift Community Awards

The Swift Community Awards help us recognize the developers, conferences, companies, and more that help make our community so vibrant.

Hacking with Swift
@tundsdev I am with you on 4 out of 5 of those. I use Ducky instead of QuickType but the others are spot on. Check out XcLauncher Menu Bar as well by @geoffhackworth as well, especially if you work on multiple projects at a time.