Giter Club home page Giter Club logo

nnjanebookview's Introduction

NNJaneBookView

仿简书个人主页多页面滑动视图。

思路:
  • 导航栏上面的头像会随着视图的上下滑动而变大变小,这里注册了一个通知,用来监听视图的上下滑动,可以根据偏移量的值来改变头像的大小。
  • 此 UI 页面分为三部分,第一部分是信息展示,用来显示昵称签名等;第二部分是标签栏,即“动态”,“文章”,“更多”这三个标签;第三部分是主要显示内容;
  • 我这里用了这样的思路:页面底部是一个 UIScrollView; 接着 UIScrollView 上面 add 了三个 UITableView ;信息展示以及标签栏放在 UITableView 的 tableHeaderView 中;接着挨个实现其功能即可。
效果图

效果图

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.