Problem There are many side controllers in my project, like the following images. They share the same head view appearance […]
Tag: protocols
Core-data object with relationships conforming protocol in swift
Problem I have a situation where I have to use protocol to be conformed by NSManagedObject which has relationships with […]
Webservice class with parser using generics
Problem I’m currently building a small web stack in swift for use in my iOS apps. It consists of multiple […]
Swift protocol with lazy property requirement
Problem First question here on CodeReview. I was directed here from a question I asked on SO: Swift protocol with […]
Efficiently structuring data with protocol oriented approach in Swift
Problem I need to integrate some server API calling in which I’m likely to get response as: + Response 200 […]
Simple Text Prediction
Problem This is a simple implementation of text prediction using a list of keywords and UITextChecker. This is working correctly, […]
Internet Protocol Version 4 Datagram – Checksum Calculator
Problem I could not find an implementation of the IPv4 header checksum calculation. So, I decided to made one as […]
Binary protocol variability
Problem Please note: An updated solution is here Let’s imagine that we designed more or less universal firmware for a […]