Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定这样的函数:
- (NSString *) changemystringsomehow { // do something to the string / check the string return ?; }
我将如何在另一个函数中使用它来取回“已更改”的字符串?
好吧,阅读他们说的*手册。我发现文档有时难以理解,但我试了一下。我找到了答案并学会了如何制作一个类别。
自定义现有类
我知道这可能是一个菜鸟问题,但我真的无法弄清楚。
我被要求修改现有的 php 代码,所以我下载了代码并尝试在我的机器上运行,但我无法让它工作。
据我了解,我们编写 php 代码
<?php //some code ?>
但是我下载的这段代码使用了这样的php代码