Apple TV vs Roku

An Apple TV is a small-sized black plastic box that connects to your television set via an HDMI cable and connects to your home wireless network. It gives users access …

Advertisements

Types of URLSession tasks in iOS

Within a URLSession, we create tasks that currently upload data to server or retrieve data from server. The URLSession API provides three types of tasks. Data tasks: Data tasks send …

URL shared session in iOS

For basic requests, URLSession class provides a shared singleton object to perform default behaviour for creating tasks. We can use this object to fetch data to memory with few lines …

Types of URLSession in iOS

URLSessions are responsible for sending and receiving¬† HTTP requests. Tasks within the given URL system share a common configuration object, which defines connection behaviour like maximum number of allowed connections, …

URLSession in iOS

The URLSession class and related classes provide an API for downloading data from and uploading data to endpoint indicated by URLs. The API allows our app to perform background downloads …

Data types in Swift

Swift provides us with both built-in and user defined data types. The most common data types available with Swift are as follows: Integer Float Double Boolean Optional Tuple Character String