본문 바로가기 메뉴 바로가기

THIS IS ELLIE

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

THIS IS ELLIE

검색하기 폼
  • 분류 전체보기 (257)
    • Tech (249)
      • iOS (48)
      • Swift (39)
      • SwiftUI (25)
      • RxSwift (5)
      • Combine (3)
      • Objective-C (11)
      • Video (5)
      • Deep Learning (11)
      • Xcode (4)
      • Algorithm (38)
      • CS (5)
      • Unit Testing (5)
      • WWDC (9)
      • Troubleshooting (27)
      • On-Device (9)
    • Lifestyle (8)
      • ETC (8)
  • 방명록

Collections (1)
스위프트 removeAll과 filter비교

스위프트4.2 버전에서 나왔던 removeAll이랑 기존에 있던 filter는 비슷한 역할을 합니다. removeAll(where: ) method that performs a high-performance, in-place filter for collections.You give it closure condition to run, and it will strip out all objects that match the condition. 즉 removeAll(where: ) 메서드는 컬렉션에 대해서 고성능인 in-place filter를 수행합니다. 클로저에 필요한 조건을 주고 조건에 일치하는 모든 객체들을 제거할 것입니다. 여기서 in-place는 그 자리에서라는 의미로 removeAll을 하게 되면 ..

Tech/Swift 2019. 1. 10. 18:01
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • GitHub
  • LinkedIn
TAG
  • 딥러닝
  • Xcode
  • iOS SwiftUI
  • 책 추천
  • 문자열
  • 애니메이션
  • 스위프트UI
  • SWIFT
  • 스위프트
  • 머신러닝
  • rxswift
  • ARC
  • string
  • swiftUI
  • RX
  • 알고리즘
  • swift5
  • Animation
  • ReactiveX
  • objective-c
  • 독서
  • 책 후기
  • objc
  • foundationmodels
  • Deep learning
  • Algorithm
  • ios
  • 책
  • leetcode
  • wwdc
more
«   2025/10   »
일 월 화 수 목 금 토
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 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바