Skip to content
View ninja342's full-sized avatar

Block or report ninja342

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Swift Network Image Swift Network Image
    1
    // You can use this class to download images for UICollectionViewCells or UITableViewCells with no worries about cell reusage
    2
    
                  
    3
    import UIKit
    4
    
                  
    5
    class NetworkImageView: UIImageView {
  2. UICollectionView cell register exten... UICollectionView cell register extension
    1
    import UIKit
    2
    
                  
    3
    extension UICollectionView {
    4
        func register(cellClass: AnyClass) {
    5
            let className = String(describing: cellClass)
  3. UITableView cell register extension UITableView cell register extension
    1
    import UIKit
    2
    
                  
    3
    extension UITableView {
    4
        func register(cellClass: AnyClass) {
    5
            let className = String(describing: cellClass)