add constraints programmatically

Creating UIViews Constraints Programmatically Using PureLayout

Today, I’ll walk you through building a simple mobile application’s UI completely in code without the use of Storyboards or NIBs. I will not go into the debate of which is better because, simply, they all have their pros and cons, so I’ll just leave this link here which dives more into that matter: https://www.toptal.com/ios/ios-user-interfaces-storyboards-vs-nibs-vs-custom-code.  …

Read more

Objective-C: Refactoring to Dynamism

“Instead of this absurd division into sexes they ought to class people as static and dynamic.” – Evelyn Waugh   The standard Objective-C introduction usually mentions its Smalltalk heritage along with its strict C dependence. So how can a language running over the hallmark of procedural programming be dynamic? The Objective-C runtime. It’s the only…

Read more