简体   繁体   English

我在哪里可以找到Xcode术语和定义?

[英]Where can I find Xcode Terms and Definitions?

At the moment I am learning how to use Xcode and objective C to make iOS apps - and all is going well. 目前我正在学习如何使用Xcode和目标C制作iOS应用程序 - 一切进展顺利。

I come across a lot of terms which I think are language specific and I was wondering is there a website that explains these are? 我遇到了很多我认为特定于语言的术语,我想知道是否有一个解释这些术语的网站?

Terms like setter, class, subclass etc. I am starting to understand what they are, but it would be good, to find a sort of dictionary for these. 像setter,class,subclass等术语我开始明白它们是什么,但是为这些找到一种字典会很好。

So I am familiar with the reading of the terms, but I want to learn what they all mean, so I can make more sense of the code, beyond basic manipulation:-) 所以我对这些术语的阅读很熟悉,但我想了解它们的含义,所以除了基本操作之外,我可以更好地理解代码:-)

Is there a website for this?? 这个网站有吗?

EDIT: 编辑:

Take for example this code: 以此代码为例:

- (void)viewDidLoad
{
[super viewDidLoad];
NSString *urlAddress = @"http://google.com";    
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[webView loadRequest:requestObj];
}

I know what it does, but I am unsure of how to write this from scratch - even though it's simple - I guess if I knew what part is called what then I could say that I could remember it in a logical sense. 我知道它是做什么的,但我不确定如何从头开始写这个 - 即使它很简单 - 我想如果我知道什么部分被称为什么那么我可以说我能记住它在逻辑意义上。

I could say I need an NSString with the name urladdress - but is this a Class with an object? 我可以说我需要一个名为urladdress的NSString - 但这是一个带有对象的类吗? that kinda stuff:-) 那种东西:-)

-Jeff -Jeff

The examples you mentioned are not Xcode or even Objective-C specific. 您提到的示例不是Xcode甚至是Objective-C特定的。

But a good start is Apples Objective-C document, http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf 但是一个好的开始是Apples Objective-C文档, http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf

"Setter", "class" and "subclass" are all object-oriented programming concepts. “Setter”,“class”和“subclass”都是面向对象的编程概念。 They aren't specific to Xcode or Objective-C. 它们不是特定于Xcode或Objective-C。 Apple provide a high-level overview in Object-Oriented Programming with Objective-C . Apple提供了使用Objective-C进行面向对象编程的高级概述。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM