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 |
Tags
- CoreData
- Swift
- 다익스트라 이해
- codability
- persistentStoreCoordinator
- Associated Value
- iOS Static Library 사용하는방법
- expensive operation
- 트레일링 클로저
- Swift closure
- iOS Static Library
- Persistent store Coordinator
- dateFormatter
- Raw value and Associated value
- Swift LinkedList
- leetcode #01
- Clean swift
- CoreData Stack
- NSSortDescriptor
- 1009번
- LightWeight Migration
- 스위프트 클로저
- NSManagedObject SubClass
- Java
- 2022 부스트캠프
- Swift 고차함수
- NSPredicates
- CoreData Concurrency
- 일급 객체
- CoreData Filter
Archives
- Today
- Total
목록Swift 고차함수 (1)
하루를살자
Swift 고차함수
일단 고차함수을 이해하기 위해선 Swift 의 일급객체 인 일급함수의 특성과 클로저 사용법을 먼저 이해 해야지 고차함수 를 쉽게 받아드릴수 있기에, 이둘의 계념과 어떻게 사용되는지 공부를 해야합니다. 고차함수를 사용하게 되면 - 스위프트 를 다루는 기술이 향상된다. - 코드의 가독성을 높혀준다. - 더욱 함수형 프로그래밍 언어 답게 된다. 고차 함수란? func addition (num1:Int, num2:Int) -> Int { return num1 + num2 } func subtraction (num1:Int, num2:Int) -> Int { return num1 - num2 } func calculator (operation: (_ num1:Int, _ num2:Int) -> Int, num1:..
Swift
2022. 2. 5. 23:23