Giter Club home page Giter Club logo

ascollectionview's Introduction

Senior Machine Learning Engineer with more than 10 years of experience in software and machine learning engineering with designing, developing, and implementing complex machine learning pipelines, automation and systems. Possessing a strong computer science background and expertise in various programming languages and frameworks. Committed to staying up-to-date with the latest advancements in the field and am always seeking out new and innovative ways to solve complex problems as well as leading development teams and technical discussions. I am passionate about mentoring and training junior team members on machine learning techniques and best practices. Using Github for publishing and contributing to open source projects at the same time working on open source identity verification projects using Machine Learning and Deep Learning techniques. One of the open source projects that I have contributed to was used in Mars 2020 Helicopter Mission.

ascollectionview's People

Contributors

abdullahselek avatar dependabot[bot] avatar lordoftheports avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ascollectionview's Issues

CollectionView layout should be extended ASCollectionViewLauout

I tried the simple code like your demo, but I couldn't....
I don't understand why this error message shows.
I would like to tell me the reason.

When the indexPath.row == 3, sumilator crash and shows the error "CollectionView layout should be extended ASCollectionViewLauout".

class VC_Question: UIViewController, ASCollectionViewDataSource, ASCollectionViewDelegate {
    
    @IBOutlet weak var collectionView: ASCollectionView!
    var numberOfItems: Int = 10
    let collectionElementKindHeader = "Header";
    let collectionElementKindMoreLoader = "MoreLoader";
    
    override func viewDidLoad() {
        super.viewDidLoad()
        collectionView.register(UINib(nibName: collectionElementKindHeader, bundle: nil), forSupplementaryViewOfKind: collectionElementKindHeader, withReuseIdentifier: "header")
        collectionView.delegate = self
        collectionView.asDataSource = self
    }
    
    // MARK: ASCollectionViewDataSource
    func numberOfItemsInASCollectionView(_ asCollectionView: ASCollectionView) -> Int {
        return numberOfItems
    }
    
    func collectionView(_ asCollectionView: ASCollectionView, cellForItemAtIndexPath indexPath: IndexPath) -> UICollectionViewCell {
        let questionCell = collectionView.dequeueReusableCell(withReuseIdentifier: "cell", for: indexPath) as! QuestionCell
        return questionCell
    }
    
    func collectionView(_ asCollectionView: ASCollectionView, parallaxCellForItemAtIndexPath indexPath: IndexPath) -> ASCollectionViewParallaxCell {
        let parallaxCell = collectionView.dequeueReusableCell(withReuseIdentifier: "parallaxCell", for: indexPath) as! ParallaxCell
        return parallaxCell
    }
    
    func collectionView(_ asCollectionView: ASCollectionView, headerAtIndexPath indexPath: IndexPath) -> UICollectionReusableView {
        let header = collectionView.dequeueReusableSupplementaryView(ofKind: ASCollectionViewElement.Header, withReuseIdentifier: "header", for: indexPath)
        return header
    }
    
    func loadMoreInASCollectionView(_ asCollectionView: ASCollectionView) {
        if numberOfItems > 30 {
            collectionView.enableLoadMore = false
            return
        }
        numberOfItems += 10
        collectionView.loadingMore = false
        collectionView.reloadData()
    }
    
}
import Foundation
import ASCollectionView
class QuestionCell: UICollectionViewCell {
    
}
import Foundation
import UIKit
import ASCollectionView
class ParallaxCell: ASCollectionViewParallaxCell {
    
}

Get total height of collection

Hi, I have a problem when I use this library for my collection which in UITableViewCell. Because I don't know height of this collection is returned. Hope you let me know soon! Thanks.

error asDatasorce

hi when i run app error:

 2017-09-26 01:48:52.421 collectionTest[6050:90252] Unknown class _TtC16ASCollectionView16ASCollectionView in Interface Builder file.
(lldb) 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.