摘要: #import @interface ViewController : UIViewController@property (strong, nonatomic) IBOutlet UIImageView *imageview;@property(nonatomic,strong)NSMutable... 阅读全文
posted @ 2015-04-22 11:11 尸者禾火雨相 阅读(133) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController ()@property (strong, nonatomic) IBOutlet UITextField *textfield;@end@implementation ViewController... 阅读全文
posted @ 2015-04-11 12:55 尸者禾火雨相 阅读(139) 评论(0) 推荐(0)
摘要: #import int main(int argc, const char * argv[]){//集合 NSDictionary *dic=[[NSDictionary alloc] initWithObjectsAndKeys:@"zs",@"name",@18,@"age",@"lissi"... 阅读全文
posted @ 2015-04-11 08:26 尸者禾火雨相 阅读(137) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}- (void)didReceiveMemoryWarning ... 阅读全文
posted @ 2015-04-10 13:43 尸者禾火雨相 阅读(139) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)even... 阅读全文
posted @ 2015-04-10 13:39 尸者禾火雨相 阅读(131) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController (){ UIImageView *imageview2; UIScrollView *sv; UIPageControl *page;}@end@implementation ViewCon... 阅读全文
posted @ 2015-04-09 12:50 尸者禾火雨相 阅读(129) 评论(0) 推荐(0)
摘要: 1点:(swift)根据数组的个数来确定一个区有几行cell。把cell的高设置为100。数组个数为0时,cell不显示,设置的高不起作用。 第一: #import "ViewController.h" @interface ViewController () { UITableView *tabl 阅读全文
posted @ 2015-04-09 12:44 尸者禾火雨相 阅读(178) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController (){ UITextField *tf; UIImageView *myview;}@end@implementation ViewController- (void)viewDidLoad ... 阅读全文
posted @ 2015-04-09 11:12 尸者禾火雨相 阅读(279) 评论(0) 推荐(0)
摘要: - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}- (IBAction)click:(id)sender {//... 阅读全文
posted @ 2015-04-08 16:40 尸者禾火雨相 阅读(117) 评论(0) 推荐(0)
摘要: #import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (UICollectionViewCell *)collectionView:(UICollectionView *)c... 阅读全文
posted @ 2015-04-08 15:49 尸者禾火雨相 阅读(140) 评论(0) 推荐(0)