- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 ios 新浪微博分享
1.下载sdk http://open.weibo.com/ 2.成为开发者 3.创建应用 3.应用配置说明 Apple ID:可以随便填 Bundle ID:你的工程的Bundle Identifier,一定要相同 配置回调页面 4.代码编写 在工程中配置如下 appleDelegate中 #import "WeiboSDK.h"
2014-09-02 14:51:36
798
原创 ios 调用系统自带分享
1.分享 1.1 微博分享 调用系统的类分享(支持新浪,腾讯、twitter、Facebook) /1.导入框架 //SLServiceTypeTencentWeibo 腾讯微博 //SLServiceTypeSinaWeibo 新浪微博 //SLServiceTypeTwitter twitter //SLServiceTypeFacebook facebook //SLSer
2014-09-02 13:50:34
2622
原创 UITabBarController
UITabBarController *tabBarController=[UITabBarController alloc]init]; self.window.rootViewController=tabBarController; UINavigationController *nav1=[[UINavigationController alloc]initWithRootView
2014-02-17 13:40:46
500
原创 UIPickerView
// // ViewController.m // 2014-02-15_lx // // Created by QZP on 14-2-15. // Copyright (c) 2014年 QZP. All rights reserved. // #import "ViewController.h" @interface ViewControlle
2014-02-15 11:25:41
533
原创 OC-NSdate
NSDate * date=[NSDate date];//返回当前时间 date=[NSDate dateWithTimeIntervalSinceNow:10];//从当前时间在增加10秒 date=[NSDate dateWithTimeIntervalSince1970:10];//从1970-1-1 00:00:00开始后10秒 date=[NSDate distant
2013-12-20 16:53:04
546
原创 OC-NSValue
CGPoint point=CGPointMake(12,13); NSValue * value=[NSValue valueWithPoint:point];//将结构体包装成一个对象 NSMutableArray * array=[NSMutableArray array]; [array addObject:value];//添加value //取出 NSValue *
2013-12-20 16:51:06
590
原创 Object-C 结构体学习
struct Date{//定于Date这种类型的结构体 int year; int month; int day; } //定义结构体变量 struct Date d={2013,1,1}; d.day=6; //------------------------------ typedef struct Date{//定于Date这种类型的结构体 int ye
2013-12-20 15:58:11
583
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅