add constraints programmatically

Creating UI Elements Programmatically Using PureLayout

Welcome to part two of Creating UIViews Programmatically Using PureLayout. In the first part, we built a simple mobile application’s UI completely in code without the use of Storyboards or NIBs. In this tutorial, we will cover some of the most used UI elements in all applications: UINavigationController/Bar UITableView Self-sizing UITableViewCell   UINavigationController Explained In an…

Read more
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. In…

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