All posts tagged “Swift

comments 2

#45 Can you sing well?

Remark After reading this post you will find out if you can sing or not. If you want to stay not aware about it please don’t read this post further. Story I’m passionate about music. I have played violin for 3 years. One year ago I bought a digital piano to make first steps as a composer. Also I’m very…

comments 2

# 40 How to swiftly dequeue a cell?

The UITableView and UICollectionView classes serve table-like and matrix-like layout for content to be displayed on screen. Both components display their data in corresponding UITableViewCell and UICollectionViewCell subclasses. Both components contain mechanisms for reusing a cell, that was initialised earlier and is not visible on the screen, e.g. when user scrolled the content. You can find a nice description and…

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

#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…

comments 12

#24 Architecture Wars – A New Hope

A long time ago in a galaxy far, far away… Or maybe not that far away… Have you ever had a feeling, as I have had many times, that the design of your app seemed so brilliant at first, but suddenly adding more and more features to it made your source code more complicated and eventually, unmaintainable. Presumably you hadn’t…

comments 4

#18 Do pure Swift objects have load() method?

I’m pretty sure this day, or actually the whole week, will be pretty exciting due to the start of WWDC 2016. Before that happens I’d like to share my finding from unit testing of one of my view controllers. If you’re not familiar with unit testing, check out our last issue Unit Test all the things!. Unit test all the…

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 0

#15 Nested enums or rather never ending posts about enums:)

Today I would like to discuss how to present UITableViewCell contents by using enums. A simple switch statement can help us with displaying data on our tableView. What scenario would I like to focus on? PlaceInfoView To be more precise, I have created a simple schema of this screen: PlaceInfoScheme By the way, have you had a chance to use…

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…