All posts filed under “Quality

comments 2

#50 Synchronous Unit Tests

Asynchronous Expectations Mobile applications are usually multi-threaded. We perform UI operations on the main thread and dispatch heavy tasks (e.g. network requests, JSON parsing, writing to a file on a disk) on background threads. The iOS allows us to use backgrounds threads for example by using Grand Central Dispatch API (GCD), i.e. by performing operations on DispatchQueue objects. Work dispatched…

comment 0

#42 Review all the things!

Today we’d like to share a talk presented on May 14th at the UIKonf conference in Berlin. The world has gone crazy. It has made us extremely busy nowadays. Product owners want us to write code fast, to ship new features even faster. Because of that we don’t have time for self-improvement. We are programmers that may be great in…

comments 4

#36 ObjectiveC2Swift Review

Today we will dive deeper into a quite unusual topic for us – Objective-C. Don’t be scared though as what we have got for you is a review of Objective-C to Swift tool. Full disclaimer: we have recently received a full access to the tool from ObjectiveC2Swift Team! Thanks! Challenge Accepted! We all have some big and small legacy projects…

comment 0

#30 Cyclomaticly Complex Settings View Controller

Simple screens evolve In every project simple screens can happen. Let’s think for example of a simple Settings screen. Customer wanted a Settings screen on which a user would be able to Set Option 1 and 2 and to Logout from the application. It seemed so simple so developers used a UITableView with 1 section, hard-coded text displayed in cell…

comment 0

#26 SwiftLint, SonarQube and CheckMarx… what else?

Today we would like to talk about news from SwiftLint and also look at different static analyzers frameworks like: SonarQube Checkmarx Concentrating on some basics, best practices, tips and just personal feelings about each one. Important: if you would like to learn more about SwiftLint I recommend visiting our previos post about SwiftLint. Ready? Let’s start! SwiftLint A tool to…

comment 0

#17 Unit test all the things!

There is always a half When I was at the 3rd year of my BEng studies I had a chance to visit Turin, Italy, and to take part in Erasmus student’s exchange programme. At Politechnico di Torino I attended "Operating Systems" course on which the lecturer used to ask participants wether they had ever done some programming in C or…

comment 1

#14 Code Review – Tips & Swifts

Last week, in issue #13, we introduced a definition of Code Review. Today we’ll get deeper into the topic, present some tips & swifts & tricks when performing a review and focus on some mistakes found when reviewing a 🐦Swift code. General Tips 🔍 It is said that a review goes best when conducted on less than 400 lines of…

comments 2

#13 Code Review – are we too busy to improve?

Issue #10 has had a very good perception by the community. For this reason we will blog about code quality topics from time to time. Today we’d like to discuss code review process, challenges one may encounter when introducing it in their workplace and what to consider when reviewing one’s source code. What is a code review? The good old…

comments 5

#11 SwiftLint

Should the opening brace of a function or control flow statement be on a new line or not ?:) This and many other questions cross my mind when I think about coding style. I love the comment from Ray Wenderlich’s Swift style guide: "You like braces on new lines @elephantronic ? This will strain our friendship!" …hehe, so it really…

comments 2

#10 Is Christmas earlier this year? – code quality analyser & ABC

Code quality – what to use? 🔧🔨 There are a few ways we can ensure better code quality of our projects. Starting from unit testing then going through lint-like programs, code formatters, static code analysers, code reviews and ending with all that stuff I forgot to mention … 😉 The most demanding and also worth applying, in my opinion, are…