- 博客(15)
- 资源 (21)
- 收藏
- 关注
转载 使用UIScreenEdgePanGestureRecognizer写iOS7侧边栏
A UIScreenEdgePanGestureRecognizer looks for panning (dragging) gestures that start near an edge of the screen. The system uses screen edge gestures in some cases to initiate view controller transitio
2014-05-28 16:40:30 1556
转载 在MAC OS X下安装usb转串口驱动(PL2303主控芯片)
因为最近手里有一块STM32Discovery开发板,所以想搞一下STM32的开发,我前面的博文已经讲过怎么在MAC OS X下搭建STM32的开发环境(完全DIY),今天给大家带来的是安装usb转串口驱动程序。首先看一下usb转串口线:正面反面 好吧,完全看不出它的芯片用的啥,拆之--哈哈,原来是大名鼎鼎的PL-2303芯片,Proli
2014-05-28 12:44:19 3351
转载 iOS7下滑动返回与ScrollView共存二三事
iOS7下滑动返回与ScrollView共存二三事 【前情回顾】去年的时候,写了这篇帖子iOS7滑动返回。文中提到,对于多页面结构的应用,可以替换interactivePopGestureRecognizer的delegate以统一管理应用中所有页面滑动返回的开关,比如在UINavigationController的派生类中1 //我是一个Navigatio
2014-05-27 10:41:23 744
转载 iOS 7 滑动返回那些事儿
在智能机越来越普及,屏幕越做越大的当下,滑动返回手势已经成为了一个应用的标配功能,甚至可以说,不能滑动返回是一种反人类的交互体验。滑动返回现在大致有以下3种类型:使用 UISwipeGestureRecognizer 实现,效果为用户在屏幕中向右轻扫手指,页面返回。使用 UIPanGestureRecognizer 实现,效果为用户在屏幕中向右滑动手指,松开后页面返回。使用 iOS
2014-05-27 10:26:55 1269
转载 将iPhone的当前画面UIView保存为图片
你是不是也想过将当前的UIView作为图片保存到iPhone的Photo Albums呢。下面给出实现该功能的代码。非常简单,5行就搞定了。 UIGraphicsBeginImageContext(currentView.bounds.size); [currentView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage
2014-05-23 08:33:28 740
转载 INSTALL PKG-CONFIG FOR MAC OSX
For those who don’t know about pkg-config, it is a tool that help we compile applications and libraries by inserting the correct compiler options.Now, how can we install pkg-config for Mac OSX ?
2014-05-22 13:03:44 1941
转载 IOS二维码解决方案
1,扫描二维码可以用Zxing或者Zbar(Zbar没有用过);Zxing这个项目中同时包含了Java和C#方面的支持,但是在IOS这块,Zxing只能扫描,不能生成;2,生成二维码有一些方案,但是ObjQRencoder这个方案不支持中文,目前也基本上没有解决方案;能顺利支持中文二维码的只找到了一个libqrencode;3,在app4code网站中有一个关于Zbar和libqr
2014-05-22 11:20:37 890
转载 IOS成长之路-Undefined symbols for architecture armv7s:解决之道
Undefined symbols for architecture armv7s: "_sqlite3_reset", referenced from: _initializeStatement in Parse(PF_FBCacheIndex.o)只因缺少了某个类库文件,我们只需去把它添加进去即可。在这里"_sqlite3_reset"
2014-05-22 09:25:44 827
转载 iOS7 AVFoundation 二维码扫瞄
iOS7,AVFoundation中现在已经内置支持一维和二维码的扫瞄,iOS6及之前的想要扫瞄二维码,还是需要添加第三方库ZXing和ZBar。ZBar生成二维码:http://blog.csdn.net/cafei111/article/details/8924297先添加AVFoundation.framework#import @inte
2014-05-20 16:25:32 1073
转载 使用ZBarSDK生成和读取二维码
1.下载ZBarSDK,下载地址:http://zbar.sourceforge.net/iphone/index.html2.新建项目,导入ZBarSDK,并添加下列frameworkCoreMedia.frameworkCoreVideo.frameworkAVFoundation.frameworkQuartzCore.frameworklib
2014-05-20 10:14:38 697
转载 IOS开发(22)之生成IPA文件并安装到越狱后的真机上
转载:http://blog.csdn.net/developer_zhang/article/details/8859551
2014-05-16 08:47:39 588
转载 UItableView单选和多选
单选来自:http://blog.sina.com.cn/s/blog_5d68044001017to3.html- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ int newRow = [indexPath row]; int oldRow = (lastIn
2014-05-14 15:28:03 749
转载 iOS7中UILabel高度调整注意事项
我的“记词助手”在升级到iOS7之后,一直出现UILabel错位的问题:我的label是用- (CGSize)sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(NSLineBreakMode)lineBreakMode 来计算的,但是似乎计算得不是很正确。实际上UILabel的
2014-05-12 15:15:55 833
转载 Table Header and Footer View
Each table view has a UIView associated with the header and footer.By default, these views are set to nil. You can create a custom UIViewand then set it as the header or footer view. In the followin
2014-05-09 17:53:40 661
单片机I2C总线AT24C02读写、扩展keil工程多个实例及Proteus仿真
2021-12-17
helloopengl.zip
2019-09-03
STM32 F103R6 寄存器方式读写GPIO实例源代码(Keil)及protues 8.6 sp2 仿真工程
2018-04-26
STM32 F103R6 GPIO 闪烁源代码(Keil)及protues 8.6 sp2 仿真工程
2018-04-26
c++程序调用c# 库 Demo工程代码实例
2014-02-26
FMS4.5 Adobe官方全英文PDF教程
2012-11-20
nsis 脚本编写之Hello World 源代码包
2012-11-11
FMS 4.5 + Flex mobile 之 Hello World 工程源代码
2012-11-07
flex基于actionscript源代码——适用Flex 4
2012-10-28
HeadsetPlugANESample.zip
2012-08-27
Flex Mobile ANE Hello Sample
2012-08-26
Parsley Hello World 实例工程源代码
2012-08-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人