Best iOS Development Tips and Tricks - Part 2

1. Open Terminal for current Project using Xcode Keyboard Shortcut Do you know, you can open Terminal from Xcode at the project's path with a custom keyboard shortcut? First, Create a new script file in your project root directory with following command - #!/bin/sh open -a Terminal . Now, open

How to use SwiftLint with Xcode to enforce Swift style and conventions?

SwiftLint is a tool to enforce Swift style and conventions. Keeping a codebase consistent and maintainable in a project with a team of developers sometimes may be very hard, different conventions and styles, plus different levels of experience with the language across developers may result in most of the times

What's new in Xcode 10?

Xcode is the complete developer toolset used to create apps for Apple TV, Apple Watch, iPad, iPhone, and Mac. The Xcode development environment bundles the Instruments analysis tool, Simulator, and the OS frameworks in the form of tvOS SDKs, watchOS SDKs, iOS SDKs, and macOS SDK. Supported Configurations Xcode 10

How to create a verified iOS Mobile Device Management(MDM) profile?

The Mobile Device Management (MDM) protocol provides a way for system administrators to send device management commands to managed iOS devices running iOS 4 and later, macOS devices running macOS v10.7 and later, and Apple TV devices running iOS 7 (Apple TV software 6.0) and later. MDM allows

How to change an iOS application icon programmatically?

In iOS 10.3, Apple launches a cool function so that developers are able to programmatically change the app icon. In Apple's UIApplication API document, there are 3 things worth a glance: //A Boolean value indicating whether the app is allowed to change its icon. To make it true, we

Best iOS Development Tips and Tricks

1. Track build time in Xcode If you don't know the exact build time of your project, enable the following option in Xcode. defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES 2. Improve your Swift project build time The Xcode 9.2 release notes mentioned an experimental feature that

What will be new in Swift 5?

Apple Swift 5 will be release in late 2018. The primary focus of Swift 5 will be ABI (Application Binary Interface) stability for the Swift Standard Library. Here the goals for Swift 5 - 1. ABI Stability 1.1 What is ABI Stability? At runtime Swift binaries interact with other

Introduction to Dynamic Programming

1. What is Dynamic Programming? Dynamic Programming is an algorithmic paradigm that solves a given complex problem by breaking it into sub-problems and stores the results of sub-problems to avoid computing the same results again. Dynamic programming is used where we have problems, which can be divided into similar sub-problems,

Tips to become a better Swift (iOS) Developer

Swift is friendly to new programmers. It's an industrial-quality programming language that's as expressive and enjoyable as a scripting language. Here the some tips to become a better Swift Developer. You can copy and paste the code snippets into Playground, to make it easier for you to understand - 1.
Load more