Photo by Matt Ragland on Unsplash

Last year I was writing an article about the importance of tracking something. What gets measured, gets improved!

The mere act of tracking makes us aware of our choices; having a history comes as a bonus and gives us perspective about them. Having awareness influences our choices; having perspective, well, increases the awareness.

I created Body Tracking because tracking what I eat, marking food as good/bad/etc and checking my history was one of the main ways I managed to lose 40+ kgs and keep my weight consistent after that.

So I applied the above concept to eating and I started…


Photo by Adrian Swancar on Unsplash

The brain is a prediction machine. Its main purpose is to keep you alive and the better it can predict the future, the better it can keep you away from harm. So it will try to conceive all the possible scenarios it can, as to be able to avoid them. And, of course, it will focus on the bad scenarios, since that’s what it has to defend you from.

In theory, at least, because overthinking leads to nowhere good.

The way we think influences the way we feel and act. If we’re lingering on a bad outcome, we’ll begin to…


Photo by Kendal James on Unsplash

We become so accustomed to our lives, that we can’t truly asses the situation we’re in, be it good or bad. Think of the impostor syndrome: people with great achievements — even extremely famous ones — that still feel like a fraud. But it works the opposite too, of course.

And that’s what I want to focus on. I’m not saying we can’t see that the situation is bad, because we can. It’s just that it’s hard to realise its true amplitude. We most likely think it’s not that bad. …


Photo by Matt Ragland on Unsplash

Last time I was talking about consistency and how it’s one of the most important things after starting. One of the examples I gave was about my eating habits: I stopped being consistent and it slowly went into a down spiral.

But I also mentioned that I got back on track after looking back on my logs: what I ate and how much I weighted. What saved me was the fact that I was tracking.

Tracking brings two benefits:

  1. You can go back and review your progress at any time and see what you can improve, what went wrong and…


Photo by Ryan Stone on Unsplash

The most important thing is to start. But the second most important thing is to continue, even if you don’t feel like it.

The more you quit something when you don’t feel like it, the more you’ll get used to it. Quitting is a habit, like any other. The more you do it, the more engrained it becomes.

The reverse is just as true: continue doing something, even when you don’t feel like it. It will make the quitting habit fade away, if it was present, or build resilience. You’ll get over the feeling of quitting easier. …


The other day we released DND Me, a simple Mac app that lives in your menu bar with which you can easily enable DND for a certain amount of time.

50% off during launch!


Photo by Jessica Lewis on Unsplash

One day you may find yourself realising that you have a lot of changes to do in your life. It seems like there’s so many. They feel overwhelming. They feel intimidating.

Truth be told, they might be all of the above. Be it your discipline, your determination, your perseverance, a project you can’t seem to make progress on, or start reading. Whatever it is, it doesn’t matter, the same rules apply. If you think about it as a whole every time you want to make a move, it will paralyse you.

How so? Your brain will believe that, somehow, everything…


Photo by Pengsheng Guo on Unsplash

Continuing from last time, I’d like to explore the idea that nothing is too unimportant, which is another way of saying that anything and everything affects everything else.

What does that actually mean? Well, it has no hidden or deeper meaning, it means that how you do one thing, you do everything. It means that any activity you have or you adopt influences both your current ones and the ones you’ll adopt in the future; both for the positives and the negatives.

Think of it like this:

  • If you buy a new TV, will that influence you to read more…


Photo by Thao Le Hoang on Unsplash

What are the chores/tasks with the highest chance of success? The small ones, the easy ones, those that need minimal effort, willpower and/or time.

What are the chores/tasks with the highest chance of failure? The big ones, the complicated ones, the ones that need a lot of effort, willpower and/or time.

Don’t fear the amount of change that needs to happen, that’s one of the worst thing you can do. Chances are it will paralyse you and you’ll remain stuck.

Sure, be honest with yourself; you have to be. Become aware of everything wrong and everything that needs fixing. …


Photo by Wes Hicks on Unsplash

Everyone loves animations and I think every app should make use of them; with care, but that in a future post.

The easiest way to add animations is with UIView’s animate method, or with UIViewPropertyAnimators. Pretty straightforward and easy to use, but they don’t support animating CALayer properties, like borderColor or borderWidth. For these, we have CABasicAnimation, or rather all of its concrete subclasses: CABasicAnimation, CAKeyframeAnimation, CAAnimationGroup, or CATransition. In this post we’ll quickly cover CABasicAnimation and CAAnimationGroup.

Say we want to animate the borderColor of a view, this is how we’d go about it:

let borderColorAnimation = CABasicAnimation(keyPath: "borderColor")…

Roland Leth

iOS & web developer. Blogger about life and tech at https://rolandleth.com. Founder at https://runtimesharks.com.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store