Problem For decoding binary data (in my case, delivered by a Bluetooth device), I’ve written this struct: public struct ConsumableByteArray […]

Problem A Fenwick Tree, or a Binary Indexed tree, is an interesting data structure that can efficiently update its elements. […]

Problem I’m refactoring some “old” Swift code using deprecated UIAlertView and delegates. I have a UIAlertController with an input textfield […]

Problem While migrating to structured concurrency it may be sometimes convenient to temporarily make a blocking call to an async […]

Problem I’ve solved this question. Wasn’t sure if I was suppose to use a dictionary in this case, as the […]