iOS Insider is a collection of different topics and programming languages for iOS platform developer such as iOS Application Development, Cocoa Touch, Objective-C, Swift, XCode etc.

Extensions by Example - Swift Programming Language

1. Introduction Extensions add new functionality to an existing class, structure, enumeration, or protocol type. This includes the ability to extend types for which you do not have access to the original source code. Declare extensions with the extension keyword Format of Extension extension SomeType { // new functionality } An extension can

Initializers and Deinitializers - Swift Programming Language

1.Initializers Initialization is the process of preparing an instance of a class, structure, or enumeration for use. This process involves setting an initial value for each stored property on that instance and performing any other setup or initialization that is required before the new instance is ready for use.

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 ShowBuildOperationDuration -bool YES 2. Improve your Swift project build time The Xcode 9.2 release notes mentioned an experimental feature that

Control Flow by Example - Swift Programming Language

In Swift, there are three kinds of statements: simple statements, compiler control statements, and control flow statements. Simple statements are the most common and consist of either an expression or a declaration. Compiler control statements allow the program to change aspects of the compiler’s behavior and include a conditional

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.

Methods by Example - Swift Programming Language

Methods are functions that are associated with a particular type. Classes, structures, and enumerations can all define instance methods, which encapsulate specific tasks and functionality for working with an instance of a given type. Classes, structures, and enumerations can also define type methods, which are associated with the type itself.

Properties by Example - Swift Programming Language

Properties associate values with a particular class, structure, or enumeration. Suppose if we need to change or access an iVar in your class using an object of your class, then there should be getter and setter methods assigned to the iVar. A property is used mainly when other objects need

Classes and Structures by Example - Swift Programming Language

1. Introduction Classes and structures are general-purpose, flexible constructs that become the building blocks of your program’s code. You define properties and methods to add functionality to your classes and structures by using exactly the same syntax as for constants, variables, and functions. In Swift, you define a class
Load more