Programmatic UITableView

Create a TableView programmatically | Swift 5.3 and Xcode 12

As a user, we start up our application on our device and we never know what is exactly going on in our application. All we know is that this application is “Gorgeous, Beautiful, and even Spectacular”. But as a developer, we know what is going on in the code without looking at the code. We can tell this is a UITableView or even possibly a UICollectionView.

Today we are going to look just at UITableView. Specifically, we are going to look at building a ‘UITableView’ programmatically. Let’s look at two ways we can build this out. One is by creating…


DRAWING, SWIFT, PROGRAMMATIC UI, UIBEZIERPATH

Custom drawing can bring life to your application

Have you ever visited Paris? If you have, did you happen to stop at the Louvre? If so, you probably know that there’s a fantastic painting designed by the one and only Leonardo da Vinci called “The Mona Lisa.” Now we can’t help but wonder what was going on in his mind when Leonardo was creating this masterpiece.

As we look into designing applications for the AppStore, one thing we want to achieve is an excellent user interface. Creating unique styles in your application makes for a special moment, not only as a team but for consumer’s face also.

What is UIBezierPath?

Today…


PROGRAMMATIC UI, CLEAN CODE, STYLES

UITabBarController, UINavigationController and UIViewController.

Sometimes it takes time and practice.

Whether you are working with an existing codebase or a brand new project, the question will come down to what is better suited for your needs. Now there are multiple options we could choose from when working with the user interface.

• Storyboards
• Non-Storyboards (Programmatically Designing everything)
• Xibs
• Combination of all them

Now in this article were going to focus on the Non-Storyboards SceneDelegate setup. You are probably wondering what is so special about not using storyboards? …


PROGRAMMATIC UI, STYLES

Helping clear up your stored properties one step at a time!

When you look for inspiration whether it be from the great mind of yourself, or from sites like dribbble. Like the example above, we can see multiple buttons and labels that could be reusable.

Creating programmatic stored properties with the same methods is tedious and unnecessary. If it doesn’t follow the DRY concept then refactor it.

D: Don’t
R: Repeat
Y: Yourself

When writing code, and we notice that these two stored properties share some common interest.


Beautiful and yet simple terminal life

Have you ever watched a YouTube video from someone and they open up a beautiful terminal window. The first thing that pops into your mind is WOAH that looks amazing! In this article I am going to over how to get that all setup with just the default theme they have provided.

Let’s get started, open up your terminal on your Mac. We have a few options we can do.

  • Local Terminal
  • iTerm2
  • Or other local shell program that you use on your Mac.

Your local terminal which can be found by pressing the following keys "command + space" on…

Aaron Cleveland

iOS Developer @PepsiCo | Father | Inspiring Design Technologist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store