zoukankan      html  css  js  c++  java
  • About Windows and Views

     In IOS, you use windows and views to present your application's content on the screen.

    The UIWindow class defines objects (known as windows ) that manage and coordinate the windows an application displays on the screen.

    Windows do not have any visible content themselves but provide a basic container for your application’s views

    The UIView

     *The use of Core Animation layer objects has important implications for performance. the actual drawing code of a view is callled as little as possilble.

     Tagging View for Future Identification

     The UIView class contains a tag property that you can use to tag individual view objects with an integer value. You can use tags to uniquely identify views inside your view hierarchy and to perform searches for those views at runtime. (Tag-based searches are faster than iterating the view hierarchy yourself.)

  • 相关阅读:
    sudo配置临时取得root权限
    Linux 前台 和 后台进程 说明
    延迟加载
    事件代理
    字符串方法总结
    javascript
    HTML
    通用样式,如清除浮动
    html脱离文档流事件
    经典容易忽略的行内块
  • 原文地址:https://www.cnblogs.com/JiesonWu/p/2595049.html
Copyright © 2011-2022 走看看