This content has 9 years. Please, read this page keeping its age in your mind.Source control in the development procedure is not a luxury, it is essential. Don’t think of it necessary only when you work in a team. Pick up good habits early and apply it even if you work alone. It will enhance
Category: iOS learning
UIViewController lifecycle
This content has 9 years. Please, read this page keeping its age in your mind.Developing code for iOS means that you are going to use at least one UIViewController in your app. This is one of the elements of the Model-View-Controller (MVC) design pattern and it is really helpful to understand its lifecycle. There are
Enumerations 101 in swift
This content has 9 years. Please, read this page keeping its age in your mind.Don’t underestimate the enumerations in Swift. If you come from C or objective C there is a nice surprise for you. Enumeration are not based on integers, can have methods, initialisers, computed properties and conform to protocols. Additionally, we are going
Structures 101 in swift
This content has 9 years. Please, read this page keeping its age in your mind.Structures is not another type in swift. If you have background in C or objective C you will be impressed with the functionality of structs in swift. Structures have initialisers, methods, comfort to protocols have extensions…convinced? Well, if start thinking that
Iterating through Collection Types in Swift
This content has 9 years. Please, read this page keeping its age in your mind.Collection types in swift are the arrays, the dictionaries and the sets. Iterating through them is really easy using the for-in loop. The purpose of this article is to gather all the related information in one point, neat? Lets start with
Continue reading Iterating through Collection Types in Swift
Closures 101 in swift
This content has 9 years. Please, read this page keeping its age in your mind.Closures, what a great tool! Once you get it, you love it. Closures are the famous blocks in Objective-C. Maybe were a bit difficult to understand at first sight. I’ve written three parts in this blog to explain them. However now
Functions 101 in swift
This content has 9 years. Please, read this page keeping its age in your mind.Functions are the building blocks of any application. Let’s start with some obvious characteristics about them. The functions declared using the keyword func. Then follows the function name and the parenthesis containing the parameters, after that there is an arrow “->”
Check if a UITextField is empty
This content has 9 years. Please, read this page keeping its age in your mind.One of the most common tasks is to check whether a UITextField is empty in order to proceed with a save action. The way to manage the Return Key in the keyboard is very easy. In the Attributes Inspector of the
NSFetchedResultsController cheat sheet
This content has 11 years. Please, read this page keeping its age in your mind.What is NSFetchedResultsController? Apple says: You use a fetched results controller to efficiently manage the results returned from a Core Data fetch request to provide data for a UITableView object. While table views can be used in several ways, fetched results
The magic of CocoaPods
This content has 11 years. Please, read this page keeping its age in your mind.Hmm… among all posts that I have written this one seems that will be most helpful for you. Yes, remember when we tried to add AFNetworking to our project or core plot…. It was a procedure of certain steps. Now, with