Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.2 Prerequisites

Let's take a few moments to discuss some of the prerequisites, tooling, and languages that we're gonna need to understand in order to properly follow along with this course. Now, obviously, we're gonna be creating a simple iOS application, using the Swift programming language. And in order to take advantage of those things, we're gonna need the proper tool. And in this case, the proper tool is Xcode. So as you can see here, I am on my Macbook and I have opened up the app store. And I can go ahead and search for Xcode and I can go ahead and download it right here if I don't already have it loaded on my machine. And at the time of this recording the latest version is 8.3.3. As long as you're close to that, you should be fine and actually I'm not running the latest and greatest. I'm Running 8.3.1 but that's okay. As long as you're pretty close to that, you should be fine. Now once you've downloaded and installed that and you should give that a little bit of time if you don't already have it installed. As you can see here, it's about 4.5 gb. So it's fairly sizable, so may need to give it a little bit of time to fully download and install. But once you've done that, you can go ahead and fire up Xcode and you should see something that looks like this. And as I mentioned before, I'm using 8.3.1 and that should be fine for our purposes today. So now that we have the tooling, let's talk a little bit about what it is we're going to try to accomplish. Now, what we're going to do is we're gonna be using the Swift programming language. That's number one. Now in order for you to really follow along with this, you're gonna need to have a Fairly decent or at least basic understanding of the Swift programming language. While I'm gonna be talking about a number of different features and I'm gonna talk a little bit about the details of some of the things that I'm doing, this is not a Swift course. I'm going to assume you had at least a basic understanding of the Swift programming language. And if you don't, that's okay. You can take a little bit of a break from this course. You can head over to Tuts + and go ahead and search for Swift. And we have a number of different courses and tutorials that will give you a lot more background information on Swift as a programming language so that you feel a little bit better about following along in this course. Once you have a basic foundation of the Swift programming language, it's time to move on to, what are the frameworks to the things that we're going to be using or try to take advantage of this course? And in this course we're gonna be focusing on the realm mobile database. What it is, how to use it, and how easy it makes storing things in a mobile database. So we’re gonna spend a lot of time talking about some of the features of Realm and it’s always good to be able to follow up and take a look at some of the documentation. So if you were to head over to Realm.IO, you’re gonna see the Realm database and you go under Products and select the Realm Mobile Database. That’s what we’re gonna be focusing on. In this course. Now as you'll see here, on the landing page there's a number of different technologies and platforms that are supported out of the box. We have Android. We have Objective C and Swift for iOS. We have JavaScript if you wanna use it in JavaScript, and we also have support for Xamarin if you are doing C# development. So regardless of the mobile platform you're using there's probably a Realm library for you, which is pretty nice. But that starts to beg the question, how do we get that installed? Well, we're gonna cover that in an upcoming lesson. But it's important to understand that when it comes to iOS development, whenever you're using third party libraries there can definitely be some struggles in getting them in there. Unless you've done it a lot before and you're very familiar with how that works, you may run into bit of a road block there. And that road block comes with dependencies. So often times Realm being included, we may have a third party library that we want to use for a particular project, but that third party library may have dependencies on others. So now, I can't just get away with downloading my primary third party library, I'm gonna have to go and manually download and link every single other dependency that it has. Now, while this possible, it's definitely not very fun. So, what we can do, is we can take advantage of something called coco pods. And CocoaPods is an interesting little dependency manager for iOS using Swift and Objective C to be able to handle some of these dependencies for us. Meaning if I wanna use the Realm Swift library, I can simply find it here in CocoaPods, I can insert it into a pod file, and I'll show you exactly what that looks like, in one of the upcoming lessons. And then the Cocoapods is going to handle all of that dependency management for me. It's going to find all of the dependent libraries that Realm has. It's going to download them and handle all the linking for me. So all I have to worry about is writing my application. And I don't have to worry about all these extra dependencies, and did I download all the right versions, and did I link them all properly in my project? Am I referencing all of them correctly? All that stuff is gonna be handle for you, which is quite nice as well. So before we get into too much more, that is pretty much where we're going to be going with this course. And then the next couple lessons, I'm gonna show you how to get all of this set up, and get ready to go ahead and start to learn more about the Realm Mobile Database.

Back to the top