摘要: 1、我们的app一般默认的名字是我们的工程名字,所以我们一般会更改一个更加友好的名字,更改的方法如下图:找到InfoPlist.strings文件,在里面添加语句CFBundleDisplayName="你的APP的名字";2、关于怎么设置图标选中你的工程的名字(图上1位置),然后向下拉,找到APP... 阅读全文
posted @ 2015-08-07 08:30 OIMMZC 阅读(906) 评论(1) 推荐(0)
摘要: #import @interface ViewController : UIViewController@end#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (voi... 阅读全文
posted @ 2015-08-04 11:29 OIMMZC 阅读(288) 评论(0) 推荐(0)
摘要: #import "ViewController.h"#import @interface ViewController : UIViewController{ UILabel *lable; NSArray *array;}@end@interface ViewController ()@end... 阅读全文
posted @ 2015-08-03 13:49 OIMMZC 阅读(163) 评论(0) 推荐(0)
摘要: #import @interface ViewController : UIViewController{ UILabel *lable;}@end#import "ViewController.h"@interface ViewController ()@end@implementation V... 阅读全文
posted @ 2015-08-03 13:44 OIMMZC 阅读(165) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad {UIButton *button1=[UIButton buttonWithTyp... 阅读全文
posted @ 2015-08-03 13:39 OIMMZC 阅读(122) 评论(0) 推荐(0)
摘要: [super viewDidLoad]; // 实例化UILabel并指定其边框 UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0.0, 80.0, 320.0, 300.0)]; // 设置label显示的文本 [lab... 阅读全文
posted @ 2015-08-03 08:17 OIMMZC 阅读(160) 评论(0) 推荐(0)
摘要: #include #include #include void test(){//汉字输出 printf("THIS IS TEST\n"); printf("My age is %d\n",26); printf("My age is %4d 发现没?26前面多了两个空格\n",26); ... 阅读全文
posted @ 2015-08-02 14:08 OIMMZC 阅读(1254) 评论(0) 推荐(0)
摘要: #include #define sum 3+4//宏定义是原封不动的使用used for test4#include //used for test8~9#include //used for test8~9void test(){//数组输出 //int a[5]={1,2,3,4,5}; ... 阅读全文
posted @ 2015-08-02 14:05 OIMMZC 阅读(1537) 评论(0) 推荐(0)
摘要: #include #include #include int main(int argc, const char * argv[]) { // insert code here... printf("Hello, World!\n"); int a,b,i; { sran... 阅读全文
posted @ 2015-08-02 14:02 OIMMZC 阅读(744) 评论(0) 推荐(0)
摘要: #include void test(){//1+2+3+4+.....+100 int a,b; a=0; b=0; for ( ; a#includeint main(){int n,i,k;printf("please enter a integer number:n=?");scan... 阅读全文
posted @ 2015-08-02 14:00 OIMMZC 阅读(714) 评论(0) 推荐(0)