We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
lOS
INTERVIEW
QUESTIONS
Part 2
oe Prithvi Patil
fe prithvi i_iosWhat is Dynamic Dispatch?
Dynamic Dispatch is the process
of selecting which
implementation to call at run time.
It allows for dynamic
polymorphism, where different
objects of related types can
respond to the same method or
property call in different ways.
@ Prithvi Patil
fe prithvi_iosWhat is DispatchWorkltem?
DispatchWorkltem is a class that
represents a task that can be
executed asynchronously on a
dispatch queue.
It encapsulates a block of code &
provides additional functionality for
managing the execution of the task.
@ Prithvi Patil
fe prithvi_iosExplain Associated Type in Swift
Associated types are a way to
define a placeholder type within a
protocol. They allow protocols to
define generic requirements that
can be used by conforming types.
@ Prithvi Patil
fe prithvi_iosWhat is SSL Pinning?
SSL pinning is a security
technique where the client
explicitly trusts a specific
SSL/TLS certificate or public key,
rather than relying solely on
trusted certificate authorities
(CAs). It helps prevent
Man-in-the-Middle attacks.
@ Prithvi Patil
fe prithvi_iosWhat are Hashable Protocols?
Hashable Protocols provides a
hashValue to our object. The
hashValue is used to compare
two instances. To use the
hashValue , we first have to
conform (associate) the type
(struct, class, etc) to Hashable
property.
@ Prithvi Patil
fe prithvi_iosWhat is Autorelease Pool?
An autorelease pool is a
stack-like structure that manages
the release of objects. When an
object is added to an autorelease
pool, it is not released
immediately & added to a list of
objects that will be released when
the pool is drained.
@ Prithvi Patil
fe prithvi_iosWhat is AVPlayer?
AVPlayer is a class in the
AVFoundation framework
provided by Apple. It is part of the
media playback system in iOS,
macOS, and other Apple
platforms. AVPlayer allows you to
play audio and video content in
your applications.
@ Prithvi Patil
fe prithvi_iosWhat is Nested Function?
A Nested function is a function
defined within the body of
another function. Nested
functions are useful for organizing
code and encapsulating
functionality within a larger
function scope.
@ Prithvi Patil
fe prithvi_iosFor more such useful
content follow
Prithvi Patil
Prithvi_ios
ff} Prithvi29
Introduction To Algorithms and Data Structures in Swift 4 Get Ready For Programming Job Interviews. Write Better, Faster Swift Code. (Swift Clinic Book 1) - Karoly Nyisztor