• Homesearch
  • Collections
  • Sign in or create an account

Kishore Kumar Mohan

  • Elsewhere
Most recommended

    Obj-c : “instancetype” vs “id”

    Both “id” and “instancetype” are keywords in objective-c.“id” — a reference to some random Objective-C object of unknown class “instancetype” — a reference to instance of the class to which the method belongs Lets look at e.g.: “MyObject” class contains 2 factory methods one returns “instancetype” and other returns “id” @interface MyObject : NSObject + (instancetype) factoryMethod1; + (id) factoryMethod2; @end When you create instance of the “MyObject” class and call a method lets say “count”.
    Kishore Kumar Mohan1 min read
    Latest

    iOS : How to display text in different angles or upside down?

    Imagine you are building a playing card game where you need to display the face value of the card upside down.
    Kishore Kumar Mohan2 min read

      iOS : How to hide and change UI of status bar?

      To hide the status bar, override below method in your ViewController.
      Kishore Kumar Mohan1 min read

        UIMotionEffect

        @interface ViewController ()
        Kishore Kumar Mohan2 min read
          More
          Collections edited by Kishore Kumar Mohan
          • iOS — beginner tips