Filter interviews by
I applied via LinkedIn and was interviewed in Mar 2022. There was 1 interview round.
I applied via LinkedIn and was interviewed in Mar 2022. There was 1 interview round.
I applied via Company Website and was interviewed in Jul 2020. There was 1 interview round.
I applied via Naukri.com and was interviewed in Sep 2020. There were 4 interview rounds.
Classes and structures are both used to define custom data types, but they have some key differences.
Classes are reference types, while structures are value types.
Classes support inheritance, while structures do not.
Classes have deinitializers, while structures do not.
Classes have reference counting for memory management, while structures do not.
Classes can have optional property types, while structures cannot.
Retain cycle is a memory management issue where objects reference each other and cannot be released. It can be avoided by using weak or unowned references.
Retain cycle occurs when two or more objects hold strong references to each other.
To avoid retain cycle, use weak or unowned references instead of strong references.
Weak references do not increase the reference count of an object and automatically become nil when the...
Opinion binding is a legal doctrine that requires judges to follow the decisions of higher courts in similar cases.
Opinion binding is also known as stare decisis.
It helps to ensure consistency and predictability in the legal system.
For example, if a higher court has already ruled that a certain law is unconstitutional, lower courts must follow that ruling in similar cases.
Opinion binding can be controversial, as it can...
GCD and Operation Queues are both used for concurrent programming in iOS, but differ in their approach.
GCD is a C-based API that uses a thread pool model for concurrency.
Operation Queues are built on top of GCD and provide a higher-level abstraction for concurrency.
GCD is best for simple, lightweight tasks, while Operation Queues are better for more complex tasks with dependencies.
GCD uses blocks for task execution, wh...
The life cycle of iOS applications refers to the stages an app goes through from launch to termination.
The app is launched by the user or system
The app enters the foreground and becomes active
The app can be sent to the background or suspended
The app can be terminated by the user or system
The app can be resumed from the background or suspended state
The app can receive memory warnings and handle them appropriately
The UIViewController life cycle consists of several stages that occur when the view controller is loaded and unloaded.
viewDidLoad() - called when the view controller's view is loaded into memory
viewWillAppear() - called just before the view appears on the screen
viewDidAppear() - called just after the view appears on the screen
viewWillDisappear() - called just before the view disappears from the screen
viewDidDisappear()...
I applied via Approached by Company and was interviewed in Jun 2024. There were 2 interview rounds.
I applied via LinkedIn and was interviewed before Feb 2023. There were 2 interview rounds.
Protocol Oriented Programming is a programming paradigm in Swift that focuses on defining protocols to define behavior.
POP is a way of designing code by defining protocols that describe a set of behaviors.
It encourages composition over inheritance, allowing for more flexible and reusable code.
By using protocols, you can define a blueprint of methods and properties that a type must implement.
Concurrency is the ability of a system to execute multiple tasks simultaneously.
Concurrency allows multiple tasks to run at the same time, improving performance and responsiveness.
It can be achieved through techniques like multithreading and asynchronous programming.
Concurrency is important in iOS development for tasks like networking, data processing, and UI updates.
Types of memory management in iOS include Automatic Reference Counting (ARC) and Manual Reference Counting (MRC).
Automatic Reference Counting (ARC) - manages memory automatically by keeping track of object references.
Manual Reference Counting (MRC) - requires developers to manually manage memory by retaining and releasing objects.
ARC is the default memory management system in iOS, while MRC is used in older codebases o...
Fetch data from API and showcase it onto a table view in swift
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
Weak & Unowned references are used in ARC to prevent retain cycles in Swift programming.
Weak references do not increase the retain count of an object, and automatically become nil when the object is deallocated.
Unowned references do not keep a strong reference to the object, and can become a dangling pointer if the object is deallocated.
ARC (Automatic Reference Counting) is a memory management system used in Swift to a
Autoclosure is a feature in Swift that automatically wraps an expression in a closure.
Autoclosure is used to delay evaluation of an expression until it is actually needed.
It is commonly used with functions that take closures as arguments, allowing the caller to pass in a regular value instead of a closure.
Autoclosures are created by adding @autoclosure attribute before the closure's parameter type.
Optional binding in Swift helps to safely unwrap optionals and check for nil values.
Use if let or guard let to safely unwrap optionals and bind the value to a new constant or variable.
Check for nil values before using the unwrapped value to avoid runtime errors.
Example: if let name = optionalName { print(name) }
Example: guard let age = optionalAge else { return }
Access controls/modifiers determine the visibility and accessibility of classes, methods, and properties in object-oriented programming.
public access control allows a class, method, or property to be accessed from anywhere in the code
open access control allows a class to be subclassed outside of the module where it is defined
public is commonly used in Swift for most cases, while open is used when you want to allow subc
Protocols define a blueprint of methods, properties, and other requirements that a class or struct must adopt. Closures are self-contained blocks of functionality that can be passed around and used in your code.
Protocols define a set of methods, properties, and other requirements that a class or struct must implement.
Closures are self-contained blocks of functionality that can capture and store references to any consta...
I use GIT for version control and manage conflicts by resolving them through communication and collaboration.
Regularly commit changes to keep track of progress
Pull latest changes before making any updates to avoid conflicts
Communicate with team members to resolve conflicts efficiently
Use tools like Git merge or Git rebase to resolve conflicts
Document resolution process for future reference
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 2 interview rounds.
based on 1 review
Rating in categories
TCS
Accenture
Cognizant
Infosys