[英]if([aString writeToFile: @“outfile” atomically: YES])
For some code like 对于一些像
if([aString writeToFile: @"outfile" atomically: YES])
I am wondering if atomically is a parameter or a parameter name? 我想知道atomically是参数还是参数名称?
Parameter name would be what the variable is called. 参数名称将是变量的名称。 I guess you could call it a parameter but parameter is a very general term in my opinion.
我想你可以把它称为参数,但在我看来,参数是一个非常通用的术语。
I think the correct thing to say is that it's the method name, It's a part of it. 我认为正确的说法是它是方法名称,它是它的一部分。 Just that you can have parameters in between to kind of split it up.
只是你可以在两者之间分配参数。
And btw this is one of the things I love in objective c, the code gets so readable thanks to it :) 顺便说一句,这是我喜欢的目标c之一,代码因此而变得如此可读:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.