
1- What is cocoa and cocoa Touch?
Ans- Cocoa:-
1- Cocoa used for developing an application for MAC OSx.
2- It includes foundation and Appkit frameworks.
3- All the classes used in Cocoa have NS prefix Ex- NSTextField.
Cocoa Touch:-
1- Cocoa Touch used for developing an application for iOS.
2- It includes foundation and UIKit frameworks.
3- All the classes used in Cocoa Touch have UI prefix Ex- UITextField.
2- Which JSON Framework used in IOS?
1- SBJson framework used in iOS.
2- SBJson framework is a JSON parser and generator in objective C.
3- It provides flexible API and additional control, to make handle JSON easier.
3- What is App Id and Bundle Id. Explain their uses?
Ans:- Please click over this text to read the answer.
4- How We achieve concurrency in iOS?
Ans- Three different ways to achieve concurrency in iOS.
1- Thred
2- Dispatch queue
3- Operation queue
5- Explain what the iOS Application states?
Ans- Please click over this text to read this Answer.
6- Explain When the app is not running state?
Ans- Application is said to be "not running state" in fallowing cases-
1- When the app is not running.
2- When it is terminated by the system while running.
7- Explain When the app is in active state?
Ans- The application is said to be in active state When the app is in foreground and is receiving events.
8- Which are the application state transition when it is launched?
Ans- An app is said to be not running state before it is launched.
After launching the app its transitions through inactive state, it moves to active state and background state when it is launched.
9- What is the app state where its way to being suspends?
Ans- An App enters in backgroud on its way to being suspends.
10- What is the class heirercy of UIButton?
Ans :- NSObject -> UIResponder -> UIView -> UIControl -> UIButton
Comments
Post a Comment