Tag: iOS

  • Attribute Unavailable: Estimated section warning before iOS 11.0

    Xcode 13 (iOS 15) displays the following warning message for project having minimum deployment as iOS 10. Attribute Unavailable: Estimated section header height before iOS 11.0 Attribute Unavailable: Estimated section footer height before iOS 11.0 This warning gets displayed for new UITableViewController added to the Storyboard file. You can get rid of the warning messages…

  • Basic overview of Xcode

    Xcode is the primary tool used for the development of Mac and iOS applications. This is a free tool which can be downloaded from developer.apple.com website. You can use Xcode for Writing code, Building, Testing (Unit test) and for Distribution (Submitting to App Store). Different Panes in Xcode Navigator   This is available at the…

  • Test Driven Development in iOS – Beginners tutorial – Part 1

    This is a beginner tutorial on TDD in iOS, explained with an example app that adds two numbers. Let us see try to use some XCTest assertions supported in iOS in this project. Create a New iOS project select the template as Empty Application Enter the required details in Choose options for your new project…

  • Quickly copy photos in to photos album in iOS Simulator

    Photos Album in iOS Simulator is generally empty and if you are writing apps using Photos functionality then you might need some photos in them. Listed below are the steps for placing photos under the Photos Album in Simulator. Step 1: Access the Home screen on iOS simulator. (Hardware > Home) If you tap Photos…

  • Simple UITableView and UIAlertView example

    In this article, we are going to see how to create a simple UITableView for displaying data. And display an alert on selection of any row using UIAlertView. Launch Xcode, Click File > New Project and select Single View Application as the project template. Enter the project details for Product Name, Organization Name, Company Identifier…

  • How to add annotation to MapView in iOS

    This article provides the steps for adding annotation to a MapView in iOS Updated: – Click here for the updated article in Swift Create a new Xcode Project – File > New > Project. Select the template for the project as Singe View Application under iOS > Application. Then provide the required details in the…

  • Objective-C – What are Categories?

    Categories in Objective-C are used for adding extra functionality to a class without accessing the source code of the class and without subclassing it. Let us see this with an example by adding an additional method to NSNumber that just writes the value of the NSNumber argument to NSLog. Create Project Create a new Command…