As we are approaching 2015 I’m working on refreshing my project bootstrap. It’s still work in progress but I think you’ll like it already: Check it out on github.
I’ve been programming for 18 years now, doing commercial work for the last 6, over the years I’ve been exposed to different ideas and experiences that have constantly affect the way I write code, what matters and how I go about working for my clients. I’d like to share some insights in what is my current approach to few common topics.Read on →
Download this article as Playground for XCode 6 to be able to experiment with calculations.
Many people think getting fit is hard, the fitness industry is full of myths and unnecessary complications.
Doesn’t matter if your goal is to lose weight or gain it, what matter is Physics and law of energy:
If you burn more calories than you eat you will lose weight
Same goes for bulking, eat more and you gain weight.
Two questions arise:
- how to estimate our caloric needs?
- how fast should we lose or gain weight?
It’s easy enough to explain both, but since I’m a programmer and I really like Swift playgrounds, let’s use some swift to do express math for us.Read on →
What are some of my favorite techniques for cleaner and more readable code?Read on →
I wrote a blogpost about improving iteration speed and why code injection is awesome when you work on small changes. Read it on Lextech blog
Use it or not, KVO has been integral part of Cocoa programming, yet if you decide to use only native Swift code you are loosing ability to observe other object properties.
There is a way to add Observable properties back to your own codebase with generics in a way they won’t have ripple effect on remaining code, it’s actually pretty cool.Read on →
Xcode 6 brought some great improvements to interface builder, one of the coolest one is ability to design custom views, even cooler is the fact that few people realised - IBInspectable works on ANY object, this makes my Behaviours even better!Read on →
Did you ever see image split available in Kaleidoscope? It’s really easy to implement similar one in iOS with some CoreAnimation code.
Read on →
When it comes to architecture choices, the model layer is very important, flexible data parsing will allow us to add new types of objects easily, so making a mistake in this part of our app might lead to serious problems in the future.
Let’s look at how we could create a simple yet flexible architecture for our model layer.Read on →
I believe in boy scout rule: ‘Always leave the campground cleaner than you found it.’, that’s why I constantly refactor my code so it’s clean and tidy.
Readability is one of my main concerns when it comes to programming quality. I’d like to share few less-known refactoring tricks I use to simplify code.Read on →