Giter Club home page Giter Club logo

news's Introduction

NewsApp

仿知乎日报的简单新闻客户端——适合Swift新手入门

开发过程详见我的博客

开发该App的步骤如下:

-Step 1:界面布局TableView(HeadView以及TableViewCell),自定义TableViewCell;

-Step 2:通过Alamofire三方库进行Json解析,为Model赋值;同时在view初始化的时候添加TableHeader,即为头条新闻;

-Step 3:添加WebViewController,获取新闻ID,通过拼接url来显示详情;

-Step 4:集成三方库,MJRefresh用来刷新和加载,SDWebImage用来异步加载cell中的图片;

-Step 5:头条新闻的循环滚动以及访问新闻详情;

-Step 6:引进侧栏菜单的三方库,建立菜单并进行菜单内容的填充和布局以及首页的跳转

-Step 7:侧栏菜单项的跳转返回以及解决侧栏菜单新闻详情cell的复用问题

-Step 8:右侧菜单栏添加我的github和我的博客链接

App部分功能如下 App功能二 App功能三 App功能四

news's People

Contributors

zcbest avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

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.