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

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

    2. 您如何连接“代表"?UITextView 的出口到实现 UITextViewDelegate 协议的类?

      时间:2023-09-12
        <tbody id='db4CB'></tbody>

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

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

              • <tfoot id='db4CB'></tfoot>
              • 本文介绍了您如何连接“代表"?UITextView 的出口到实现 UITextViewDelegate 协议的类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                如何将 UITextView 的委托"出口连接到实现 UITextViewDelegate 协议的类?

                How do you connect the "delegate" outlet of a UITextView to a class that implements UITextViewDelegate protocol?

                我似乎找不到示例 在文档中

                奇怪的是 UITextView 的代表"插座有拖放界面的东西,就像你可以将它连接到 另一个小部件但当然,我不想连接它到一个小部件,我想把它连接到一个现有的类.

                The weird thing is the UITextView's "delegate" outlet has that drag 'n drop interface thingy, like you can wire it up to another widget but of course, I don't want to wire it up to a widget, I want to wire it up to an existing class.

                推荐答案

                如果您的意思是我如何将使用代码创建的对象作为我的文本视图的委托",只需设置委托属性(这就是拖动在 Interface Builder 中将为您做):

                If you mean "how do I make an object that is created with code the delegate for my text view", just set the delegate property (this is what dragging in Interface Builder will do for you):

                textView.delegate = yourDelegateObject;
                

                这篇关于您如何连接“代表"?UITextView 的出口到实现 UITextViewDelegate 协议的类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:Dropbox SDK - linkFromController:委托还是回调? 下一篇:将在 Interface Builder 中创建的 UITabBarController 设置为委托

                相关文章

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

              • <tfoot id='flKvS'></tfoot>

                  • <bdo id='flKvS'></bdo><ul id='flKvS'></ul>

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