i
Cropsly
Filter interviews by
Find sum of two number from the array
Struct is a value type and passed by value, while class is a reference type and passed by reference.
Structs are value types and are copied when passed around, while classes are reference types and are passed by reference.
Structs are typically used for small, simple data structures, while classes are used for more complex objects.
Structs do not support inheritance, while classes do.
Example: struct Point { var x: Int, va...
A tuple is a data structure that contains a sequence of elements, while an optional is a type that represents either a wrapped value or nil.
Tuples are used to group multiple values together in a single compound value.
Optionals are used in Swift to handle the absence of a value.
Tuples can contain values of different types, while optionals can only contain one value or nil.
Example of a tuple: (1, 'apple', true)
Example of
I am excited about the opportunity to work with a talented team and contribute to innovative projects.
I am passionate about iOS development and eager to work on challenging projects
I believe in the company's mission and values, and I see potential for growth and learning opportunities
I have researched the company and I am impressed by its reputation and success in the industry
Top trending discussions
I applied via Approached by Company and was interviewed in Jun 2024. There were 2 interview rounds.
I am an experienced IOS Developer with a passion for creating innovative and user-friendly mobile applications.
Over 5 years of experience in IOS app development
Proficient in Swift and Objective-C programming languages
Strong understanding of mobile UI/UX design principles
Familiar with RESTful APIs and third-party libraries
Developed and launched multiple successful IOS apps, such as XYZ and ABC
let is used for constants that do not change, var is used for variables that can change
let is used for constants that do not change
var is used for variables that can change
let variables cannot be reassigned once they are set
var variables can be reassigned multiple times
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 Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.
Machine test with collection view and api using url session
Encryption and decryption in Swift involves using cryptographic algorithms to encode and decode data securely.
Use common encryption algorithms like AES or RSA for encryption.
Implement encryption using libraries like CommonCrypto or CryptoSwift.
Store encryption keys securely and use secure protocols for data transmission.
Example: Encrypting a string using AES encryption in Swift.
Keychain access in Swift allows secure storage of sensitive information like passwords, tokens, etc.
Use Keychain Services API to securely store and retrieve sensitive data.
Keychain items are stored securely in the device's keychain and are encrypted.
Access keychain items using unique identifiers called keys.
Use Keychain Swift library for easier implementation.
Classes are reference types, while structs are value types in Swift.
Classes are reference types, meaning they point to the same instance in memory when assigned to a new variable.
Structs are value types, meaning they create a new copy when assigned to a new variable.
Use classes for complex data structures or when you need inheritance, use structs for simple data types or when you want value semantics.
Example: class Per...
Grand Central Dispatch (GCD) is a technology in Swift for managing concurrent operations.
GCD allows developers to perform tasks concurrently without having to manage threads manually.
It provides a high-level API for managing tasks and executing them on different queues.
Developers can use GCD to perform tasks in the background, update the UI on the main thread, and more.
Easy aptitude english and logical reasoning.
Swift is a powerful and modern programming language for iOS development, but it has its own set of advantages and disadvantages.
Advantages: faster performance, safer code with optionals, easier to read and write code, interoperability with Objective-C
Disadvantages: steep learning curve for beginners, limited community support compared to other languages like Java or Python
ARC (Automatic Reference Counting) in Swift is a memory management system used to automatically manage memory allocation and deallocation.
ARC keeps track of how many references there are to an object and automatically deallocates it when there are no more references.
Use strong reference cycles can lead to memory leaks, so use weak or unowned references to break the cycle.
ARC is the default memory management system in S...
MVVM (Model-View-ViewModel) is an architectural design pattern commonly used in iOS development to separate concerns and improve code maintainability.
MVVM separates the user interface (View) from the business logic (ViewModel) and data (Model).
ViewModel acts as an intermediary between the View and the Model, handling user interactions and updating the data.
Swift provides tools like Combine framework for reactive progra...
diff is used to compare two collections and return the differences, while guard is used for early exit in a function if a condition is not met.
diff is a method used in Swift to compare two collections and return the differences.
guard is a keyword used in Swift to provide an early exit from a function if a condition is not met.
Example: let array1 = [1, 2, 3, 4], array2 = [3, 4, 5, 6]; let result = array1.diff(array2) //...
GCD stands for Grand Central Dispatch, a technology used in iOS for managing concurrent operations. Multithreading is the ability of a CPU to execute multiple threads concurrently.
GCD is used for managing tasks asynchronously and efficiently utilizing system resources.
Multithreading allows multiple tasks to run concurrently, improving performance and responsiveness of an application.
Example: Using GCD to download image...
Software Engineer
7
salaries
| ₹4.2 L/yr - ₹8.4 L/yr |
QA Engineer
4
salaries
| ₹3.8 L/yr - ₹4.5 L/yr |
Software Developer
3
salaries
| ₹4 L/yr - ₹7 L/yr |
Business Development Executive
3
salaries
| ₹3.3 L/yr - ₹4 L/yr |
Manual Tester
3
salaries
| ₹3 L/yr - ₹4 L/yr |
Agrostar
Ninjacart
BIGHAAT AGRO
Crofarm