i
Wipro
Filter interviews by
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.
I applied via Company Website and was interviewed in Jul 2020. There was 1 interview round.
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...
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()...
Objective-C is the older language used for iOS development, while Swift is the newer, more modern language.
Objective-C is a superset of C with Smalltalk-style messaging syntax.
Swift is more concise and easier to read than Objective-C.
Swift is safer due to its optionals and type interference features.
Objective-C has been around longer and has a larger codebase, but Swift is becoming more popular.
Many developers prefer S...
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.
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 Naukri.com and was interviewed in Aug 2021. There was 1 interview round.
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
based on 2 interviews
Interview experience
based on 5 reviews
Rating in categories
Project Engineer
32.7k
salaries
| ₹1.8 L/yr - ₹8.3 L/yr |
Senior Software Engineer
22.3k
salaries
| ₹5.8 L/yr - ₹22.5 L/yr |
Senior Associate
21.5k
salaries
| ₹0.9 L/yr - ₹5.5 L/yr |
Senior Project Engineer
20.2k
salaries
| ₹5 L/yr - ₹19.5 L/yr |
Technical Lead
19.1k
salaries
| ₹8.5 L/yr - ₹37 L/yr |
TCS
Infosys
Tesla
Amazon