51. Define API?
API stands for Application Programming Interface. It is a programmatic way to be able to access functions and data of other apps. (Someone write the entire code and we can use it in our app Ising API)
Ex: use google signing in our app using API Key
52. library and framework?
Library is collection of codes, some functions or documents are pack together and used when you need.
Framework in collection of libraries
Difference:
“Inversion of Control". When you call a method from a library, you are in control. But with a framework, the control is inverted: the framework calls you. A library is just a collection of class definitions.
53. Define JSON?
JSON is the most commonly used format to send and receive data from the web services. The data is in the form of key-value pairs.
54. Define pagination?
Pagination is a common technique for many public APIs. Instead of sending you all the data they have, they send a limited amount; when you need more, you make another request. This saves server resources and provides a faster response.
55. Define NSCache?
If the system does encounter memory pressure NSCache will automatically start to remove items without you knowing about it, which means you won't get a memory warning unless even more RAM needs to be
cleared. It will also remove items intelligently, trying to keep as much cached as possible.
56. Public and Private?
public entities were accessible from any file that imports the module (a framework or library)
private entities were only accessible from within the source file where they were defined
57. Define Debugging?
Debugging is the routine process of locating and removing computer program bugs, errors or abnormalities, which is methodically handled by software programmers via debugging tools.
58. Define Breakpoint?
Stop the code from keeping executed further, on the line stay and see how the line done so-far, we can check all the values are correct.
59. Define SQLite?
SQLite is a software library that provides a relational database management system. The lite in SQLite means light weight in terms of setup, database administration, and required resource. SQLite has the following noticeable features: self-contained, serverless, zero-configuration, transactional.
60. What is initialization in Swift?
Initialization is the process of preparing an instance of a class, structure, or enumeration for use. This process involves setting an initial value for each stored property on that instance and performing any other setup or initialization that is required before the new instance is ready for use.