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

BeanKhaners

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

BeanKhaners

검색하기 폼
  • 분류 전체보기 (99)
    • iOS 개발 (80)
      • iOS (43)
      • ObjectiveC (3)
      • Swift (31)
      • 꺼내먹어요 (3)
      • SwiftUI (0)
    • 책정리 (0)
      • Effective .. (0)
      • 읽기 좋은 코드가 .. (0)
      • Effective .. (0)
      • 자바 병렬 프로그래.. (0)
      • iOS Perfor.. (0)
      • iOS 프로그래밍 (0)
      • FRP 프로그래밍 (0)
      • 맥 OSX 와 아이.. (0)
      • 기타 (0)
    • Server 개발 (0)
      • 기본개념 (0)
      • AWS (0)
      • Node (0)
      • DB (0)
    • 기타 개발 (19)
      • Network (5)
      • Ubuntu (2)
      • 보안 (1)
      • 동영상 (2)
      • Python (5)
      • Web (4)
    • 공부해야할리스트 (0)
    • 기타 (0)
      • 벼랑영어 (0)
      • 한일영문법 (0)
      • 역사 (0)
  • 방명록

swift dispatchGroup (1)
[Swift 3] DispatchGroup 사용하기

출처http://seorenn.blogspot.kr/2015/08/swift-dispatch-group.html DispatchGroup 을 사용하는 이유dispatch_group_async 를 통해 이미 group 안에 들어간 job 들이 끝나기를 기다렸다가 모두 완료되면 호출되기를 기대할 때 사용한다. DispatchGroup 사용하기기본적으로 wait 의 경우 synchronous 하게 동작하고,notify 의 경우 asynchronous 하게 동작한다. 1. enter, leave 를 사용하는 방법wait (synchronous) 사용할 때 notify (asynchronous) 사용할 때 2. enter, leave 를 사용하지 않는 방법 enter, leave 보다는 queue.async 의 ..

iOS 개발/Swift 2017. 6. 9. 21:31
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • NSManagedObject
  • UIView
  • CGImage
  • HTTP
  • ios
  • 읽기 좋은 코드가 좋은 코드다
  • set
  • NSManagedObjectModel
  • EffectiveObjectiveC
  • AWS
  • dictionary
  • Swift
  • Arc
  • docker
  • RunLoop
  • thread
  • Swift 3.0
  • optional
  • CIImage
  • NSManagedObjectContext
  • workerThread
  • string
  • applicationWillResignActive
  • Swift 3
  • Swift3
  • Swfit
  • coredata
  • 꺼내먹어요
  • delegate
  • Block
more
«   2025/07   »
일 월 화 수 목 금 토
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

티스토리툴바