Articles tagged 'apple-development'
Page 3 of 4
An essential step before you deliver your application to your users is to make sure that your app is not overusing your user's resources. In this post, I'll show how to use Xcode's visual debugger and the command-line counterparts to check for common...
Read More...
Getting the screenshots of your app doesn't need to be complicated, and it shouldn't require you to install additional applications to do it. Sure you can use any other third-party library, but sometimes simple is better. Also, it is always fun to...
Read More...
We can install Fastlane as a Homebrew cask or as a gem. I'll go the gem route.
add a Gemfile on your project:
1
2
3
4
|
#Gemfile
source "https://rubygems.org"
gem "fastlane"
|
We are going to use bundler. If you are familiar with Ruby development, you...
Read More...
Sometimes we only want to do the simplest of tasks of build and upload to TestFlight without having to spend much time doing lots of configuration. Maybe we are only testing a minimum viable product (MVP) and want to make it accessible to beta users...
Read More...
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...
At some point on your app development career, you'll find yourself working with text fields to get some data from the user. Collecting data from the user sometimes involves additional work than merely reading text from an UITextField. For example,...
Read More...
Building a command-line interface (CLI) tools is a complicated task. We work on the logic of our application and also have to deal with other details like parsing parameters, handling the correct display directives depending on the TTY, etcetera. Vapor...
Read More...
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...
Swift is a powerful language. It can be used to create command-line tools, iOS apps, watch OS apps, macOS apps and server-side applications. However, sometimes, we only need to complete a small task, maybe do some automation on our local setup or build...
Read More...
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...
If you decided to create an Extension for your app (maybe a Today Extension), you will quickly find out that you need to access data from your main app. And soon after, you will find out that you can't access files in your main app directly from the...
Read More...
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...