exportOptions properties Aug 13 2019

From the help obtained on

1
2
3
$ xcodebuild -version
# Xcode 10.3
# Build version 10G8

This are the options available for the exportOptins Property List file:

compileBitcode : Bool

For non-App Store exports, should Xcode re-compile the app from...

Read More...

Using Drag and Drop on UITableView for reorder Jul 26 2019

If we use custom cells for a UITableView, and we want to re-order using drag and drop, we need to make our cell model conform to NSItemProviderWriting, NSItemProviderReading and NSObject. To move an object using drag and drop, we need to to be able...

Read More...

Creating App Custom URL Scheme Jul 17 2019

We can do this by adding the following fields to the info plist:

1
2
3
4
5
6
7
8
9
10
11
12
13
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Viewer</string>
            <key>
Read More...

UITableView notes Jul 14 2019

There are small details of UITableView that are simple but makes the table view look good. One of those is hiding the separator for empty cells.

A table view has a header, body and footer. Most of the time, when we start a project, we drag a table...

Read More...

Coordinator iOS Jul 12 2019

I am using the coordinator pattern on my Counter App. These are the steps to implement the coordinator pattern.

1. Create a Coordinator protocol.

1
2
3
4
5
6
7
import UIKit

protocol Coordinator {
    var navigationController: UINavigationController
Read More...