Giter Club home page Giter Club logo

uiloadcontrol's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @FelipeCardoso89

uiloadcontrol's People

Contributors

bitdeli-chef avatar felipecardoso89 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

Watchers

 avatar  avatar  avatar

uiloadcontrol's Issues

IOS 7.0 +

Hello good day.
I can use the component in IOS 7.0? Thank you

Memory Leak

I have UITableViewController with a UILoadControl.
When I create a UILoadControl with a target my tableViewController, the latter doesn't get deallocated.

UI prefix is reserved by Apple

You should change the prefix to a 3-letter prefix, and definitely NOT use UI, since it is reserved by Apple and might clash with internal names at any given time.

Not work with UITableViewController

I added simple TableViewController to sample project for testing and no UILoadControl at the bottom of view

  override func viewDidLoad() {
    super.viewDidLoad()

let loadControl = UILoadControl()
loadControl.addTarget(self, action: "loadMore:", forControlEvents: UIControlEvents.ValueChanged)
tableView.tableFooterView = UIView()
tableView.loadControl = loadControl


  }

  override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
  }

  @objc private func loadMore(sender: AnyObject?) {
    let delayTime = dispatch_time(DISPATCH_TIME_NOW, Int64(4 \* Double(NSEC_PER_SEC)))
    dispatch_after(delayTime, dispatch_get_main_queue()) {
      self.tableView.loadControl?.endLoading()
    }
  }
}```

Not working if content is not filled up scroll height

I used UILoadControl for collectionview pagination. On first load I am loading cells but that cells are not covering full collection view height. When trying to scroll and load more content set observer is not getting called.

If first content is more than collection view height then is it working fine. can you please help me out in this problem?

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.