Hie HQ
Touchstone Enterprises Interview Questions and Answers
Q1. When to use UITableView and UICollectionView?
UITableView for displaying data in a list format, UICollectionView for displaying data in a grid or custom layout.
Use UITableView for displaying data in a list format, such as a contact list or a news feed.
Use UICollectionView for displaying data in a grid or custom layout, such as a photo gallery or a calendar.
UITableView is simpler to implement and more efficient for displaying large amounts of data.
UICollectionView offers more flexibility in terms of layout and customizati...read more
Q2. Architecture I have worked on earlier and explain each
I have worked on MVVM architecture in my previous project.
MVVM stands for Model-View-ViewModel.
It separates the UI logic from the business logic.
The View interacts with the ViewModel, which in turn interacts with the Model.
I used RxSwift for binding the ViewModel and View in my previous project.
Q3. What is use of lazy property?
Lazy property delays the initialization of a property until it is accessed for the first time.
Lazy properties are useful when the initialization of a property is expensive and not always needed.
They can improve performance and memory usage by delaying the initialization until it is actually needed.
They are declared using the 'lazy' keyword and must be variables, not constants.
Example: lazy var myProperty = expensiveInitialization()
Lazy properties are thread-safe by default in...read more
Q4. Difference between bounds and frame
Bounds refer to the content area of a view, while frame refers to the position and size of a view within its superview.
Bounds are relative to the view's own coordinate system, while frame is relative to its superview's coordinate system.
Changing the bounds of a view affects the position and size of its subviews, while changing the frame affects the position and size of the view itself.
For example, if a view has a frame of (10, 10, 100, 100) and a bounds of (0, 0, 80, 80), the...read more
Q5. Different types of access control
Access control refers to the process of restricting or granting access to resources based on user identity and permissions.
Role-based access control (RBAC) - access is granted based on the user's role within an organization
Attribute-based access control (ABAC) - access is granted based on specific attributes of the user, such as job title or department
Discretionary access control (DAC) - access is granted at the discretion of the resource owner
Mandatory access control (MAC) -...read more
Q6. What is RAG actually?
RAG stands for Red, Amber, Green. It is a color-coded system used to indicate the status of tasks or projects.
RAG is commonly used in project management to quickly communicate the status of tasks or projects.
Red typically indicates that a task or project is behind schedule or facing significant issues.
Amber signifies that there are some concerns or risks that need to be addressed.
Green means that a task or project is on track and progressing as planned.
For example, a project ...read more
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month