Null value was assigned to a property of primitive type setter of com.zsba.AdornCompanyInfo.provinceOrderMemberInteger order和int order;的区别:Integer是对象....
分类:
其他好文 时间:
2014-07-16 22:50:06
阅读次数:
192
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *show;@end@implementation ViewController - (voi...
分类:
其他好文 时间:
2014-07-16 20:41:43
阅读次数:
186
1、利用xcode6控件搭成计算器界面2、程序#import "ViewController.h"@interface ViewController (){ float result; int i;}@property (weak, nonatomic) IBOutlet UILabel *lab....
分类:
其他好文 时间:
2014-07-16 20:31:06
阅读次数:
334
先新建一个类 startCalculator声明如下#import @interface StartCalculator : NSObject//声明两个要计算的变量@property float opValue1;@property float opValue2;//声明一个运算符@propert...
分类:
其他好文 时间:
2014-07-16 20:30:08
阅读次数:
241
1、查看数据库属性信息set linesize 200col PROPERTY_VALUE for a40col PROPERTY_NAME for a50col DESCRIPTION for a50select * from database_properties;
分类:
数据库 时间:
2014-07-16 19:38:28
阅读次数:
164
#import "ViewController.h"#import "cal.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *calrusult; @end float i=10.0;@i...
分类:
其他好文 时间:
2014-07-14 09:40:03
阅读次数:
282
#import "ViewController.h"
@interface ViewController ()
@property (strong,nonatomic) NSArray *bj;
@property (strong, nonatomic)NSArray *gd;
@end
@implementation ViewController
- (void)viewDidLoad...
分类:
其他好文 时间:
2014-07-12 22:22:54
阅读次数:
286
控制:我们必须学会控制大师尤达(电影《星球大战》)曾有言:关键在于控制。这本故事书是一个词一个词地念出来的,我准备为它增加两个按钮,这样我们就可以实时地调整语音合成时的音高和语速。仍然是 RWTPageViewController.m,在nextSpeechIndex 属性后声明下列属性: @property (nonatomic, assign) float currentPitchMul...
分类:
移动开发 时间:
2014-07-12 18:20:20
阅读次数:
438
4.写一个setter方法用于完成@property (nonatomic,retain)NSString *name,写一个setter方法用于完成@property(nonatomic,copy)NSString *name-(void)setName:(NSString*)str{[strre...
分类:
移动开发 时间:
2014-07-12 15:03:09
阅读次数:
327
1,引入文件,#import IOS7 中可以这样写@import Foundation;2,在.h文件引入的是公用的,在.m文件里面引用的是本类私有的。私有属性声明@interface Card()//在这里面声明@property (strong) NSString *contents;@end...
分类:
移动开发 时间:
2014-07-12 14:51:30
阅读次数:
260