Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Value Type Reference Type
- Array vs Linked List
- til
- 자료구조
- firebase
- wil
- NavigationSearchBar
- @escaping
- coremotion
- tableview section별 다른 cell적용
- TableView
- class struct
- 프로그래머스
- CoreData
- ReferceCycle
- Carousel CollectionView
- UIKit
- 테이블뷰 나누기
- 면접을 위한 CS전공 지식 노트
- Reference Cycle
- Input Output
- 롤케이크 자르기
- 양궁대회
- CarouselCollectionview
- TableView Section
- retain cycle
- 면접을 위한 CS 전공 지식 노트 Tree
- SWIFT
- UserDefaults
- 강한 참조 순환
Archives
- Today
- Total
목록closure (1)
개발하는 동글 :]
[TIL],[Swift],[Closure정리하기]
1. Closure? Unnamed Closure와 Named Closure를 둘 다 포함 1.1 Named Closure, Unnamed Closure Named Closure : 평소와 같이 선언해 왔던 함수 func doSomething() { print("Somaker") } Unnamed Closure : 이름을 붙이지 않고 사용하는 함수 let closure = { print("Somaker") } 1.2 스위프트는 함수를 일급객체로 취급한다. 일급객체로 취급한다면? 함수를 변수에 할당할 수 있음 함수를 호출할 때 함수를 파라미터로 전달할 수 있음 함수에서 함수를 반환할 수 있음 2. Closure의 형태 {(Parameters) -> (Return Type) in 실행구문 return (Re..
카테고리 없음
2023. 8. 15. 21:28