GithubHelp home page GithubHelp logo

djrefresh's People

Contributors

ydj 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

djrefresh's Issues

关于直接设置refreshview的背景颜色问题

你好,为什么在djrefresh类的inittopView里面可以修改topview的背景颜色,但是当设置topEnabled为yes时不能直接设置refresh.topRefreshView.backgroundColor为其他颜色呢

我的searchBar与你的例子还是有一定的差别

我是将searBar放在了tableHeadView里,使用refreshcontrol下拉或者上拉后,searchbar位置就会被推到顶部无法显示了。实际上其他的scrollview也存在这个问题,也就是刷新后refreshcontrol计算的位置不正确。
感觉上是没有考虑nav所占的高度。
但我不会Oc,所以我在refreshdelegate中添加了一个fixRefresh以修正这个问题,使用swift来完成
在controller中实现
func fixRefresh(){
var f = view.frame
if let n = self.navigationController?.navigationBar.frame {
f.origin.y = n.height + n.origin.y
}
view.frame = f
}
在finish中调用
if ([self.delegate respondsToSelector:@selector(fixRefresh)])
{
[_delegate fixRefresh];
}

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.