Code Monkey home page Code Monkey logo

swift_100days's Introduction

Swift_100days

these works base on Swift 2.0, if you just start learning swift, i suggest you should learn Swift from 3.0 ~ have fun!

i start to learn swift by following 100 Days of Swift

this is the demos sorted by day, if i have time i will update this repo, but unregularly...

if you have some question or opinion, pull request, or you can communicate with me with weibo below:

新浪微博:@杜维欣_

Gif:

Note:

1. PROJECT 11 is completed in 4Day(so 10Day == PROJECT 12 - ADD NEW ITEM)

2. 13-14Day is all in PROJECT 13Day

3. 15-18Day is all in PROJECT 15Day

4. 19-21Day is all in PROJECT 19Day

5. 24-26Day is all in PROJECT 24Day

6. 29-31Day is all in PROJECT 29Day 我从这学习自定义搜索栏,感谢saitjr提供的帮助,我从这学习UIVisualEffectView的使用

7. 36Day Twitter 效果学习地址, 顺便说下我的Twitter:@nododo1027

8. 37-38Day is all in PROJECT 38Day

9. 39-40Day is all in PROJECT 39Day

At the begining of the year, my work is too pressing, so i cant update this repo frequently!

swift_100days's People

Contributors

nododo 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  avatar  avatar  avatar  avatar  avatar

swift_100days's Issues

27day、28day,cell没注册,就没有复用

func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return 30;
}

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if let cell: UITableViewCell = tableView.dequeueReusableCell(withIdentifier: "table") {
cell.textLabel?.text = "movie name"
return cell
} else {
let cell = UITableViewCell()
cell.textLabel?.text = "movie name create"
return cell
}
}

这里只有从注册列表去取,并没有在初始化注册,在else这里应该改为如下
} else {
let cell = UITableViewCell(style: .default, reuseIdentifier: "table")
cell.textLabel?.text = "movie name create"
return cell
}

Day 3

运行起来和gif效果图不一致。

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.