Not so long ago, in a galaxy not so far away… we promised you a series about architectural patterns. This post is a follow up for our initial issue on the topic. And finally, we can share with you the My Cards application written in MVC … The main idea behind this app is to refactor its code to fit…
All posts tagged “swiftlang”
# 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…
#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…
#7 Do I love or crash something? – shortly on capture lists
I love pizza… or pasta… or it just crashes… Some time ago I have attended an iOS meetup in Poznań, on which the attendants were given a short quiz during a break. We had to answer what would be printed in the console after code execution. One of the code snippets looked similarly to this one: I have answered that…