关键字 NSMutableArray 的文章


由   YIem   撰写于    浏览:4384  评论:0
iOS-不规则瀑布流-瀑布流图片-

由   YIem   撰写于    浏览:3559  评论:0
iOS-数据库-FMDB-第三方-插入数据列表-(附件2-DataBaseHanfle.h-DataBaseHanfle.h-Student.h-Student.m) 第三方-点击下载-

由   YIem   撰写于    浏览:4486  评论:0
iOS-数据库-FMDB-第三方-插入数据列表-

由   YIem   撰写于    浏览:3580  评论:0
iOS-数据库-ViewController.m 调用- 数据库附件(1)iOS-数据库-Student类-附件(2)iOS-数据库-数据库创建DataBaseHandle.h//// DataBaseHandle.h// UI17_数据库//// Created by YIem on 16/3/3.// Copyright © 2016年[...]

由   YIem   撰写于    浏览:4198  评论:0
iOS-数据库-ViewController.m 调用- 数据库附件(1)

由   YIem   撰写于    浏览:3334  评论:0

由   YIem   撰写于    浏览:3840  评论:0

由   YIem   撰写于    浏览:2877  评论:0

由   YIem   撰写于    浏览:3709  评论:0

由   YIem   撰写于    浏览:4693  评论:0
[上部分 链接======][1]上部分链接-同上方链接TableView里面 1 2 3 一样#warning 移动 3 - 设置是否允许移动(BOOL)tableView:(UITableView )tableView canMoveRowAtIndexPath:(NSIndexPath )indexPath{return YES;}warni[...]

由   YIem   撰写于    浏览:2944  评论:0
import "RootViewController.h"import "Student.h"@interface RootViewController ()<UITableViewDataSource, UITableViewDelegate>@property (nonatomic, retain) NSMutableDiction[...]

由   YIem   撰写于    浏览:2929  评论:0
// 图片UIImageView UIImageView *imageV = [[UIImageView alloc] initWithFrame:self.view.frame]; // 设置图片 imageV.image = [UIImage imageNamed:@"BackGround"]; [self[...]

由   YIem   撰写于    浏览:2944  评论:0
iOS-植物大战僵尸-UIVIew-UIImageView-#import "ViewController.h" @interface ViewController ()@end@implementation ViewController(void)viewDidLoad {[super viewDidLoad];// Do a[...]

由   YIem   撰写于    浏览:3720  评论:0
iOS-TOM猫-汤姆猫动画播放-UIImageVIew#import "ViewController.h" @interface ViewController ()@property (nonatomic, retain) UIImageView *img;@end@implementation ViewController([...]

由   YIem   撰写于    浏览:4713  评论:0
Objective-C考试- 蓝鸥3G-OC考试题 ※ 选择题(共40题,每题2分) 1、NSString *str = @“lanou”; [str retain]; [str autorelease];
此时str的引用计数是________。 答案:(D) A、0 B、1 C、2 D、以上[...]

由   YIem   撰写于    浏览:3587  评论:0
/* 完成以下需求 需求:1、定义 联系人类Contact。实例变量:姓名(拼⾳, ⾸字母大写)、性别、电话号码、住址、分组名称、年龄。 ⽅法:自定义初始化方法(姓名、电话号码)、显示联系⼈信息(重写description方法, 打印所有成员变量)。 2、在main.m中定义字典,分组管理所有联系人。分组名 为26个大写的英文字母。 3、可以[...]

由   YIem   撰写于    浏览:3288  评论:0
main.m/* 实现图书管理系统: 1、使⽤数组管理所有书籍。 2、数组可以添加、删除。 3、可以从数组根据书名查找书籍,并修改书籍的价格。 4、展⽰所有书籍清单(书名)。*/ // 创建 对象Book *book1 = [Book bookWithBookName:@"YIem" price:20]; Book *b[...]

由   YIem   撰写于    浏览:3564  评论:0
/********* 方法2 简单类型对象的排序 ************/if 0// 创建排序对象 // 参数1 - 为简单类型对象可填写nil/@"self" // 为复杂类型对象可填写要进行排序的关键字, 如 按照Person的name成员排序 可填写@"name"; //参数2 [...]

由   YIem   撰写于    浏览:2957  评论:0
.main.m 代码 /********** 自定义类型对象的排序 *****************/ Person *per1 = [[Person alloc] initWithName:@"Long" age:22]; Person *per2 = [[Person alloc] initWithName:@[...]

由   YIem   撰写于    浏览:2815  评论:0
/*************** 简单对象的排序 *****************/ // 排序 可变数组NSMutableArray *arr = [NSMutableArray arrayWithObjects:@"8", @"2", @"3", @"5", [...]

由   YIem   撰写于    浏览:6535  评论:0
OC- 字典套数组 -- 省市区// 获取文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; // 按\n截取 NSArray *line = [str compon[...]

由   YIem   撰写于    浏览:3540  评论:0
省市区OC-字典-省市区-省数组套省字典套市数组套市字典套区数组数据文件:省市区TXT(数据)文件 NSString *str = [NSString stringWithContentsOfFile:@"area.txt" encoding:NSUTF8StringEncoding error:nil]; NSLog(@&qu[...]

由   YIem   撰写于    浏览:3055  评论:0
分别有三个文件.mian.mint main(int argc, const char * argv[]) { // 创建学生 Student *stu1 = [[Student alloc]initWithName:@"卞一" sex:@"男" age:@"20"]; Student [...]

由   YIem   撰写于    浏览:3065  评论:0
可变数组和不可变数组的快速创建-修改-赋值-替换-判断等等NSArray *arr = @[@"aa", @"bb", @"cc", @"dd", @"ff", @"ee", @"gg"]; // 获取数组的[...]

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