가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

모의 시험

홈페이지로 설정

이 페이지 북마크

이메일 주소 구독
/ 면접 주제 / Swift
WithoutBook LIVE Mock Interviews Swift Related interview subjects: 9

Interview Questions and Answers

Know the top Swift interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Total 49 questions Interview Questions and Answers

The Best LIVE Mock Interview - You should go through before interview

Know the top Swift interview questions and answers for freshers and experienced candidates to prepare for job interviews.

Interview Questions and Answers

Search a question to view the answer.

Freshers / Beginner level questions & answers

Ques 5

What are property observers in Swift?

Property observers are used to observe and respond to changes in a property's value, providing a way to execute code before or after the value changes.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 6

What is the purpose of the 'static' keyword in Swift?

The 'static' keyword in Swift is used to define type-level properties and methods that are associated with the type itself, rather than an instance of the type.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 9

What is the purpose of the 'self' keyword in Swift?

'self' is used to refer to the instance of the current type, and it's often required to distinguish between instance variables and parameters with the same name.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 11

Explain the difference between 'frame' and 'bounds' in UIKit.

'frame' represents a view's location and size in its superview's coordinate system, while 'bounds' represents a view's location and size in its own coordinate system.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 13

Explain the role of the 'UIApplicationDelegate' in a Swift app.

The 'UIApplicationDelegate' is a protocol in Swift that defines methods for handling app lifecycle events, such as app launch, termination, and background execution.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 14

What is a typealias in Swift, and when would you use it?

A typealias is used to create a named alias for an existing type. It is useful for making code more readable and for simplifying complex type declarations.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments

Intermediate / 1 to 5 years experienced level questions & answers

Ques 15

Explain the difference between a value type and a reference type in Swift.

A value type is copied when it's assigned to a new variable or passed as an argument, while a reference type refers to the same instance of the data.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 18

What is the 'guard' statement in Swift?

The 'guard' statement is used to transfer control out of a scope if certain conditions aren't met, ensuring that a set of requirements is satisfied.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 19

What is the Swift Codable protocol used for?

The Codable protocol is used for encoding and decoding data between Swift types and external data formats, such as JSON or Property Lists.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 21

Explain the difference between synchronous and asynchronous tasks in Swift.

Synchronous tasks block the current thread until they are completed, while asynchronous tasks allow the program to continue executing other tasks without waiting.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 22

What is the role of the 'unowned' keyword in Swift?

The 'unowned' keyword is used in Swift to declare a reference that does not keep a strong hold on the instance it refers to, and it is assumed to always have a value.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 24

How does Swift handle memory management compared to Objective-C?

Swift uses Automatic Reference Counting (ARC) for memory management, eliminating the need for manual memory management in Objective-C.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 25

Explain the difference between a struct and a class in Swift.

Structs are value types, while classes are reference types. Structs are copied when assigned or passed, whereas classes share a reference to the same instance.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 27

How do you create a custom delegate in Swift?

To create a custom delegate in Swift, define a protocol, adopt it in the delegating class, and use optional delegate methods to notify the delegate of events.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 28

Explain the concept of value semantics in Swift.

Value semantics mean that the value of a type is copied when assigned to a new variable or passed as an argument, ensuring that each instance is independent.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 30

Explain the difference between '==', '===', and 'isEqual' in Swift.

'==' is used to check for value equality, '===' is used to check for reference equality, and 'isEqual' is typically used for comparing objects in Objective-C and is bridged to '==' in Swift.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 31

Explain the 'escaping' closure and why it's necessary in Swift.

An 'escaping' closure is a closure that is called after the function it was passed to has returned. It's necessary when the closure is stored or outlives the scope of the function.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 32

Explain the difference between 'defer' and 'finally' in Swift.

'defer' is used to execute a block of code just before the scope is exited, while 'finally' is not used in Swift. Instead, error handling with 'defer' and 'catch' is more idiomatic.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 33

Explain the purpose of 'inout' parameters in Swift functions.

'inout' parameters allow a function to modify the value of the parameter directly, and any changes made inside the function affect the original value outside the function.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 34

What is a closure capture list, and when would you use it?

A closure capture list specifies how variables and constants are captured and held by a closure. It's useful to prevent strong reference cycles, especially when capturing 'self' in closures.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 35

What is the purpose of the 'autoreleasepool' in Swift?

The 'autoreleasepool' is used to manage the lifecycle of objects in memory, especially in performance-critical code or when working with Objective-C APIs.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 36

What is the purpose of the 'NSCoding' protocol in Swift?

The 'NSCoding' protocol is used for encoding and decoding objects, typically for archiving and unarchiving data in iOS and macOS apps.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 37

Explain the concept of key paths in Swift.

Key paths provide a way to reference properties in a type-safe manner. They are used in KVO, functional programming, and the 'Codable' protocol.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 38

What are Swift access control levels, and how are they used?

Swift has five access control levels: 'open', 'public', 'internal', 'fileprivate', and 'private'. They control the visibility of classes, methods, and properties.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments

Experienced / Expert level questions & answers

Ques 40

What is the 'async/await' pattern in Swift?

The 'async/await' pattern is used for asynchronous programming in Swift, allowing you to write asynchronous code in a more sequential manner.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 41

Explain the concept of protocol-oriented programming in Swift.

Protocol-oriented programming is a programming paradigm in Swift that emphasizes the use of protocols to define the structure and behavior of types.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 42

What is the purpose of the '@escaping' keyword in Swift?

The '@escaping' keyword is used in Swift to indicate that a closure passed as a parameter to a function may be stored beyond the lifetime of that function.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 43

What is the purpose of the 'defer' statement in Swift?

The 'defer' statement is used to execute a block of code just before the current scope is exited, regardless of how the scope is exited.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 44

What are the key differences between Swift and Objective-C?

Swift is a modern, safer, and more concise language compared to Objective-C. It introduces optionals, type inference, generics, and is memory-safe with Automatic Reference Counting (ARC).
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 45

How does Swift handle multiple inheritance?

Swift does not support multiple inheritance directly. Instead, it uses protocols to achieve similar functionality through protocol-oriented programming.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 46

Explain the concept of generics in Swift with associated types.

Generics with associated types allow you to define protocols with placeholders for associated types, enabling you to use generic types conforming to the protocol.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 47

How do you use Key-Value Observing (KVO) in Swift?

In Swift, KVO is achieved using the '@objc dynamic' modifier for properties and the 'addObserver(_:forKeyPath:options:context:)' method.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 48

Explain the concept of method swizzling in Swift.

Method swizzling is a technique used to exchange the implementation of methods at runtime. It's often used for extending or modifying the behavior of existing classes.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments
Ques 49

How does Swift handle memory leaks, and what are some common causes?

Swift uses Automatic Reference Counting (ARC) to manage memory, but memory leaks can still occur if strong reference cycles are created. Common causes include strong reference cycles between objects.
복습용 저장

복습용 저장

이 항목을 북마크하거나, 어렵게 표시하거나, 복습 세트에 넣을 수 있습니다.

내 학습 라이브러리 열기
도움이 되었나요?
Add Comment View Comments

Most helpful rated by users:

Copyright © 2026, WithoutBook.