关键字 数组 的文章


由   YIem   撰写于    浏览:3049  评论:0
可变数组的各种操作// 可变数组 NSMutableArray *mArr = [NSMutableArray arrayWithObjects:@"aaa", @"bbb", @"ccc", @"ddd", @"eee", nil]; // 添加一[...]

由   YIem   撰写于    浏览:2541  评论:0
创建不可变数组,对其的各种操作 // 创建数组 NSArray *arr = @[@"aa", @"bb", @"dd", @"12", @"ff"]; // 获取数组对象个数 NSLog(@"%ld", arr.count);[...]

由   YIem   撰写于    浏览:3532  评论:0
// 1. 创建一个不可变字符串 str // 2. 输出 str 的长度 // 3. 将 str 中的所有 'i' 都替换为 'x' // 4. 比较 str 和 "sample" 字符串的大小, 输出较小的一个. // 5. 将 str 转为可变字符串 mutableStr // 6. 判断 mutableStr 长度, 如[...]

由   YIem   撰写于    浏览:3407  评论:0
// 获取数组的元素个数( 多用于遍历) NSLog(@"array元素个数: %ld", array.count);/// 获取某一个元素NSString *name = [array objectAtIndex:0]; NSLog(@"array获取某一个元素%@", name); // C 语言形式的取[...]

由   YIem   撰写于    浏览:2743  评论:0
2015-12-28-- 今天我降班了,原因是字典和数组传值迷糊了然后来了新的班级,重新开始学习OC,可是,来到这个班级我还是有一种智商被压制的感觉,上课进程一塌糊涂,然后,我就开始蛋疼了,弄得好尴尬,而且重新读档一个月,又开始学习类和对象,啊....有一种要疯了的感觉,感觉和他们不在一个频道,不知道来年的四月份能不能结束.太慢了!之前的班级感觉智[...]

由   YIem   撰写于    浏览:4435  评论:0
//// AppDelegate.h// UI13_练习//// Created by YIem on 15/12/23.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDele[...]

由   YIem   撰写于    浏览:3804  评论:0
//// AppDelegate.h// UI12_TavleView编辑//// Created by YIem on 15/12/22.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interfac[...]

由   YIem   撰写于    浏览:3267  评论:0
//// AppDelegate.h// UI11_UITablView综合练习//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@inter[...]

由   YIem   撰写于    浏览:3909  评论:0
//// AppDelegate.h// UI11_练习2//// Created by YIem on 15/12/21.// Copyright © 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppDel[...]

由   YIem   撰写于    浏览:3390  评论:0
//// RootViewController.m// UI10_UITableView2//// Created by Marry W. on 12/18/15.// Copyright (c) 2015 www.lanou3g.com 蓝鸥科技. All rights reserved.//import "RootViewControl[...]

由   YIem   撰写于    浏览:3562  评论:0
//// RootViewController.h// UI9_UITableView练习//// Created by YIem on 15/12/17.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>[...]

由   YIem   撰写于    浏览:4036  评论:0
// RootViewController.m// **UI8_轮播图//**// Created by YIem on 15/12/16.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h"@inter[...]

由   YIem   撰写于    浏览:3689  评论:0
//// AppDelegate.h// UI7_页面跳转//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <UIKit/UIKit.h>@interface AppD[...]

由   YIem   撰写于    浏览:3329  评论:0
//// RootViewController.m// UI7_UINavigationController//// Created by YIem on 15/12/15.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewCo[...]

由   YIem   撰写于    浏览:3139  评论:0
//// RootViewController.m// UI6_UIScrollView//// Created by YIem on 15/12/14.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import "RootViewController.h[...]

由   YIem   撰写于    浏览:4069  评论:0
Objective-C(新)Objective-C考试 ※ 选择题(共80题,每题1分)1、不会立刻使引用计数器改变的是:答案:(C) A、release B、alloc C、autorelease D、retain2、OC中布尔(BOOL)类型的变量的值只有:答案:(B) A、1/0 B、YES/NO C、true/false D、1/-13[...]

由   YIem   撰写于    浏览:2992  评论:0
//// main.m// OC_内存管理//// Created by YIem on 15/12/3.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Person[...]

由   YIem   撰写于    浏览:4794  评论:0
//// main.m// OC6_省市区//// Created by YIem on 15/12/1.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Model.[...]

由   YIem   撰写于    浏览:3765  评论:0
//// main.m// OC6_练习//// Created by YIem. on 12/1/15.// Copyright (c) 2015 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "Book.h"[...]

由   YIem   撰写于    浏览:3524  评论:0
//// main.m// OC5_数组_字典//// Created by YIem. on 11/30/15.// Copyright (c) 2015 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int main(in[...]

由   YIem   撰写于    浏览:3490  评论:0
//// main.m// OC2015-11-27作业//// Created by YIem on 15/11/27.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int ma[...]

由   YIem   撰写于    浏览:3311  评论:0
//// main.m// OC_4数组//// Created by YIem on 15/11/27.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>int main(int a[...]

由   YIem   撰写于    浏览:3636  评论:0
//// main.m// C10_函数指针//// Created by YIem on 15/11/23.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>import "MyFu[...]

由   YIem   撰写于    浏览:2911  评论:0
//// main.m// C9_结构体指针//// Created by YIem on 15/11/20.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//import <Foundation/Foundation.h>struct test [...]

由   YIem   撰写于    浏览:3463  评论:0
//// main.m// C9_内存管理//// Created by YIem on 15/11/20.// Copyright (c) 2015年 www.yiem.net YIem博客. All rights reserved.//