One of the niftier components of the Xcode development environment is the view hierarchy viewer. While running your app in the simulator of your choice you can, in real-time, generate a 3D view of all of the views, sub views, sub sub views, … well you get the picture … of the apps currently executing view hierarchy.
It’s a cool feature but one that, apart from the rush of ‘wow that’s cool!!’ that it delivers I’ve yet to actually use it while debugging an app. I also have the feeling that if I ever have a bug in my app that needs a debugging interface of the complexity of something that I’d expect to find on the bridge of the Starship Enterprise me and my app would be in serious trouble.
I’m sure with enough time, testing and fiddling with it I’ll learn that Xcode’s view hierarchy viewer fits within the category of Something IncrediblyHelpful but at my current level of expertise with SwiftUI it feels instead that I’ve been given an epic weapon as a first level player in a game of Star Wars 5E Dungeons and Dragons. According to the game master the weapon is incredible and it’s up to me to learn just how incredible it is.
Forefront Systems Inc. is happy to announce the release of a new version of Launch Speed for Apple iPhones, iPads and Apple M1 chip equipped Macs.
Launch Speed 2.0 is a complete rewrite of Launch Speed 1 that I released in 2015 and reduced thousands of lines of Objective-C code down to a few hundred lines of Apple’s new SwiftUI programming language. As an added challenge the application features my first attempt at the up and coming Neumorphism interface design.
I’ve been a fan of space exploration for decades and thanks to the amazing launch coverage now available via the Internet I hardly ever miss a chance to watch a rocket blast off into space. However during most launches the commentators more often than not describe the flight of the rocket in speeds that made little real world sense to me.
1,000 meters per second sure sounds fast but just how fast, in km/hr is it? And while the calculation to convert a speed measured in m/s to km/hr is pretty straight forward it’s also tedious and one that by the time I figured out the answer the rocket had often accelerated to twice the speed I’d started converting. Grumble. I needed something faster to give me the answer and wrote Launch Speed to solve this problem.
The app supports converting between 12 different speeds including a few outrageous ones like the speed at which Earth orbits our sun and how fast our solar system orbits our galactic core.
In an upcoming series of articles I’ll cover my experiences as an Objective-C developer in making the jump to Swift and then as a Swift developer making the leap to SwiftUI. As well I plan to cover my thoughts on creating an application with the neumorphic look and feel.
If you use an iPhone or iPad running iOS 14 or higher are are lucky enough to own one of those amazing Apple M1 chip based Macs running macOS 11.0 or later you can now download the new version of Launch Speed directly from the Apple App Store.
I’m now about 20% of the way through Simon Ng’s excellent book on SwiftUI and this morning, as the sun rose here in Vancouver, it was all about using Path and Shape to create shapes, pie charts and donut charts. While a fruit smoothie is a healthy and delicious way to start the day something about having the word ‘donut’ bounce around my pre-coffee mind this morning made writing code a bit more challenging.
Mmmmm … donuts …
This is the fourth book on SwiftUI in the past 2 years that I’ve worked through and it’s been remarkable to see such a fundamental shift in how we write modern apps grow from just a curiosity to something that’s just about ready for mission critical applications. And to be honest the only reason I added the qualifier ‘just about‘ is because I haven’t yet written a mission or business critical app using SwiftUI.
My two latest apps available in the App Store are written in SwiftUI, are rock solid, took a fraction of the time to design, code and test then my previous Swift and Objective-C apps did and look amazing … but … well … I’m just not there yet. I’ve yet to write an app with SwiftUI with a complex mission. So far it’s nifty single purpose utility apps that look great and ones that in real life I use often.
If you haven’t yet dipped your toes into the world of declarative programming or like me didn’t know until two years ago with the arrival of SwiftUI that I had been previously using the imperative programming style then you’re in for a treat. I’m now officially a SwiftUI fan boy and honestly don’t expect I’ll write another application in the imperative programming style. Once you go declarative you’ll never go back.
Quickly calculate the recording interval needed to turn a period of real time into timelapse time.
I shoot a lot of timelapse video and have always been flustered with the mental gymnastics I have to jump through to answer one of the first questions that pops into my mind when I’m first setting up the recording.
Timelapse Calc answers that question with just a few taps in an easy to understand question-answer format.
The first version of our Distance to Sound iOS app is now available for purchase at the Apple App Store. This is also the first of many apps to come that use the new SwiftUI development framework for Apple devices. What used to take months to code can now be done in days.
Our latest iOS app that uses the speed of sound to estimate distance.
While lightning storms are rare on the West Coast of North America when they do appear two questions about the storm perpetually pop into my head. First, how far away was that lightning strike that just lit up the sky? Second, is the storm approach or receding?
To answer these questions, and to take the latest version of Apple’s new SwiftUI development paradigm out for a spin, we’ve created the ‘Distance to Sound’ app.
Features of the app:
A simple 2-tap interface to start and stop the measurement of the distance between you and a remote event. Wait for the flash of light, tap to start the measurement, wait for the sound from the event to arrive then tap to stop.
Deliver a slick and intuitive animated interface that works on the latest Apple iPhones (iPhone 8 and up).
Full support for dark mode.
Quick and easy updates to your local temperature to help refine the speed of sound used to calculate the distance between you and the event.
Forefront Systems was created in the spring of 1995 to deliver forward thinking solutions to businesses and various provincial government organizations in British Columbia Canada. It was, and still is, based on the conviction that computer software is created on the shoulders of giants and that the evolution of technology in general and computer system in particular are a nonlinear chaotic processes that moves society forward in both productive and counter productive ways. The trick of course is that at the end of the day our efforts have moved us forward more than back.
Our goal was, and still is, to create leading edge software that puts to use the amazing technologies of the 21st century yet stays rooted in the time-tested foundations of computer systems and technological development. Solutions that respect a person’s right to privacy as the products we deliver entertain and inform.
We also have a rather sharp environmental ‘edge’ and strive to create applications and technological solutions that recognize humanties roll as a ‘keystone’ species. One that through action and inaction has had and continues a have a great impact on our home planet and as such we are a species that also bears a great responsibility. “Do no evil.” as Google used to say in their code of conduct.