During development in SwiftUI, it is an often question to arise - how to size each element on the screen? The Problem There are basically two choices: keep the dimensions of the element within itselfset the dimensions during initialisation of the element Here's an example of how two approaches look like separately: Hardcoded Size struct … Continue reading SwiftUI Weekly Observations #2
Author: art-divin
SwiftUI Weekly Observations #1
Easy Testing Whenever I am creating a new View, I always create a data model struct that I'd use to instantiate that View. I mark it with @State attribute and the View becomes stateful, meaning that whenever the data model changes, View will get updated by the underlying system. struct ScreenModel { var title : … Continue reading SwiftUI Weekly Observations #1
Notarizing macOS app – XcodeUpdates
Today was rather a random day. First of all, I have been working all day on a commercial product.Nevertheless, I was able to listen to the latest Stacktrace Podcast (@stacktracepod) which was not technical at all (except that advertisement, but nevertheless). I was not listening through it because I am not a big fan of … Continue reading Notarizing macOS app – XcodeUpdates
The Adventures with NSTask & co. (Part 3)
Even though I was not able to resolve the issue, still I figured that I'd rather release the source code for the XcodeUpdates, than keeping it to myself until the release. And by doing that, I was able to share the info about the app with the community of #iOSDevHappyHour - with exactly 18 people! … Continue reading The Adventures with NSTask & co. (Part 3)
The Adventures with NSTask & co. (Part 2)
After preparing the archived build, I was too optimistic about the outcome that was ahead of me. When I have started writing @UpdatesXcode, I was thinking that I would somehow be able to pass through the review process and distribute the app via the Mac App Store. However, even at the stage of notarization, I … Continue reading The Adventures with NSTask & co. (Part 2)
The Adventures with NSTask & co. (Part 1)
After almost a month of coding during sleepless nights my favourite side-project so far, @UpdatesXcode, I have uncovered a world of problems to myself. At the time, I was rushing to finish all of the nice little state handling-related improvements, such as, error handling, or support for a proper blocking of user's input when there's … Continue reading The Adventures with NSTask & co. (Part 1)
Fear of being fired
On one of my journeys in my career as a Software Developer for Apple platforms, I had a situation where every single day I would be frustrated off fearing being fired. Every. Single. Day. At first it was causing a lot of stress out of nowhere, where I would push myself to the limits trying … Continue reading Fear of being fired
Passion Wave in Software Development
While writing my second indie project, I have faced an interesting case. I never think through the entire codebase beforehand when writing side-projects. What I instead do is I think through each and every single detail like having a look through a magnifying glass.Piece by piece, it all comes together in the end. And the outcome … Continue reading Passion Wave in Software Development
Progress Indicator v1
Creating drop-like shapes for progress indicator with a minimum toolset of customisation options is just nice. See more for UIBezierPath, CAShapeLayer and Swift 4 magic!
UIBezierPath, CABasicAnimation and Swift
In order to have a straightforward aim for writing posts, this one combines summary for the idea behind Animation tag. See different progress indicators, animation engine based on CoreAnimation and more yet to come! Also, Swift.