Swift
Export PDF (0)
Flagged
Completed
Export PDF (0)
0%
Briefly explain the key characteristics of Swift.
Junior
Explain Optionals in Swift and why they are used.
Junior
Explain the concept of type inference in Swift.
Junior
Explain the difference between
nil
and
null
in Swift?
Junior
Explain the difference between the
==
operator and the
===
operator in Swift?
Junior
Explain the MVC (Model-View-Controller) design pattern in iOS development.
Junior
Is Swift an object-oriented programming language?
Junior
Name the fundamental data types in Swift.
Junior
What are the benefits of using Swift over Objective-C for iOS development?
Junior
What is a closure in Swift?
Junior
What is a guard statement in Swift, and how is it used?
Junior
What is a tuple in Swift?
Junior
What is a typealias in Swift, and why might you use it?
Junior
What is Swift primarily used for in programming?
Junior
What is the difference between a struct and a class in Swift?
Junior
What is the difference between
if let
from
guard
statements?
Junior
What is the difference between
let
and
var
in Swift?
Junior
What is the difference between
let
,
var
, and
lazy var
in Swift?
Junior
Describe optional chaining in Swift.
Mid
Discuss opaque return types in Swift.
Mid
Discuss phantom types in Swift.
Mid
Explain how error handling is done in Swift.
Mid
Explain how to use custom operators in Swift.
Mid
Explain how you can handle background tasks and asynchronous operations in iOS using Grand Central Dispatch (GCD).
Mid
Explain
init()
in Swift?
Mid
Explain the concept of App Transport Security (ATS) in iOS development.
Mid
Explain the concept of
Codable
in Swift.
Mid
Explain the concept of generics in Swift.
Mid
Explain the difference between synchronous and asynchronous tasks in Swift.
Mid
Explain the difference between value types and reference types in Swift.
Mid
Explain the purpose of Swift's
keyPath
type
Mid
Explain the Singleton design pattern in Swift.
Mid
Explain what
??
does in Swift?
Mid
Explain what
defer
does in Swift?
Mid
Explain what
NotificationCenter
is in Swift.
Mid
How do you handle asynchronous operations in Swift?
Mid
Name the access control keywords in Swift.
Mid
What are the main differences between classes and structures in Swift?
Mid
What is a
didSet
property observer in Swift, and when would you use it?
Mid
What is a memory leak in iOS development, and how can it be prevented?
Mid
What is a protocol in Swift?
Mid
What is a Swift module?
Mid
What is a trailing closure in Swift?
Mid
What is Key-Value Observing (KVO) in iOS development, and how does it work?
Mid
What is PLIST in iOS?
Mid
What is the difference between a delegate and a closure (block) in iOS development?
Mid
What is the difference between a weak reference and an unowned reference in Swift, and when would you use each?
Mid
What is the difference between
async/await
and
completion handlers
in Swift for handling asynchronous operations?
Mid
What is the purpose of a DispatchQueue in Swift, and how does it work?
Mid
What is the purpose of the
init()
method in Swift, and what is designated vs. convenience initialization?
Mid
Dicsuss copy-on-write in Swift.
Senior
Explain ARC (Automatic Reference Counting) in Swift.
Senior
Explain the concept of Codable vs. NSCoding in Swift, and when to use each for data serialization.
Senior
Explain the concept of dependency injection in Swift.
Senior
Explain the concept of function currying in Swift.
Senior
Explain the concept of Key-Value Coding (KVC) and Key-Value Observing (KVO) in Swift and when you might use them.
Senior
Explain the concept of method dispatch in Swift, including static dispatch and dynamic dispatch.
Senior
Explain the concept of protocol-oriented programming (POP) in Swift.
Senior
Explain the concept of reference counting and how it relates to memory management in Swift.
Senior
Explain the concept of retain cycles and how to avoid them in Swift when working with closures and reference types.
Senior
Explain the concept of the main thread (UI thread) in iOS development and why it's important to perform UI updates on it.
Senior
How does Swift handle memory management for value and reference types?
Senior
How does Swift handle memory management?
Senior
How to achieve thread safety in Swift?
Senior
What is Core Data in Swift?
Senior
What is the purpose of Swift's mutating keyword in methods?
Senior
What is the purpose of the
autoreleasepool
in Swift, and when might you use it?
Senior