leancmscn
leancmscn
GCDGroups not suit for unlimited task, only suit for tasks added one by one. ``` let dispatchGroup = GCDGroup() dispatchGroup.enter() doSomeLongTaskWithCompletion { dispatchGroup.leave() } for task in tasks { dispatchGroup.async(.Default)...
hard code: ``` func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell { let cell = collectionView.dequeueReusableCellWithReuseIdentifier("Cell", forIndexPath: indexPath) let imageView = cell.viewWithTag(100) as! UIImageView imageView.layer.cornerRadius = 4.0 imageView.clipsToBounds = true...
have to hard code for it. cannot auto change if cell loading images.
success when install with sudo