如何在代码注释部分添加图像?

时间:2014-04-30 06:56:45

标签: objective-c comments xcode5

我想添加一些图片作为评论的一部分,以说明评论所指的UI。是否可以在Xcode上的.h或.m文件中添加图像。

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
            // 3 looks like a magic number here. But there is logic behind this number
            // 1 row for the program description
            // 1 row for the ratings
            // 1 row for the favorite section
            // then add the count of workouts grouped based on interval
            return 3+_workoutsGroupedBasedOnInterval.count;
}

更新 我想在Objective-C源代码中添加一个图像(在评论部分内),以便我或我的团队成员可以在查看源代码时查看图像。

0 个答案:

没有答案
相关问题