> So I wanna ask will 5px system got troubles when rendering?
Feb 2, 2021, 12:13 AM
> So I wanna ask will 5px system got troubles when rendering?I’m a developer, not a designer, so I don’t really have any advice to give you. Remember that the sizes are in points, not pixels,
The point of the algorithm is to be general purpose and work for any data that can be represented…
Feb 1, 2021, 1:07 AM
The point of the algorithm is to be general purpose and work for any data that can be represented as lists of lists of words (not just for symbol names) and to allow the search tokens to be in any order: a search for “b x” will find...
A Simple, Smart Search Algorithm for iOS in Swift
Jan 25, 2021, 11:43 AM
IntroductionThis 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 fuzzy matching of method names....
I just delete the Xcode.app
Jan 21, 2021, 12:17 PM
I just delete the Xcode.app from /Applications and don’t mess around with any other files! Caches should be OK, as they would (presumably) be re-created if necessary.However, it’s certainly possible that some supporting files are shared...
SF Symbols Changes in iOS 14.2
Nov 23, 2020, 7:14 AM
IntroductionFor a detailed list of symbols that were added or renamed in SF Symbols 2, please refer to my earlier article SF Symbols Changes in iOS 14.On November 21st 2020, Mike Stern (Platform Experience and Design Evangelism Manager at...
How iOS Apps Adapt to the various iPhone 12 Screen Sizes
Oct 14, 2020, 1:11 PM
Over the last few years I have written several articles showing how iOS apps built with different versions of Xcode would appear when run on iOS devices that didn’t exist when the apps were built. As a general rule, apps must build with...
Thanks! It’s actually pretty hard to implement the names in an enum or other static mechanism…
Sep 5, 2020, 1:15 PM
Thanks! It’s actually pretty hard to implement the names in an enum or other static mechanism because some names are prefixes of others. e.g. “circle” and “circle.fill”. What type is ‘.circle’ that will be acceptable as a symbol name and...
The primary view controller is wider than what is visible on screen to provide extra content when…
Sep 3, 2020, 3:41 PM
The primary view controller is wider than what is visible on screen to provide extra content when over-scrolling during a swipe action. It is 420 points wide, but 320 points is visible. So content that is aligned with the leading edge...
SF Symbols Changes in iOS 14
Aug 31, 2020, 1:15 PM
IntroductionIn WWDC 2019: 206, Introducing SF Symbols Apple announced a great new resource for iOS developers:SF Symbols introduces a comprehensive library of vector-based symbols that you can incorporate into your app to simplify the...
> The first [base] one being the window’s main content and the last one [elevated] anything above…
Jun 19, 2020, 10:39 AM
> The first [base] one being the window’s main content and the last one [elevated] anything above itThis isn't quite true.1. An iPad app shown in Slide Over or Split View Multitasking will always be elevated (even the main...
Xcode 9.4 has been deprecated for a long time and you won’t be able to submit new app versions to…
May 26, 2020, 10:48 AM
Xcode 9.4 has been deprecated for a long time and you won’t be able to submit new app versions to App Store Connect using it (nor Xcode 10 for that matter!).The only possible reason I can think of for trying to use Xcode 9.4 today is to...
> but 11.4 is just not working with our current development environment
May 11, 2020, 2:34 PM
> but 11.4 is just not working with our current development environmentThat is perhaps the problem you ought to be focusing on 😀
I’m not sure I understand the question.
May 11, 2020, 1:19 PM
I’m not sure I understand the question. If you kill the simulator and Xcode, open a particular version of Xcode and then launch the simulator I think it runs the simulator corresponding to that Xcode version. You can also run multiple...
Bringing Adaptivity to Mac Catalyst
Mar 30, 2020, 12:15 PM
IntroductionAdaptivity is an app which helps developers and designers visualise how iOS’s Size Classes and margins for layout, readable content and the safe area look on real devices and how they change with respect to orientation, iPad...
I’m not sure what value it has, but you can use a UIAdaptivePresentationControllerDelegate to…
Mar 17, 2020, 5:05 AM
I’m not sure what value it has, but you can use a UIAdaptivePresentationControllerDelegate to disable the default adaption from a form/page sheet to full screen in a compact width environment. It’s not quite the same (the presenting view...
Hide Sensitive Information in the iOS App Switcher Snapshot Image
Feb 11, 2020, 9:58 AM
IntroductionSome apps store personal or sensitive information. For example, my Medical ID Record app stores a comprehensive record of your medical information. This is very private information which the user does not want to be...
That should work, but I think you would have to remeber to add swift files to the main app target…
Jan 22, 2020, 1:05 PM
That should work, but I think you would have to remeber to add swift files to the main app target and that empty host target to make code available to the tests. It might also be more complicated if you have other frameworks you need to...
How to Switch Your iOS App and Scene Delegates for Improved Testing
Jan 13, 2020, 5:49 AM
IntroductionBy default, when Xcode runs unit tests it uses your main app target as a host application and effectively injects your test code into your app at run time. This makes it easy for your unit tests to refer to types and methods...
I’ve never written a Share Extension, so don’t know what to suggest except that you probably need…
Nov 27, 2019, 2:36 AM
I’ve never written a Share Extension, so don’t know what to suggest except that you probably need to change your code to work with the way they are presented.