{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
Test: Source Code of First iPhone Application Explained

5. TRUE or FALSE: In Objective-C, a class can have either a base class or a protocol; but not both.



Results
Congratulations! Correct Answer.
You Answered: None. If you took the test, your answer will show up here.
Correct Answer: FALSE
Explanation
A class in Objective-C can have only one base class but can implement multiple protocols.

@interface FirstAppAppDelegate : NSObject

In the above example, the FirstAppAppDelegate class is derived from NSObject (a class) and implements UIApplicationDelegate (a protocol).
Take the Test
Take the complete test on this topic. You will be able to review answers to questions and get a test score.

Take the Test


Question 5 of 5


Test is Based on this Article
icon-xcode-class-diagram.jpg
This article explains the code of a simple first iPhone application. The class diagram and overall structure of the code is discussed here. Application Delegate and View Controller classes are also introduced.
This is a test on the article that explains the code of a simple first iPhone application. The class diagram and overall structure of the code is discussed in the article. Application Delegate and View Controller classes are also introduced.

More Articles With Similar Tags
This is a test on the article that gives a quick overview of the development tools installed with iPhone SDK. These tools include Xcode, Interface Builder, Instruments, and iPhone Simulator. In the article, Dash Code, which is used to build web applications for iPhone is also introduced. GDB, the open source debugger, is discussed there as well.
icon-xcode-groups-files.jpg
This article discusses various parts of the Project window inside an Xcode project. It also gives a quick overview of the Groups and Files navigation window. The Run menu, the default toolbar, and the built-in source editor are also discussed.
This is a test on the article that discusses various parts of the Project window inside an Xcode project. It also gives a quick overview of the Groups and Files navigation window. The Run menu, the default toolbar, and the built-in source editor are also discussed.
icon-xcode-interface-builder-connection-panel.jpg
This article explains the user interface files of an iPhone application. Explains the contents of the .xib files, which store the user interface. Goes through the various windows (Document Window, User Interface Window, Inspector Window, Library Window, Connections Panel) of the Interface Builder. The example used is a simple navigation-based iPhone application.
This is a test on the article that explains the user interface files of an iPhone application. It explains the contents of the .xib files, which store the user interface. Goes through the various windows (Document Window, User Interface Window, Inspector Window, Library Window, Connections Panel) of the Interface Builder. The example used is a simple navigation-based iPhone application.
                                                                                                                                                                                                             
About  Contact  Privacy Policy  Site Map