04 2015 档案
摘要:#import @interface ViewController : UIViewController@property (strong, nonatomic) IBOutlet UIImageView *imageview;@property(nonatomic,strong)NSMutable...
阅读全文
摘要:#import "ViewController.h"@interface ViewController ()@property (strong, nonatomic) IBOutlet UITextField *textfield;@end@implementation ViewController...
阅读全文
摘要:#import int main(int argc, const char * argv[]){//集合 NSDictionary *dic=[[NSDictionary alloc] initWithObjectsAndKeys:@"zs",@"name",@18,@"age",@"lissi"...
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}- (void)didReceiveMemoryWarning ...
阅读全文
摘要:#import "ViewController.h"@interface ViewController ()@end@implementation ViewController-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)even...
阅读全文
摘要:#import "ViewController.h"@interface ViewController (){ UIImageView *imageview2; UIScrollView *sv; UIPageControl *page;}@end@implementation ViewCon...
阅读全文
摘要:1点:(swift)根据数组的个数来确定一个区有几行cell。把cell的高设置为100。数组个数为0时,cell不显示,设置的高不起作用。 第一: #import "ViewController.h" @interface ViewController () { UITableView *tabl
阅读全文
摘要:#import "ViewController.h"@interface ViewController (){ UITextField *tf; UIImageView *myview;}@end@implementation ViewController- (void)viewDidLoad ...
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}- (IBAction)click:(id)sender {//...
阅读全文
摘要:#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (UICollectionViewCell *)collectionView:(UICollectionView *)c...
阅读全文

浙公网安备 33010602011771号