Filter interviews by
I applied via Approached by Company and was interviewed before Nov 2023. There was 1 interview round.
Delegates and notification center are key components in iOS development for communication between objects and broadcasting events.
Delegates are used for one-to-one communication between objects, allowing one object to act on behalf of another.
Notification center is used for broadcasting events to multiple objects, allowing for loosely coupled communication.
Delegates are commonly used in UITableView and UICollectionView...
Weak references do not keep a strong hold on an object, allowing it to be deallocated if no strong references exist.
Weak references are used to avoid retain cycles in iOS development.
Strong references keep a strong hold on an object, preventing it from being deallocated as long as the strong reference exists.
Weak references are declared as 'weak var' or 'weak let', while strong references are the default in Swift.
Examp...
I applied via Internshala and was interviewed before Jun 2023. There was 1 interview round.
Structs are value types, classes are reference types in Swift.
Structs are passed by value, classes are passed by reference.
Structs are copied when assigned to a new variable, classes are not.
Structs do not support inheritance, classes do.
I applied via Referral and was interviewed before Apr 2023. There was 1 interview round.
Top trending discussions
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.
I applied via Recruitment Consulltant and was interviewed before Feb 2021. There was 1 interview round.
Optional is a type in Swift that can hold a value or be nil. Struct and class are both used to define custom data types.
Optional is denoted by a question mark (?) and is used to handle nil values.
Structs are value types and are passed by value, while classes are reference types and are passed by reference.
Structs have a default memberwise initializer, while classes do not.
Classes can inherit from other classes, while s...
I applied via Company Website
I applied via Recruitment Consulltant and was interviewed in Mar 2024. There was 1 interview round.
A closure is a self-contained block of code that can be passed around and used in your code. An escaping closure is a closure that is called after the function it was passed to has returned.
Closure is a block of code that can be passed around and used in your code.
Escaping closure is called after the function it was passed to has returned.
Example: Using a completion handler in a network request to handle the response a
Multi threading is the ability of a CPU to execute multiple threads concurrently, allowing for improved performance and responsiveness in applications.
Allows for parallel execution of tasks, improving performance
Enables applications to remain responsive while performing intensive tasks
Can lead to synchronization issues if not managed properly
I applied via Approached by Company and was interviewed in Feb 2024. There was 1 interview round.
Find second greatest number from an array of duplicate items.
Struct is value type while Class is reference type in Swift. Structs are passed by value while Classes are passed by reference.
Structs are ideal for small data types like coordinates, colors, etc.
Classes are ideal for larger data types like view controllers, network managers, etc.
Structs are immutable by default while Classes are mutable.
Structs cannot inherit from other types while Classes can.
Structs are stack alloca
based on 3 interviews
Interview experience
TCS
Accenture
Wipro
Cognizant