Powered by
Powered by
HuntMyIdeas-Inspire You To Make It Happen
Follow
   Me
  • Blogs
  • About Me
  • Home

Top 5 Basic iOS Questions Asked in interviews

12/17/2014

0 Comments

 
Picture
1.  What is the iPhone?
Answer: 

In this post we will discuss some basic questions and answers before jumping into coding for Application development.

​The iPhone is an integrated cellular telephone and media player developed and marketed by Apple.
It's primary function as a cellular telephone, the iPhone includes a music and video player, digital camera, PDA, and an Internet communications suite.

​The iPhone runs Apple's OS-X operating system iOS.

The first iPhone was unveiled by Steve Jobs, then CEO of Apple, on January 9, 2007, and released on June 29, 2007
Read:
iOS Interview Questions And Answers Part 24
iOS Interview Questions And Answers Part 25

2.What is iPhone SDK?
Answer:

 A software development kit (SDK) released by Apple that allows people to write applications for both the iPhone and the iPod Touch.

The iPhone SDK includes the Xcode IDE, Instruments, iPhone simulator, frameworks and samples, compilers, Shark analysis tool, and more.


Read:
Top 5 Frequently Asked iOS Interview Questions And Answers.
Most Important iPhone interview Questions and Answers

3. What is the difference between drain, release, dealloc and retain in Objective-C?
Answer:

-retain increase the reference count on an object
-release decreases the reference on an object
-drain is used in place of release on ONLY for NSAutoreleasePool objects due to some arcana related to the Objective C garbage collection

-dealloc is called by the system once the retainCount of an object hits 0. It is where you clean up various things your object has (like a deconstructor or finalizer).

You should NEVER call it directly, except for calling [super dealloc] at the end of your dealloc routines.


Read:
Top iOS interview Questions And Answers Collection
iOS Interview Questions And Answers For 1-2 years Experienced Candidates.

4. Class methods vs Instance methods and visibility of methods ?
Answer:

Class methods (most languages use the keyword static)
-Operate on Class variables (they can not access instance variables)
-Do not require an object to be instantiated to be applied
-(+) denotes a class method

Instance methods

-Operate on instances variables and class variables
-Must have an instantiated object to operate on
-(-) denotes an instance method.


Read:
Most Important iPhone interview Questions and Answers
Core Data Interview Questions and Answers

5. how to achieve getter and setter property in iOS?
Answer: 

By using these two preprocessor directives @property and @synthesize we can achieve getter and setter.


Read:
Swift Interview Questions And Answers part 1
An Introduction To The Swift Programming Language
Swift 2 Tutorial Part 2: Basics

0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Enter your email address:

    Delivered by FeedBurner

    RSS Feed

    Archives

    December 2019
    August 2018
    January 2018
    December 2017
    November 2017
    October 2017
    August 2017
    April 2017
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014


    ​​Categories

    All
    Affiliate Marketing
    Alexa Rank
    Apple's Latest Updates
    Blog Tips
    Cocos2d X
    Cocos2d-x
    Google AdSense Tips
    Grab-some-ultimate-ideas
    How-to-create-a-twinkling-star-background-effect-in-ios
    In-App Purchase Tutorial In Cocos2d-x (C++) Using SDKBOX
    Ios Interview Questions And Answers
    IOS Multiple Choice Questions And Answers
    Objective C
    Online Business
    Python
    Secrets To Effective IPhone App Marketing
    SEO Tips
    Swift Interview Questions
    Swift Tutorials
    Top 10 Articles Objective C
    Top 10 Articles-Objective-C
    Top 10 Popular Movies Ever
    Top 10 Popular Things To Know
    Top 10 Ultimate Issues Xcode
    Top 400 IOS Interview Questions
    Top IOS Sample Projects To Learn From
    Top Secrets To App Marketing
    UICollectionView
    Unity 3D
    Xcode

WELCOME TO HUNTMYIDEAS

Picture
I am Jitendra Gochhayat,an iOS Developer,Designer,blogger,
​from Odisha,India.
I write about ​​​blog tips and,
Make money online Tips,
​Objective C tutorials
SUSCRIBE TO NEWSLETTER

    Subscribe to this blog and receive notifications of new posts by email

Suscribe
Picture
Picture
Picture
Picture
Picture
HuntMyIdeas-2016 Powered By Weebly
Picture
Powered by Create your own unique website with customizable templates.
Powered by
Powered by