Understanding the Objective-C runtime
The Objective-C runtime is one of those language features that’s easy to overlook when you’re just stepping into Cocoa/Objective-C land. The reason is simple: Objective-C is a language you can pick …
Chen's blog
Swift, SwiftUI, tooling, app architecture, and the small product details that make software feel considered.
The Objective-C runtime is one of those language features that’s easy to overlook when you’re just stepping into Cocoa/Objective-C land. The reason is simple: Objective-C is a language you can pick …
Original: How We Created Guillotine Menu Animation for iOS Author: @johnsundell Ever wondered why nearly every app’s menu is a sidebar? Why …
Problem: 28. Implement strStr() Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of …
Problem: 257. Binary Tree Paths Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / 2 3 5 All …
Problem Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string. …
iOS push notification setup has been driving me crazy for the past few days, so I’m writing up everything I learned for anyone else who might run …
Cyclic singly linked lists — linked lists that contain a loop — come up in a lot of interview questions. This post is a roundup, partly for reference and …
Problem: Reverse Words in a String Given an input string s, reverse the string word by word. For example, given s = “the sky is blue”, return …
Problem: Intersection of Two Linked Lists Write a program to find the node at which the intersection of two singly linked lists begins. For example, the …