首页> 外文期刊>MacTech magazine >Finishing Our First Cocoa App
【24h】

Finishing Our First Cocoa App

机译:完成我们的第一个可可应用

获取原文
获取原文并翻译 | 示例
           

摘要

In last month's column, I told you about my fabulous trip to Big Nerd Ranch for some down home Cocoa training with Aaron Hillegass and crew. We then started on our first in a series of Cocoa programs. We used Xcode to create a new project (named RandomApp), then used Interface Builder to edit the nib file and create the RandomApp user interface. Figure 1 shows the final configuration of the window we laid out in Interface Builder. The top button is used to seed the random number generator. Press the second button to generate a new random number. The new number is displayed in the text field below the two buttons. In Figure 1, the text field is selected and the blue, dashed lines show the window was being resized to leave the proper amount of space below the text field and to the right of the two buttons and the text field.
机译:在上个月的专栏中,我向您介绍了我在大书呆子牧场(Great Nerd Ranch)进行的神话般的旅行,与亚伦·希勒加斯(Aaron Hillegass)和工作人员一起进行了一些在家可可培训。然后,我们开始了一系列可可计划中的第一个。我们使用Xcode创建一个新项目(名为RandomApp),然后使用Interface Builder编辑nib文件并创建RandomApp用户界面。图1显示了我们在Interface Builder中布置的窗口的最终配置。最上面的按钮用于为随机数生成器提供种子。按第二个按钮生成一个新的随机数。新数字显示在两个按钮下方的文本字段中。在图1中,选择了文本字段,蓝色虚线表示窗口正在调整大小,以便在文本字段下方,两个按钮和文本字段的右侧保留适当的空间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号