- 博客(13)
- 收藏
- 关注
转载 使用Auto Layout中的VFL(Visual format language)--代码实现自动布局
点击打开链接本文将通过简单的UI来说明如何用VFL来实现自动布局。在自动布局的时候避免不了使用代码来加以优化以及根据内容来实现不同的UI。一:API介绍NSLayoutConstraint API1234NSLayoutConstraint+ (NSArray *)constraintsWithVisual
2015-05-05 17:08:57
428
原创 Swift 练习
import Foundationprintln("Hello, World!")let floatValue:Float = -1.3let intValue = 1234 + Int(floatValue)NSLog("intValue = %d", intValue);typealias MyInt = Int16println("MyInt的最小
2015-04-10 12:36:33
555
转载 Xcode 6制作动态及静态Framework
最近两天一直在研究如果打包封包的问题,在网上就着了很久自认为还不错的文章就保留下来了点击打开链接有没有写SDK或者要将一些常用的工具类做成Framework的经历? 你或许自己写脚本完成了这项工作,相信也有很多的人使用 iOS-Universal-Framework ,随着Xcode 6的发布,相信小伙伴们已经都知道了,Xcode 6支持做Framework了. 同时iOS-Uni
2015-01-21 11:02:54
423
转载 使用Xcode 5.1.1编译iOS Framework详细教程
最近两天一直在研究如果打包封包的问题,在网上就着了很久自认为还不错的文章就保留下来了点击打开链接作为iOS开发者,想必我们都用过Apple自带的或者第三方开发的Framework(框架),比如,当我们开发音视频功能时,需要在Xcode的TARGETS -> General -> Linked Frameworks and Libraries内添加苹果自带的框架AudiToolBox
2015-01-21 10:58:52
777
转载 CBPeripheralManager学习笔记
学习笔记,转载来自点击打开链接CBPeripheralManager学习笔记@interface CBPeripheralManager : NSObject//CBPeripheralManager的几种状态typedef NS_ENUM(NSInteger, CBCentralManagerState) {// 初始的时候是未知的(刚
2015-01-16 15:15:48
480
转载 CBCentralManager学习笔记
在网络上找了很久,看到有翻译好的,拿来做备份,感谢你们的付出,转载地址:点击打开链接// CBCentralManager学习笔记@interface CBCentralManager : NSObject//CBCentralManager的几种状态typedef NS_ENUM(NSInteger, CBCentralManagerS
2015-01-16 15:13:49
455
转载 CBPeripheralManager 学习笔记
文章都是来自网上,作为备份就拿来用了,转载地址:http://blog.csdn.net/dwarven/article/details/37873663CBPeripheralManager学习笔记@interface CBPeripheralManager : NSObject//CBPeripheralManager的几种状态typed
2015-01-16 15:10:15
932
转载 iOS蓝牙4.0开发例子
转载自http://www.cnblogs.com/visen-0/p/4013119.html1建立中心角色123#import CBCentralManager *manager; manager = [[CBCentralManager alloc] initWithDelegate:sel
2015-01-16 15:05:46
659
原创 IOS音频简单处理
首先加载AVFoundation.framework框架,然后加载一首自己喜欢的歌曲 .mp3其他看代码。。。#import #import "AVFoundation/AVFoundation.h"@interface ViewController :UIViewController{ AVAudioPlayer *player;
2013-07-10 19:52:49
631
原创 UIKit--UIButton的简单应用
#import @interface RootViewController :UIViewController{@private UILabel * label;//标签,用于显示字符串 UIButton * button;//按钮,用于点击,产生交互事件}@end
2013-07-10 10:48:11
551
原创 UIKit-Label的简单用法
- (void)viewDidLoad//被载入{ [superviewDidLoad]; self.view.backgroundColor = [UIColorgrayColor]; UILabel *label = [[UILabelalloc] initWithFrame:CGRectMake(60,
2013-07-08 17:55:04
628
原创 利用终端练习sqlite的操作
首先是创建一个文件来保存sql文件=>mkdir sqlite进入sql文件所在的目录=> cd sqlite/=> sqlite3 data.db创建一张data表create table Students(id,name,score);创建一张data表,如果不存在,就创建,如果存在,就不创建create table if not exists Stude
2013-07-08 13:26:45
747
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人