In this article we’ll talk about the front end part of our set up. I use Gulp as a build system for my project, but I think this set up can be done with any other build system as well. This was originally an article about setting up Golang & Angular 2 development, but it actually doesn’t use Angular in any way. The only thing you need here is a build system (Gulp, Webpack or something else). (more…)
So, I’ve completed setting up my Visual Studio Code to develop a site using Go and Angular 2 and I thought that this information may be useful for somebody.
In the first part of the article we’ll set up our back end, and the front end we’ll set up in the second part. (more…)
Apple told you about it, but not very clean. The process is actually pretty simple.
Xcode generates a header file for all your Swift code in the project, so you can use it in Objective-C. Yes, if you have multiple Swift files in your project, you shouldn’t think about what file you need to import — it’s just one for all Swift code. The file name of this header is
"ModuleName-Swift.h". And we’ll set it up now in a few steps. (more…)
Let’s continue our journey through the
UICollectionView class. Creating cells for
UICollectionView is really easy, moreover you can use the same approach for
UITableView. Let’s take a look at how to do it using Swift.
You will learn how to create simple cells with text and images in them, how to handle taps, and at the end of the article I’ll talk about how to use a xib file to create a cell.
In this tutorial I presume that you’ve already finished my previous tutorial — How to create UICollectionView using Swift without storyboards, because here I’ll use our finished Xcode project. If you didn’t, then don’t worry, the only thing you need here is working
One day you’ll need to set up, let’s say, a mobile analytics system or a crash reports sender in your app. They are all useful, but some of them require you to import their framework into your Xcode project. Problem is, they’re now all written not using Swift Programming Language. In this little article I’ll tell you how to properly import a framework into your project. (more…)
There’s a lot of tutorials about how to create a
UICollectionView using storyboards or just nib files. I don’t like Interface Builder and prefer to do everything in code. Most of the time it’s easier, it creates less bugs, so in this tutorial we will create
UICollectionView is highly customizable class for presenting your content in almost any layout you want. If you want Apple to tell you basics about it, visit WWDC 2012 videos “Introducing Collection Views” and “Advanced Collection Views and Building Custom Layouts”. It implements in a similar way to
UITableView — using
UICollectionViewDelegate protocols. Let’s take a look at how to do it using Swift. (more…)
From this post I’ll write some Objective-C code here periodically. Today we’re talking about detecting directory changes. There are several different ways to do that, for example, kqueue or GCD. Detection of directory changes used in my app, Filegrid, version 1.2, that is not yet released at the moment. (more…)