iOS

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.

DeviceCheck API - Unique Identifier for the iOS Devices

1. Overview Using the DeviceCheck APIs, in combination with server-to-server APIs, you can set and query two bits of data per device, while maintaining user privacy. You might use this data to identify devices that have already taken advantage of a promotional offer that you provide, or to flag a

Optionals Chainings by Example - Swift Programming Language

1. Introduction An optional in Swift is a type that can hold either a value or no value. Optionals are written by appending a ? to any type: var optionalName: String? = "Developer Insider" print(optionalName) //prints "Optional("Developer Insider")" Optionals are one of the most

iPhone X - iOS Developer Guide

iPhone X features the stunning 5.8-inch Super Retina display, enabling even more immersive app experiences. Start testing your apps now to make sure they are ready to take advantage of the Super Retina display by respecting safe areas, supporting adaptive layouts, and more. Let's learn how to design your

Operator Declarations by Example - Swift Programming Language

An operator is a special symbol or phrase that you use to check, change, or combine values. For example, the addition operator (+) adds two numbers, as in let i = 1 + 2. Swift supports most standard C operators and improves several capabilities to eliminate common coding errors. Like, the assignment operator

Dictionary by Example - Swift Programming Language

Overview A collection whose elements are key-value pairs. A dictionary is a type of hash table, providing fast access to the entries it contains. Each entry in the table is identified using its key, which is a hashable type such as a string or number. You use that key to

Set by Example - Swift Programming Language

Overview An unordered collection of unique elements. You use a set instead of an array when you need to test efficiently for membership and you aren’t concerned with the order of the elements in the collection, or when you need to ensure that each element appears only once in

Array by Example - Swift Programming Language

Overview An ordered, random-access collection. you use the Array type to hold elements of a single type, the array’s Element type. An array can store any kind of elements—from integers to strings to classes. 1. Creating and Initializing an Array 1.1 Creating an Array Swift makes it

Double by Example - Swift Programming Language

Overview Double represents a 64-bit floating-point number. Double has a precision of at least 15 decimal digits, whereas the precision of Float can be as little as 6 decimal digits. Swift always chooses Double (rather than Float) when inferring the type of floating-point numbers.If you combine integer and floating-point
Load more