<bdo id='QArPC'></bdo><ul id='QArPC'></ul>

    <small id='QArPC'></small><noframes id='QArPC'>

  1. <i id='QArPC'><tr id='QArPC'><dt id='QArPC'><q id='QArPC'><span id='QArPC'><b id='QArPC'><form id='QArPC'><ins id='QArPC'></ins><ul id='QArPC'></ul><sub id='QArPC'></sub></form><legend id='QArPC'></legend><bdo id='QArPC'><pre id='QArPC'><center id='QArPC'></center></pre></bdo></b><th id='QArPC'></th></span></q></dt></tr></i><div id='QArPC'><tfoot id='QArPC'></tfoot><dl id='QArPC'><fieldset id='QArPC'></fieldset></dl></div>

    <legend id='QArPC'><style id='QArPC'><dir id='QArPC'><q id='QArPC'></q></dir></style></legend>
    <tfoot id='QArPC'></tfoot>

      iOS 6 Beta 中的自动布局

      Auto Layout in iOS 6 Beta(iOS 6 Beta 中的自动布局)
    1. <i id='2g0lL'><tr id='2g0lL'><dt id='2g0lL'><q id='2g0lL'><span id='2g0lL'><b id='2g0lL'><form id='2g0lL'><ins id='2g0lL'></ins><ul id='2g0lL'></ul><sub id='2g0lL'></sub></form><legend id='2g0lL'></legend><bdo id='2g0lL'><pre id='2g0lL'><center id='2g0lL'></center></pre></bdo></b><th id='2g0lL'></th></span></q></dt></tr></i><div id='2g0lL'><tfoot id='2g0lL'></tfoot><dl id='2g0lL'><fieldset id='2g0lL'></fieldset></dl></div>

            <bdo id='2g0lL'></bdo><ul id='2g0lL'></ul>
                <tbody id='2g0lL'></tbody>
              <legend id='2g0lL'><style id='2g0lL'><dir id='2g0lL'><q id='2g0lL'></q></dir></style></legend>
            • <small id='2g0lL'></small><noframes id='2g0lL'>

              <tfoot id='2g0lL'></tfoot>

                本文介绍了iOS 6 Beta 中的自动布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                Auto Layout 是在 iOS 6 中宣布的,但我一直很难找到有关它的任何信息或文档.它究竟是如何使用的?它使用 NSLayoutConstraint 吗?有资源吗?

                Auto Layout was announced in iOS 6 but I've been having difficulty finding any information or documentation about it. How exactly is it used? Does it use NSLayoutConstraint? Are there any resources available?

                推荐答案

                如果 iOS 6 中的 Auto Layout 与 Mac OSX 10.7 中的 Cocoa Auto Layout 类似,Cocoa 自动布局指南,公开文档,可能会让您了解它在 Cocoa Touch 中的工作方式.

                If Auto Layout in iOS 6 turns out to be anything like Cocoa Auto Layout in Mac OSX 10.7, the Cocoa Auto Layout Guide, a publicly available document, may give you an idea of how it would work in Cocoa Touch.

                Cocoa Touch 使用的底层引擎是Cassowary,在其他工具包中也有使用,例如 enaml.我最近写了一篇Cassowary的简要概述,以及Cocoa Touch和enaml的比较 其中我将一个 Cocoa Auto Layout 示例移植到 Python 和 enaml.

                The underlying engine used by Cocoa Touch is Cassowary, and it's also used in other toolkits, such as enaml. I recently wrote a brief overview of Cassowary, with a comparison between Cocoa Touch and enaml wherein I port a Cocoa Auto Layout example to Python and enaml.

                这篇关于iOS 6 Beta 中的自动布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                iOS AutoLayout - get frame size width(iOS AutoLayout - 获取帧大小宽度)
                Auto layout constraints issue on iOS7 in UITableViewCell(UITableViewCell中iOS7上的自动布局约束问题)
                How to resize superview to fit all subviews with autolayout?(如何调整超级视图的大小以适应所有具有自动布局的子视图?)
                Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5(自动布局中的弹簧:在 Xcode 5 中使用约束均匀分布视图)
                reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling(具有动态单元格高度的 UITableView 的 reloadData() 导致跳跃滚动)
                What is NSLayoutConstraint quot;UIView-Encapsulated-Layout-Heightquot; and how should I go about forcing it to recalculate cleanly?(什么是 NSLayoutConstraint“UIView-Encapsulated-Layout-Height?我应该如何强制它干净地重新计算?) - IT屋-程序员
                  <legend id='VYzp1'><style id='VYzp1'><dir id='VYzp1'><q id='VYzp1'></q></dir></style></legend>

                    • <bdo id='VYzp1'></bdo><ul id='VYzp1'></ul>
                    • <tfoot id='VYzp1'></tfoot>

                      <small id='VYzp1'></small><noframes id='VYzp1'>

                        <tbody id='VYzp1'></tbody>

                        <i id='VYzp1'><tr id='VYzp1'><dt id='VYzp1'><q id='VYzp1'><span id='VYzp1'><b id='VYzp1'><form id='VYzp1'><ins id='VYzp1'></ins><ul id='VYzp1'></ul><sub id='VYzp1'></sub></form><legend id='VYzp1'></legend><bdo id='VYzp1'><pre id='VYzp1'><center id='VYzp1'></center></pre></bdo></b><th id='VYzp1'></th></span></q></dt></tr></i><div id='VYzp1'><tfoot id='VYzp1'></tfoot><dl id='VYzp1'><fieldset id='VYzp1'></fieldset></dl></div>