Image for post
Image for post

This week was all about working with Mapkit. We are all familiar with maps when we want to know where we are or to get directions somewhere. Here are a couple of things I want to explain that I learned from using Mapkit this week and how you could learn the same by following along.


Image for post
Image for post

When anything is being referred to as being “concurrent,” it is being compared with something else that is being done at the same time. When a task has been coded to execute, it can be programmed to happen at the same time as another task. This is concurrency or concurrent programming.

What physically allows us to do this is multicore processors. Specifically in iOS Development, with today's technology at the time of writing this, we are currently at a six-core CPU with the latest iPhone 11 and 12 Pros. The more cores there are, the more tasks we can perform. …


Image for post
Image for post

This week in iOS development, I was able to make a weather app that requested and stored your current location and then gave you the current weather for the next five hours and the next five days.

I had a lot of fun with this app because for the first time I didn’t have to work with data that was local on my computer or that was already provided for me. I was responsible for finding out how to get the right data I needed, as well as retrieving and decoding the data to present it to the user.

What is an API?

API stands for Application Programming Interface, a way in which to get data from someone providing it. Think of it as an agreement between you and the company that you want data from. If you want data from them, you have to ask or call for it the way that they want you to, and in exchange, they promise to give you the data you’re asking for and not change it on you later. …


Image for post
Image for post

During this week of learning app development, we dove into complex input screens with a UITalbeView.

What we have here are some very commonly used input screens used to put data into the application.


Image for post
Image for post

This last project I did really helped me understand the use of Protocols and Delegates. I had somewhat understood the concept but it was really solidified when I had to implement and create my own protocols and delegates for a certain favorite button.

Protocols

Let’s try to understand this concept of protocols. Just as you might use and understand protocols in any other daily use, it’s used the same way in Swift. This is one reason why Swift is so great in my opinion because Apple chooses names that perfectly describes what exactly the code is doing. The names aren't ambiguous.

Just as we might say today, “stick to the protocol”, this implies there is a certain way things must be done. This is exactly what happens when a class or struct in our code adopts a protocol. The class is taking on the rules of the protocol and promising to adhere to them. …


Image for post
Image for post

I was today years old when I learned and understood what Git was. Hidden in the MacOS(and Linux), there is a great functionality that makes any developers life so much easier. It’s no mystery to the programming world and perhaps the millions of developers using it as standard operating procedure. But after learning it today, not one of my projects will be done without using Git.

Let’s paint the picture shall we?

You are working hard on personal project for weeks, then one day you make a mistake or get rid of the wrong file and the project is broken. How do you restore the project to where it was before you made the mistake? Let’s say you want to add some new functionality to the project, how do you test the new code on your project without messing with that main(master) file? What if you are on a small team and you are all working on the same project changing different lines of code, how do you prevent bugs from two people changing the same line of code? …


Image for post
Image for post

For the past two weeks I have been working on my very first app, a calculator. It was a great learning experience to build this because I did everything myself. From the code in the background running all the calculations and making the UI changes, to completely laying out the UI to be clean and conform to all orientations and devices.

So earlier in the week before the calculator assignment, I learned the “guard” statement in the Swift language. This is a key word that helps you perform a certain task. The best way to describe it is that it prevents you from having to execute a bunch of code if the guard statement is false. It will stop (lets say a function) from being redundant with “if” statements. …


Image for post
Image for post

It’s been a while with all this Covid-19 going on since I have posted an article. I think that I am back in the groove of things again and not as “constrained” as I was before. This week I was really delving into Auto-Layout and what it helps you accomplish in making a User Interface of an app.

What is Auto-Layout? Well let’s break down the words. Auto is short for “automatic” meaning doing something automatically rather than manually. Layout, you can think of “laying out” a blueprint of a house. Where something belongs and exactly how much room and the dimensions it will take up. What Auto-Layout accomplishes is setting the dimensions or parameters of everything on your User Interface to where it will go and how much room it will take. You are basically setting the alignment and making sure everything looks nice and neat. …


Image for post
Image for post

The same question kept going through my mind, “Why?” I had to remind myself of why I’m doing this. People are depending on me. This week was a rough one, some setbacks had me feeling discouraged and that I can’t do this. I reached out to a mentor and he got me right back on track. Now, we’re moving forward.

Week 3

My pace has slowed down a lot. Some things stick, and some things take a while to fully comprehend. I’m not in a race. …


Image for post
Image for post

If this were a college class taken in a brick and mortar college classroom, I would have missed a couple days of class already within the first two weeks. I would be off to a very bad start. Luckily, this academy is online and taken at my own pace.

Week 2

Technically I have not finished my second week of lessons and assignments. I dedicate time to this academy every day, but life will occasionally throw a 90 mph curveball right at your face, which makes getting work done a tad bit difficult. …

About

iDev

I’m a father of five switching careers. My eyes are on App Development.

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