Tag: Apple
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 change page scaling in Xcode
Xcode provides option to increase or decrease the page scaling. This page scaling option is available as part of the Page Setup. This feature is quite useful when you want reduce the number of pages used for printing any Objective-C code. The default page scale is set to 100% and you can change this by…
What is Delegation in iOS ?
Delegation is one of the commonly used pattern in iOS. This is used tell an object to act on behalf of another. Refer to Apple documentation for detailed information on delegate pattern. Let us see this with an example program that uses UITextFieldDelegate. This is a SingleView Project with one UITextField control. #import “ViewController.h” @interface…
Reduce the time taken for searching iOS documentation using Xcode
This tip is for iOS developers who want to reduce the time taken while searching iOS documentation using Xcode. Documentation under the Xcode organiser window by default shows information on OS X as well. If you are not a Mac developer then you can turn off the documentation related with OS X. Step 1: Launch…
Variables in Objective-C
Objective-C also uses variables for storing data in memory like other programming languages. The variables are defined based on the type data type that will be stored. The general rule followed for naming variable are Use the camel case convention for variable i.e the first word in lowercase and second word in uppercase. For example…