- 博客(4)
- 收藏
- 关注
原创 iOS蓝牙4.0开发流程
// // ViewController.m // CoreBluetooth // // Created by rimi on 15/10/19. // Copyright © 2015年 RIMI. All rights reserved. //#import "ViewController.h" #import <CoreBluetooth/CoreBluetooth.h>@inter
2015-10-20 10:27:05 444
原创 使用UICollectionView实现图片轮播
1.因为UICollectionView继承于UIScrollView,所以我们可以使用UICollectionView来实现图片的无限轮播,当图片数量增加UICollectionView可以帮助我们减少内存的消耗。#import "ViewController.h"static NSString *cellIdef_ = @"cellIdef";@interface ViewController
2015-10-14 16:28:28 3942
原创 图片轮播
define HWNewfeatureCount 4@interface HWNewfeatureViewController () @property (nonatomic, weak) UIPageControl *pageControl;@property (nonatomic, weak) UIScrollView *scrollView; @end@implementation HW
2015-10-13 17:57:58 292
原创 自定义searchBar
一、继承UITextField,重写方法 (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { self.font = [UIFont systemFontOfSize:15]; self.placeholder = @”请输入搜索条件”; self.ba
2015-10-12 15:47:46 383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人