Sign in

iOS Developer @Eulerity | Father | Inspiring Mobile Developer

Don’t get so worked up over Integers. You only need basic math!

Integers, UIntegers, Floating-Points, Decimals, and Doubles

Many people are afraid to learn how to code because they think a lot of “Math” is involved. But to let you in on a bit of secret, it just depends on what you are trying to do. We only need to know the basics like addition, subtraction, division, multiplication, and sometimes PEMDAS (Parenthesis, Exponents, Multiplication, Division, Addition, Subtraction). Like every other language out there, Swift offers built-in methods to make our life easier think of it as using a calculator, except you are coding it! Before we jump into our next topic and talk about integers and floating-point numbers…


Defining Swift constants and variables in Swift 5+

Constants, Variables, Type Annotations, Syntax Rules, and How to use them!

Rotary Phone

Back in the day, we had phones like the above picture. A simple telephone that you spun the dial to call out. In those times that was as basic as it could have gotten. Fast forward in time to the present, now we have “smart” phones that do practically everything for us. Like the rotary phone, we will walk through a multi-part series of Swift basics that will get you ready for any challenge given to us.

What is a Constant and Variable?

Now for beginner programmers that are just getting started, you might ask yourself, what are these words and what do they mean? …


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.

• translatesAutoresizingMaskIntoConstraints = false
• font = UIFont.systemFont()
• textColor = .white

This is six lines of unwanted code. Let’s implement a…


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

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