zoukankan      html  css  js  c++  java
  • XCode catalogue

    naming function is a hard work! but it's funning,hahaha~~ 

    actually,it's all my summit about the name of function . tell me your idea,please 

    it's seperated by M-V-C . let's begain with Part-One viewController:

    PART-ONE:(viewcontroller)

    1.viewWillAppear:
    2.viewDidAppear:
    3.viewDidLoad
    4.didReceiveMemoryWarning
     
    界面上的view
    1.initMainView
    2.initAnimationView
    3.initBottomButtonView
    4.initFinishView
    5.refreshView
    6.loadWebview
     
    界面上的button/label等
    setPower
    setModel
    setSwitch
    setShare
     
    界面上的按钮点击
    shareButtonClicked
    orderButtonClicked
    finishButtonClicked
     
    弹出其他界面Show
    showDialogWithType
     
    Delegate
    textFiledChangeValue 
     
    PART-TWO:(view)

    viewcontroller :
    1.viewWillAppear:
    2.viewDidAppear:
    3.viewDidLoad
    4.didReceiveMemoryWarning
     
    界面上的view
    1.initMainView
    2.initAnimationView
    3.initBottomButtonView
    4.initFinishView
    5.refreshView
    6.loadWebview
     
    界面上的button/label等
    setPower
    setModel
    setSwitch
    setShare
     
    界面上的按钮点击
    shareButtonClicked
    orderButtonClicked
    finishButtonClicked
     
    弹出其他界面Show
    showDialogWithType
     
    Delegate
    textFiledChangeValue
     
    part-two view
     
    1.initWithFrame:
    2.drawRect:
    3.drawTemperatureView
    4.drawProgressCount
     
    elements of view
    1.setLabelCurrentTemperature
    2.setLabelOrderTime
    3.setCircleWidth
    4.setProgressLineWidth
     
    angle
    1.angleFromStartPoint
     
    time
    1.timeFromNow
     
    gesture
    1.handleTapGesture
    2.handleLongPressGesture 
     
  • 相关阅读:
    Airflow 使用 Celery 时,如何添加 Celery 配置
    什么是唯品会JIT业务
    Linux 性能优化排查工具
    HttpClient 报错 Invalid cookie header, Invalid 'expires' attribute: Thu, 01 Jan 1970 00:00:00 GMT
    如何使用 Enterprise Architect 画 UML
    通过maven profile 打包指定环境配置
    Git 使用总结
    Git 分支模型
    本地Windows环境Dubbo搭建测试
    makefile
  • 原文地址:https://www.cnblogs.com/tony0571/p/5448683.html
Copyright © 2011-2022 走看看