MrCieong / MC30DaysOfSwift

My 30 Days of Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

30天学习Swift

部分示例参考了SAM LU的100 Days of Swift及allenwong的30DaysofSwift:博文

BlurEffectView

  • 使用UIVisualEffectView
  • 使用UIScrollView

CollectionView Header & Cell & Footer

  • 使用UICollectionView实现Cell点击
  • 使用动画改变Header图片
  • 使用CollectionViewFooter展示信息
  • 设置StautsBar Style

ParallaxCollectionView

  • 自定义UICollectionViewFlowLayout实现Parallax效果

自定义字体

播放本地视频

tips:在类头部连续打三个/ 生成 // MARK: -

TAP OR HOLD COUNTER

  • 使用及检测Long Press Gestures
  • 同一个UIButton上多种操作

DELETING AND REARRANGING

  • 从数据源删除数据
  • 删除Table Row
  • 重新排列Table Rows
  • 支持Swipe删除Table Row

Add Self-sizing Table View Cells

Swipe To Dismiss Keyboard

  • 当view加载后自启动键盘
  • 添加向下的Swipe手势关闭键盘
  • 在prepareForSegue中传递数据

AnimateTableViewCell

  • 给TableViewCell添加动画
  • 绘制CAGradientLayer

ImagePickerController

  • 使用UIImagePickerController添加图片
  • 使用stroyboard添加ImageView到UIScrollView中,设置约束及ImageView的Intrinsic Size:Placeholder
  • 添加图片缩放功能

CustomTransitions

  • 使用UICollectionView展示图片
  • 自定义UINavigationController Transition Animations

About

My 30 Days of Swift.


Languages

Language:Swift 100.0%