Tag: iPad
Memory management in Swift
Memory management in Swift is done by Automatic Reference Counting or ARC. Whenever a variables holds an instance of an object the memory count for that object increases by 1. And when variable becomes out of scope or set to nil, the memory count decreases 1. In the above example, we are creating two instances…
SplitViewController example in Swift
This is a beginners tutorial on SplitViewController using Interface builder with programming language as Swift. There are also some good articles available on SplitViewController, check them out as well – nhipster and whoisryannystrom. Create a new Single View Application. Choose Language option as Swift and provide a product name. Navigate to Main.Storyboard and select default…
How to check the OS version of your iPad
iPad allows users to check the version of OS installed using the settings menu. This would be useful when you are troubleshooting some problems in your iPad. To check the OS version 1. In the home screen, tap the settings menu. 2. In the settings screen, navigate to General settings. 3. In the General Settings…
Swift Tuples
Tuples in Swift are a powerful feature that allows you to group multiple values into a single compound value. They’re particularly useful for returning multiple values from a function or for temporarily grouping related data. Let’s explore how to use tuples effectively in Swift. Basic Tuple Usage At its simplest, a tuple can group two…
Internationalization and localization of Apps in Xcode 6 and Swift
Internationalisation and Localization of apps is essential when you want the apps to seamlessly support different languages and region. Internationalization refers to process of providing a framework to the app for supporting multiple languages. And Localization refers to the process of making your app to support a particular locale such as German In this tutorial,…
How to change bluetooth device name of iPhone/iPad/Mac
Change bluetooth name for iPhone, iPad and Macbook Pro. In this tutorial we are going to cover the steps required to change the device name that appears while discovering bluetooth enabled Apple devices. For example when you are trying to pair iPhone with MacBookPro, the Set up Bluetooth Device screen on Macbook Pro would display…
How to hide bookmarks bar in Safari on iPad
Safari browser on iPad, like any other PC or Mac browsers allows users to save webpage URL as bookmark. It also provides a separate Bookmarks Bar for easily accessing these saved URLs. Screenshot with saved bookmarks If you are not using the Bookmarks Bar on Safari then you have the option to turn off the…