-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closure에 대하여 설명하시오. #32
Labels
Swift
Swift CS 개념 공부
Comments
Closure에 대하여 설명하시오.
Closure의 표현 방식{ (인자들) -> 반환타입 in
로직 구현
} Closure의 종류
Closure와 함수와의 관계
|
클로저(Closure)란코드를 하나의 블럭으로 모아놓은 것을 의미한다.
func namedClosure(someValue: SomeType) -> ReturnType {
...
}
var unnamedClosure: (SomeType) -> ReturnType = { someValue -> String in
...
return returnValue
} 클로저의 타입
📝 참고 사이트
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: