E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
NSMutableArray
读取存array的plist
self.list==nil){ NSString*path=[[NSBundlemainBundle]pathForResource:@"computers_a"ofType:@"plist"];
NSMutableArray
hongmin118
·
2012-01-27 19:00
array
自定义 模式对话框 ios iphone ipad (模仿UIAlertView)
首先自定义一个AlertView视图类(继承于uiview类),添加label控件(用于显示文本)和 button数组(
nsmutablearray
,用于存储按钮文本),实现有关的构造和析构
zaitianaoxiang
·
2012-01-19 14:00
获取通讯录里的电话号码
ABAddressBookRef addressBook = ABAddressBookCreate();
NSMutableArray
*peopleArray = (
NSMutableArray
jsntghf
·
2012-01-13 08:00
ios
iPhone
获取通讯录里的电话号码
ABAddressBookRef addressBook = ABAddressBookCreate();
NSMutableArray
*peopleArray = (
NSMutableArray
jsntghf
·
2012-01-13 08:00
ios
iPhone
iphone
NSmutableArray
内存管理
1:原文摘要: http://www.cnblogs.com/speeding/archive/2011/09/16/2178355.html iPhone程序开发中的内存泄漏问题是新手非常头痛的事情,可能是用C#这类自动垃圾释放的语言太习惯了,用xcode中的profile工具查了一下我写的小程序,内存泄漏了一大堆,经过一阵子排查,在NSMutableArr
·
2012-01-11 21:00
iPhone
iPhone开发技巧之私有API(4)― UIBarButtonItem
NSMutableArray
*items=[NSMutableArrayarray];UIBarButtonItem*item=nil;for(inti=100;i<=109;i++){ item=
zhy000
·
2012-01-02 00:34
ios
职场
iPhone
休闲
在ios中对定制的UIPickerView 进行数据定位
2.涉及到的相关代码有头文件中定义: #defineYearPicker0 #defineMonthPicker1 @property(nonatomic,retain)
NSMutableArray
*
remote_roamer
·
2011-12-30 20:00
ios
tools
initialization
单例模式
直接贴代码#import @interfaceDefineSingInstance:NSObject @property(nonatomic,strong)
NSMutableArray
*dataList
ydj213
·
2011-12-26 16:00
nsftchedresultscontroller的使用
所以,干脆利落地去掉NSArray和
NSMutableArray
,只用NSFetchedResultsController!1,首先在h文件加入下面这段代码。
the_loong
·
2011-12-21 17:48
职场
休闲
如何给
NSMutableArray
添加空对象
而
NSMutableArray
,不支持添加。此时可以这么来达到效果,这时可以使用NSNull来做这件事:[myArrayaddObject:[NSNullnull]];
lone_boy
·
2011-12-12 09:00
null
获得一个类的所有属性
Class)clazz{ u_intcount; objc_property_t*properties =class_copyPropertyList(clazz,&count);
NSMutableArray
我的笔记本
·
2011-11-29 15:06
职场
iPhone
属性
休闲
可伸缩的表视图
头文件: #import @interfaceTableMenuViewController:UIViewController{
NSMutableArray
*itemArray;
NSMutableArray
jsntghf
·
2011-11-27 13:00
ios
iPhone
表视图
可伸缩
可伸缩的表视图
头文件: #import @interfaceTableMenuViewController:UIViewController{
NSMutableArray
*itemArray;
NSMutableArray
jsntghf
·
2011-11-27 13:00
ios
iPhone
表视图
可伸缩
iphone数组排序方法摘录
NSMutableArray
*array = [[
NSMutableArray
alloc] init]; [array addObject:[NSNumber
sinaier
·
2011-11-22 17:00
array
sortearray
NSMutableArray
,NSArray与NSSet
NSMutableArray
,NSArray NSArray and its subclass
NSMutableArray
manage collections of objects called
tudusi
·
2011-11-19 13:00
NSArray
NSMutableArray
,NSArray与NSSet
NSMutableArray
,NSArray NSArray and its subclass
NSMutableArray
manage collections of objects called
muyu114
·
2011-11-19 13:00
NSArray
NSMutableArray
,NSArray与NSSet
NSMutableArray
,NSArrayNSArrayanditssubclassNSMutableArraymanagecollectionsofobjectscalledarrays.NSArraycreatesstaticarrays
muyu114
·
2011-11-19 13:00
Collections
Random
Arrays
存储
编译器
testing
Objective-C 实现的 A*算法
需要2个表,分别保存待检测和已检测的格子:@interfaceAStarFinder:NSObject{
NSMutableArray
*openTable;//尚未走过的格子
NSMutableArray
jiarusun000
·
2011-11-18 15:00
算法
interface
ios cocos2d cocos3d box2d [21]
NSMutableArray
循环删除
转载自:http://lijianyeath.blog.163.com/blog/static/1261149042011525101230120/ 方法1:
NSMutableArray
xumingrencai
·
2011-11-17 21:00
cocos2d
ipad开发对表格视图的基本实现
import"RootViewController.h"@implementationRootViewController@synthesizecontactInformationViewController;//定义表格中的数据集合
NSMutableArray
sdhjob
·
2011-11-14 16:00
关于NSUInteger的奇怪问题
12345678910111213141516
NSMutableArray
*array=[[NSMutableArrayalloc]initWithObjects:@"1",@"2",@"3",nil]
delphi090902
·
2011-11-07 16:00
遍历iPhone上所有已经安装的字体
NSArray *array = [UIFont familyNames]; NSString *familyName ;
NSMutableArray
*fontNames = [[
NSMutableArray
jsntghf
·
2011-10-30 14:00
ios
iPhone
字体
遍历iPhone上所有已经安装的字体
NSArray *array = [UIFont familyNames]; NSString *familyName ;
NSMutableArray
*fontNames = [[
NSMutableArray
jsntghf
·
2011-10-30 14:00
ios
iPhone
字体
iphone 对
NSMutableArray
数组排序
自定义一个类,并初始化该类,然后添加到
NSMutableArray
数组中,并对数组进行排序。
think12
·
2011-10-13 16:00
iPhone
interface
iphone ios5 数据持久化
= @"Persistent data1"; NSString *strTwo = @"Persistent data 2";
NSMutableArray
woainike
·
2011-10-12 17:00
ios5
NSNotificationCenter带参数发送
NSMutableArray
* testArray = [[[
NSMutableArray
alloc] initWithObjects:@"0",@"1"
zani
·
2011-10-09 16:00
notification
iPhone tableview分批显示数据
基本上就是数据源里先只放10条,点击最后一个cell时,添加更多的数据到数据源中.比如:数据源是个array:
NSMutableArray
*items;ViewController的这个方法返回数据条数
paulluo0739
·
2011-10-09 13:00
编码对象
Objective-c代码 @interface MyTest : NSObject { NSString *name; int number;
NSMutableArray
fightper
·
2011-09-30 10:00
Objective-c解析XML封装
3 解析类返回NSMutableDictionary或者
NSMutableArray
<NSMutableDictionary>,键值封装。
yanghao0
·
2011-09-29 11:00
Objective-C
NSMutableArray
中的自动释放对象让我郁闷了一整天
在做一个TableView程序时,要在表格里显示一个文件夹内所有文件的清单,程序在一开始显示时正常,但是一滚动窗口时就崩溃,查找这个错误整整花了我一天的时间,原来出在
NSMutableArray
初始化时用的方法不正确
henry_sea
·
2011-09-28 23:00
c
cocoa
Google
iPhone
objective
NSMutableArray
的正确使用
iPhone程序开发中的内存泄漏问题是新手非常头痛的事情,可能是用C#这类自动垃圾释放的语言太习惯了,用xcode中的profile工具查了一下我写的小程序,内存泄漏了一大堆,经过一阵子排查,在
NSMutableArray
henry_sea
·
2011-09-28 23:00
object
xcode
C#
iPhone
语言
程序开发
UIView上签名绘图示例
Canvas2D.h#import #import @interfaceCanvas2D:UIView{
NSMutableArray
*arrayStrokes; UIColor*currentColor
favormm
·
2011-09-27 15:00
objective-C中的序列化(serialize)与反序列化(deserialize)
archive/2011/03/03/1969859.htmlobj-c中有一类对象:NSArray,NSDictionary,NSString,NSNumber,NSDate,NSData以及它们的可变版本(指
NSMutableArray
xumingrencai
·
2011-09-27 00:00
Objective-C
ios NSArray数组写plist的文件的代码
-(void)writeToPlist:(NSArray*)uploadingfiles Name:(NSString*)name{
NSMutableArray
*sList=
houchangxi
·
2011-09-23 10:00
ios
排序问题
NSMutableArray
*ma1=[[NSMutableArrayalloc]init]; [ma1addObject:@"2"]; [ma1addObject:@"1"]; [ma1addObject
cocoa_geforce
·
2011-09-22 23:00
c
iphone数组排序方法摘录
NSMutableArray
*array= [[NSMutableArrayalloc]init]; [arrayaddObject:[NSNumbernumberWithInt:30]]; [
fxj281314
·
2011-09-21 08:00
iPhone
NSArray、
NSMutableArray
排序
1、数组中存储基本数据类型如NSString,NSNumber等可以直接用[myArysortUsingSelector:@selector(compare:)];2、数组中存储自定义类型(对象)可以有两种解决方法:一种是自定义比较函数,如果想比较元素中的某个基本数据类型成员,则可以使用另一种更方便的方法例如:myObj{typex;typey;}NSSortDescriptor*sortByX=
geniuslinchao
·
2011-09-15 14:00
存储
Foundation框架,数组---之二
5、数组NSArray*array=[NSArayarrayWithObject:@"one",nil];
NSMutableArray
*marray=[
NSMutableArray
arrayWithArray
top123xcode
·
2011-09-07 10:00
c
框架
测试
Path
Dictionary
[iOS开发站在巨人肩膀上]之How to implement a stack in Objective-C
How-to-implement-a-stack-in-Objective-C.aspxStackisaverycommonlyuseddatastructure.ButObjective-Cdoesnothavethisdatastructure.SoIuse
NSMutableArray
ipromiseu
·
2011-09-04 23:00
java
ios
c
object
basic
interface
[iOS开发站在巨人肩膀上]之How to implement Queue in Objective-C
How-to-implement-Queue-in-Objective-C.aspxHsuQueue.h Collapse | CopyCode@interfaceHsuQueue:NSObject{
NSMutableArray
ipromiseu
·
2011-09-04 23:00
ios
interface
iphone--给数组添加元素
//addthemainbuttonNSMutableArray *pathMainView=[[
NSMutableArray
alloc]init];for(int w=2;w<61;w++){//[
dyhbrewer
·
2011-09-01 15:00
iphone--使用控件数组
NSMutableArray
*path=[[
NSMutableArray
alloc]initWithObjects:@"06-7",@"06-6",@"06-5",@"06-8",@"06-4",@
dyhbrewer
·
2011-09-01 15:00
Simple XML to NSDictionary Converter
/09/simple-xml-to-nsdictionary-converter/////XMLReader.h//#import @interface XMLReader:NSObject{
NSMutableArray
qhexin
·
2011-09-01 12:00
xml
String
Dictionary
attributes
methods
whitespace
PSA: 从数组移除对象
PSA:Removingobjectsfromarrays你创建一个
NSMutableArray
.两次添加相同一个对象到数组中向数组发送removeObjectIdenticalTo:消息,传入你所添加的对象数组的
arthurchen
·
2011-08-25 22:12
ios
移动开发
iphone
iOS
PSA: 从数组移除对象
PSA:Removingobjectsfromarrays你创建一个
NSMutableArray
.两次添加相同一个对象到数组中向数组发送removeObjectIdenticalTo:消息,传入你所添加的对象数组的
arthurchen
·
2011-08-25 22:12
ios
移动开发
iPhone
NSMutableArray
休闲
PSA: 从数组移除对象
PSA:Removingobjectsfromarrays你创建一个
NSMutableArray
.两次添加相同一个对象到数组中向数组发送removeObjectIdenticalTo:消息,传入你所添加的对象数组的
ArthurChenJS
·
2011-08-25 22:00
测试
Arrays
PSA: 从数组移除对象
PSA: Removing objects from arrays 你创建一个
NSMutableArray
.
linuxstuding
·
2011-08-25 22:00
数组
plist 的读 和写
initWithInt:[[txt2text]intValue]]; NSNumber*age=[[NSNumberalloc]initWithInt:[[txt3text]intValue]];
NSMutableArray
wangccddaa
·
2011-08-22 14:54
职场
写文件
plist
休闲
读文件
遍历指定目录下的文件,将复合条件的文件加载到列表(UITableView))
viewDidLoad { NSFileManager *fileManager = [[NSFileManager defaultManager] init]; everyTitle = [[
NSMutableArray
helmsman_xcode
·
2011-08-22 09:00
ios
NSFileManager
viewDidLoad
UINavigationController,UIBarButtonItem应用的例子
rootViewController.m文件 - (void)viewDidLoad { self.title = @"First Page";
NSMutableArray
helmsman_xcode
·
2011-08-12 17:00
uibarbuttonitem
上一页
61
62
63
64
65
66
67
68
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他