Xcode 新手如何创建类

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15283627/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 02:55:37  来源:igfitidea点击:

New to Xcode how to create a class

iosobjective-cxcode

提问by Manuel Payares

Hi all I have currently started using xcode and objective C and I just want to know how to create a specific class within my program.

大家好,我目前已经开始使用 xcode 和 Objective C,我只想知道如何在我的程序中创建一个特定的类。

回答by Jeff Wolski

Here are the steps to add a new class.

以下是添加新类的步骤。

New FileObjective-C className the new classCheck the box for the targetSee the new class files

新文件Objective-C 类为新班级命名选中目标框查看新的类文件