Code Monkey home page Code Monkey logo

ui-swift's Introduction

Swift 搭建UI系列

intro

学习Swift也有一段时间了,通过这一段时间的学习既体验了Swift语言的强大也感受到了今天写的代码明天就不能用的惊悚,总体来说Swift还是充满了无限的可能性(甚至于能写后台的程序),而且以后应该也会越来越好(以后替代OC,毕竟Apple的亲儿子😑)。

学习的这一段时间从写个button都要google到现在能上手项目,学到了很多东西也踩了很多坑。开始学习Swift的时候上来就抱着Swift的Language Guide一顿猛啃,事实证明这是一种很愚蠢的做法,结果没坚持一周就放弃了,因为学习一门新的语言只看语法的话很乏味,没有成果的刺激很难坚持下来。所以我想写一个关于Swift搭建iOS的UI控件的系列,让初学者可以在享受成果的同时更好的学习Swift。

Request

  • Xcode:Xcode8
  • Swift:Swift3.0
  • simulator:iphone 7 plus

gif

  • 自定义带有placeholder的UITextView
  • 自定义跟随键盘移动的UITextField

gif

gif

![gif](https://github.com/fengzhihao123/UI-Swift/blob/master/05-UIScrollView/05-UIScrollView.gif)

ui-swift's People

Contributors

fengzhihao123 avatar

Watchers

James Cloos 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.