Question:- What are the characteristics of iOS?
Answer:- Criteria • Type of operating system • OS fragmentation • Security Result • Apple proprietary based on Macintosh OS X • Tightly integrated with Apple devices • Heightened security guaranteed
Question:- Which JSON framework is supported by iOS (iPhone OS)?
Answer:- • SBJson framework is supported by iOS. It is a JSON parser and generator for Objective-C (Objective-C is the primary programming language we use when writing software for OS X and iOS. It is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime). • SBJson provides flexible APIs and additional control that makes JSON handling easy.
Question:- What is an unnamed category?
Answer:- An unnamed category has fallen out of favor now that @protocol has been extended to support the @optional methods. Class Extensions @interface Foo() is designed to allow us to declare additional private API— system programming interface (SPI)—that is used to implement the class innards. This typically appears at the top of the .m file. Any methods/properties declared in the class extension must be implemented in the @implementation, just like the methods/properties found in the public @interface. Class extensions can also be used to re-declare a publicly read-only @property as read-write prior to doing @synthesize on the accessors.
Question:- Name the framework that is used to construct the application’s user interface for iOS.
Answer:- • The UIKit framework is used to develop the application’s user interface. The UIKit framework provides event handling, drawing model, windows, views, and controls, specifically designed for a touch-screen interface. • The UIKit framework (UIKit.framework) provides the crucial infrastructure needed to construct and manage iOS apps. This framework provides: • Window and view architecture to manage an app’s user interface • Event handling infrastructure to respond to the user input • An app model to drive the main run loop and interact with the system In addition to the core app behaviors, UIKit provides support for the following features: • A view controller model to encapsulate the contents of the user interface • Support for handling touch and motion-based events • Support for a document model that includes iCloud integration • Graphics and windowing support, including support for external displays • Support for managing the app’s foreground and background execution • Printing support • Support for customizing the appearance of standard UIKit controls • Support for text and web content • Cut, copy, and paste support • Support for animating user-interface content • Integration with other apps on the system through URL schemes and framework interfaces • Accessibility support for disabled users • Support for the Apple Push Notification service • Local notification scheduling and delivery • PDF creation • Support for using custom input views that behave like the system keyboard • Support for creating custom text views that interact with the system keyboard • Support for sharing content through Email, Twitter, Facebook, and other services
Question:- Which is the application thread from where UIKit classes should be used?
Answer:- Unless it’s stated, use UIKit classes only from your application’s main thread or main dispatch queue. This restriction applies in particular to classes derived from UIResponder or that require modifying the user interface of your app in some way.
Question:- Unless it’s stated, use UIKit classes only from your application’s main thread or main dispatch queue. This restriction applies in particular to classes derived from UIResponder or that require modifying the user interface of your app in some way.
Answer:- Synchronous can also be defined as In order. When you perform the synchronous operation, all that follows must wait for the operation to complete before proceeding. In contrast, “asynchronous” can also be defined as “out of order.” When you do something asynchronously, you can run the following code right away, and the asynchronous process will happen someday. It could be run on a separate thread from the rest of the code. It could easily be rescheduled on the same thread at a later date and you can notify you when it is done.
Question:- How can you respond to state transitions on your app?
Answer:- State transitions can be responded to state changes in an appropriate way by calling corresponding methods on the app’s delegate object. For example: • applicationDidBecomeActive( ) method: To prepare to run as the foreground app • applicationDidEnterBackground( ) method: To execute some code when the app is running in the background that may be suspended at any time • applicationWillEnterForeground( ) method: To execute some code when the app is moving out of the background • applicationWillTerminate( ) method: Called when the app is being terminated
Question:- What is Operator Overloading?
Answer:- The process of adding new operators and changing existing ones to do various things is known as operator overloading. +, *, and / symbols are known as operators.
Question:- What is TVMLKit?
Answer:- TVMLKit serves as a bridge between TVML, JavaScript, and your native tvOS software. You can test TVMLKit JS and TVML files from inside your tvOS app using the TVMLKit framework. The JavaScript environment can be used to build TVML objects, styles, views, and view controllers.
Question:- What are UI Elements in iOS?
Answer:- The visual elements that we can see in our applications are known as UI elements. Some of these components, such as buttons and text fields, respond to user interactions, while others, such as images and labels, provide information.
Question:- What is Swift and what is Objective-C?
Answer:- Swift is a modern programming language created by Apple for iOS, OS X, watchOS, and tvOS apps that combines the best of C and Objective-C, but without the C compatibility issues. Swift follows secure programming patterns while also incorporating modern features to make programming simpler, more versatile, and enjoyable. Swift is welcoming to novice programmers and feels familiar with Objective-C developers. The primary programming language for writing applications for OS X and iOS is Objective-C. It’s an object-oriented programming language with a dynamic runtime that’s a superset of the C programming language. Objective-C takes C’s syntax, primitive types, and flow control statements and adds class and process definition syntax.
Question:- What is an NSError in Swift?
Answer:- The NSError class is a Cocoa class. The knowledge about an error condition is encapsulated in an extendable, object-oriented manner by an NSError object. It includes a predefined error domain, a domain-specific error code, and a user details dictionary with application-specific data.
Question:- What are the features added in iOS 9?
Answer:- The following features are added in iOS 9: • Intelligent search: It is an excellent mechanism to learn user habits and act on that information—open apps before we need them, make recommendations on places we might like, and guide us through our daily lives to make sure we’re where we need to be at the right time. • Siri: It is a personal assistant to the users that is able to create contextual reminders and search through photos and videos in new ways. Swiping right from the home screen brings up a new screen that houses ‘Siri Suggestions,’ putting favorite contacts and apps right on our fingertips, along with nearby restaurant and location information and important news. • Deeper search capabilities: It can show results such as sports scores, videos, and content from third-party apps, and we can even do simple conversions and calculations using the search tools on our iPhone or iPad. • Performance improvements: The following built-in apps have been improved: o Notes including new checklists and sketching features o Maps now offering transit directions o Mail allowing for file attachments o New ‘News’ app that learns our interests and delivers relevant content we might like to read o Apple Pay being improved with the addition of store credit cards and loyalty cards o ‘Passbook’ being renamed to ‘Wallet’ in iOS 9 • San Francisco font • Wireless CarPlay support • Optional iCloud Drive app: It is a built-in two-factor authentication system with optional longer passwords for better security.
Question:- What are the features added in iOS 9?
Answer:- The following features are added in iOS 9: • Intelligent search: It is an excellent mechanism to learn user habits and act on that information—open apps before we need them, make recommendations on places we might like, and guide us through our daily lives to make sure we’re where we need to be at the right time. • Siri: It is a personal assistant to the users that is able to create contextual reminders and search through photos and videos in new ways. Swiping right from the home screen brings up a new screen that houses ‘Siri Suggestions,’ putting favorite contacts and apps right on our fingertips, along with nearby restaurant and location information and important news. • Deeper search capabilities: It can show results such as sports scores, videos, and content from third-party apps, and we can even do simple conversions and calculations using the search tools on our iPhone or iPad. • Performance improvements: The following built-in apps have been improved: o Notes including new checklists and sketching features o Maps now offering transit directions o Mail allowing for file attachments o New ‘News’ app that learns our interests and delivers relevant content we might like to read o Apple Pay being improved with the addition of store credit cards and loyalty cards o ‘Passbook’ being renamed to ‘Wallet’ in iOS 9 • San Francisco font • Wireless CarPlay support • Optional iCloud Drive app: It is a built-in two-factor authentication system with optional longer passwords for better security.
