Merged
Conversation
minneee
approved these changes
Aug 20, 2025
| ENABLE_HARDENED_RUNTIME = YES; | ||
| ENABLE_HARDENED_RUNTIME = NO; | ||
| PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| SWIFT_VERSION = 6.0; |
There was a problem hiding this comment.
튜터님께서 swift5로 진행 권장한다고 하셨는데 6로 진행하시는 이유가 있으신가요?
Peter1119
approved these changes
Aug 21, 2025
Comment on lines
+22
to
+24
| static func calculate(_ operation : (Int, Int) -> String, a: Int, b: Int){ | ||
| #logDebug(operation(a, b)) | ||
| } |
| import Foundation | ||
| import LogMacro | ||
|
|
||
| final actor SumClosure { |
Collaborator
Author
There was a problem hiding this comment.
@Peter1119
actor는 단일 스레드에서만 접근해서 여기에서는 싱글톤 을 만들 필요까지는 없어서 actor를 사용했습니다
Comment on lines
+13
to
+14
| static var num: Int = 3 | ||
| static var num2 : Int = 10 |
Collaborator
Author
There was a problem hiding this comment.
@Peter1119 전역으로 쓸려고 그렇게 지정했는데 생각 해보니 데이터 격릴 생각 하면 static 을 빼는 게 맞겠네요
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ 작업 내용