-
Brain.fm for programming

In November 2015 I stumbled upon an offer from AppSumo. They were reviewing Brain.fm – music designed for the brain to enhance focus, relaxation, meditation, naps and sleep within 10 – 15 minutes of use. The music itself is composed using AI engine. I decided it is a good time to try something different than…
-
Writing code, the Swift style

Different people have different styles of writing code. Working in a team means mixed styles, even when all developers are using a coding convention. Writing code in Swift can sometimes lead to unneeded if let, downcasting or force unwrapping values. An easy way to resolve these and many other issues is by introducing SwiftLint to…
-
Better way of initializing properties with default values

When using Objective-C, I used to initialize properties for some of the elements in the ViewController like this: Inside the method initView I would write the logic to preset how elements should look and behave. The problem with this – as more and more properties or outlets get added – the more I have to…
-
Installing CocoaPods on OS X 10.11 El Capitan

With the release of OS X El Capitan a new security enhancement called “System Integrity Protection” widely referred to as “rootless” was introduced. Because of this several directories are now considered system-specific and thus not writable by the user anymore. This change makes installing CocoaPods little trickier. If you try to execute the command in…
-
Starting with Laravel – Migrations and Seeding
As we are starting with Laravel, one of the choices that we have to make is what development tools to use. What I will mainly use is NetBeans IDE. To load the project that was generated when we downloaded Laravel, we choose File → New Project → (Category PHP) PHP Application with Existing Source and then point…
You must be logged in to post a comment.