摘要:
父控制器 #import #import "ScrollViewExt.h"@interface BaseKeyBoardCtrl : UIViewController@property(nonatomic,assign)ScrollViewExt *scrollviewExt;//键盘隐藏-(... 阅读全文
随笔分类 - ios新浪微博
NSDictionary的分类
2013-10-16 09:10 by 甘超波, 433 阅读, 收藏, 编辑
摘要:
@implementation NSDictionary (extra)//根据key值的到字典中的object- (id)getObjectByKey:(NSString*)key { NSArray *array = [key componentsSeparatedByString:@... 阅读全文
新浪博客中放大图片的做法
2013-09-27 17:11 by 甘超波, 476 阅读, 收藏, 编辑
摘要:
在自定义cell中子的UIImageview添加手势,单击手势触发下面的事件 UIImageview _statuImage=[[UIImageView alloc] init]; _statuImage.userInteractionEnabled=YES; ... 阅读全文
ios中开始页面做法
2013-07-02 20:43 by 甘超波, 1370 阅读, 收藏, 编辑
摘要:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[[UIWindow alloc] ... 阅读全文
自定义UITabbarcontrollerview
2013-06-24 10:17 by 甘超波, 2412 阅读, 收藏, 编辑
摘要:
// 初始化contentView [self initContentView]; #pragma mark 初始化contentView- (void)initContentView { CGSize size = self.view.bounds.size; UIView *c... 阅读全文
新浪微博中tableview中头部信息
2013-06-23 22:26 by 甘超波, 1655 阅读, 收藏, 编辑
摘要:
#import @class User;@protocol ASIHTTPRequestDelegate;@interface ProfileHeaderView : UIView @property (nonatomic, retain) User *user;@property (nonat... 阅读全文
tableview中头部信息
2013-06-23 16:05 by 甘超波, 1691 阅读, 收藏, 编辑
摘要:
//创建tableview中头部的文件#define kPadding 10#define kIconWidth 100#define kIconHeight 100#define kCountButtonHeight 35#define kCountSize 12#define kCountB... 阅读全文
新浪微博的布局
2013-06-22 08:51 by 甘超波, 1326 阅读, 收藏, 编辑
摘要:
//// MJTabbarItem.m// 新浪微博//// Created by mj on 13-4-21.// Copyright (c) 2013年 itcast. All rights reserved.// #import "MJTabbarItem.h" @implementation... 阅读全文
新浪iphone微博小结
2013-06-11 14:42 by 甘超波, 480 阅读, 收藏, 编辑
摘要:
1:程序第一次进入的时候,通过判断沙盒(偏好设置中)中保存的版本号和程序运行的版本号进行判断。如果不相同,就进入新特性页面 ——》 》1:新特性页面展示的新特性图片,都是从plist中读取出来,最终读取出来的plist的图片信息,放在scrollerview上展示 》2: 在新特性页面,中最后一... 阅读全文