If Xcode complains when linking, e.g.?Library not found for -lPods, it doesn‘t detect the implicit dependencies: 1.Go to Product > Edit Scheme 2.Click on Build 3.Add the? Pods? static library, ...
分类:
其他好文 时间:
2015-07-19 16:38:02
阅读次数:
182
在 XCode 4.2 (with LLVM):里-(void)release{}会弹出警告warning: Semantic Issue: Conflicting distributed object modifiers on return type in implementation of 'r...
分类:
其他好文 时间:
2015-07-19 09:59:43
阅读次数:
172
介绍这篇文章主要是介绍一下我在iOS开发中使用到的一些可以提升开发效率的方法和工具。IDE首先要说的肯定是IDE了,说到IDE,Xcode不能跑,当然你也可能同时在使用AppCode等其他的IDE,在这里我主要介绍Xcode中提升开发效率的方法。1.善用快捷键快捷键是开发中必不可少的,当你善于使用快...
分类:
移动开发 时间:
2015-07-18 18:21:45
阅读次数:
182
如果要统计Xcode文件代码行数,包括头文件的,终端命令进入项目目录下,命令如下find.-name"*.m"-or-name"*.h"-or-name"*.xib"-or-name"*.c"|xargswc-l列出每个文件的行数find.-name"*.m"-or-name"*.h"-or-nam...
分类:
其他好文 时间:
2015-07-18 16:51:45
阅读次数:
112
//
// main.m
// Flim
//
/*
能够表述出海报内容
类名:Film
影片名字 内容 上映时间
展示图片
*/
#import
#import "Film.h"
int main(int argc, const char * argv[])
{
Film * film = [Film new];
//NSLog(@"%@",film);
...
分类:
其他好文 时间:
2015-07-18 15:39:51
阅读次数:
163
When using MacOS with xcode6.4, i always meet these error:xcrun: error: active developer path ("/Volumes/Xcode/Xcode6-Beta.app/Contents/Developer") do...
分类:
移动开发 时间:
2015-07-18 15:33:11
阅读次数:
145
在终端touch aa.c文件后,在c文件中写完代码(编译运行)cc aa.c时,报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode...
分类:
其他好文 时间:
2015-07-18 15:26:53
阅读次数:
105
xcode 项目中有些文件会频繁引起冲突 因此 需要设置 gitignoregitignore 来自stackoverflow///////////////////////////////////////////////////########################## .gitignor...
分类:
其他好文 时间:
2015-07-18 12:19:19
阅读次数:
199
这里举个简单的例子,为了大家的理解,使用了单步调试
Xcode 的中的单步调试是很好用的,我们可以用他来进行程序的纠错
很方便我们找到错误的根源,是程序员必备的一种技能
解决问题需要我们设置断点,然后进行单步调试,遇到方法体,我们可以跳入到
方法体内部,这样便于我们查找每个变量值的变化,和函数实现的具体步骤
更能清晰的理解我们写出的程序执行的步骤
首先我先将简单的代码贴出来 ,虽然简...
分类:
移动开发 时间:
2015-07-18 11:05:32
阅读次数:
183
1.今天在网上找了一下资料,因为自己的项目要做国际化了,说实话刚开始什么都不懂什么是国际化呀,现在终于明白了什么是国际化,现在给大家说道一下国际化这个东西:国际化就是我们在手机里面setting 里面选取不同的语言,在APP里面就会出现不同的语言: 以下是步骤:2.创建一个demo ,如国际化dem...
分类:
移动开发 时间:
2015-07-18 10:44:52
阅读次数:
170