Today we are going to talk about how I used Core data in conjunction with Mantle wrapper to directly store and retrieve data out of database without directly interacting with Core data. This involves the significant portion of MTLManagedObjectAdapter object which is a wrapper around core data. All we have
Enums are one of my favorite parts in any language. With Swift they've got extra functionality such as adding functions, associated values and Indirect Enums. So what are indirect enums? I have learned enums in other language, but never came across any language which offers similar functionality. At least not
If you're a Git user, there is high chance you might be using .gitignore file to ignore certain files from being committed into your remote repo. Now, .gitignore file differs for different languages, frameworks and packages. If you have several repositories maintaining multiple .gitignore files for them could be painful.
Swift introduced us a new era of custom operators. Unlike Objective-C, it will allow us to define our own operators and perform operator overloading if necessary. Although I haven't come across such use case, custom operators can provide excellent clarity and flexibility down the line. Let's start with how you
Last week I had weird issue while applying autolayout rules to UITableViewCell. TableViewCell has two components attached to it. An UIImageView Two variable length UILabels stacked vertically on the top of each other And I wanted tableView cells to look like this, Nice, isn't it? Let's look at the way
We all have dealt with push transition of UINavigationController as well as presentViewController and dismissViewController transitions of typical UIViewController. However, today we will learn how to emulate the transition from one viewController to another without moving to a new viewController. The technique is quite simple and I will only explain