自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 问答 (1)
  • 收藏
  • 关注

原创 qq好友列表(tableview的使用)

////  ViewController.m//  qq好友列表////  Created by 洪福清 on 2016/12/13.//  Copyright © 2016年 BJTYL. All rights reserved.//#import "ViewController.h"#import "PersonMod

2017-02-28 14:26:14 370

原创 kvo 的认识(后续还有修改)

1.对Person 这个类 进行监听 self.person= [[Personalloc]init];self.person.name=@"hong"; [selftestDemoOne];2.设置监听 [self.personaddObserver:selfforKeyPath:@"name"options:NSKeyValue...

2019-06-11 15:20:29 73

原创 transform 学习

- (void)viewDidLoad {            [super viewDidLoad];            UILabel *backLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 100, 100)];    backLabel.backgroundColor = [UIColo...

2018-11-20 14:51:53 135

原创 tableview创建(swift)

////  ViewController.swift//  tableview////  Created by 洪福清 on 2017/1/17.//  Copyright © 2017年 BJTYL. All rights reserved.//import UIKitclass ViewController

2017-04-13 14:54:54 231

原创 ios时间差(与当前时间)

//写个字符串分类- (NSString *)dateTimeDifferenceWithStartTimeEndTime{    NSDateFormatter *date = [[NSDateFormatteralloc]init];    [date setDateFormat:@"yyyy-MM-dd HH:mm:ss"];    NSDate

2017-04-12 11:32:49 581

原创 ios下拉图片放大

////  ViewController.m//  ios下拉图片放大////  Created by 洪福清 on 2017/3/3.//  Copyright © 2017年 BJTYL. All rights reserved.//#import "ViewController.h"#define Ima

2017-03-03 11:46:02 271

原创 一个界面发多次网络请求(GCD使用)

- (void)test{        /*          先判断两个请求是否有依赖性,有的话就很简单了,在第一个请求回调后发送第二个请求。          如果两个请求没有依赖,但UI需要在两个请求完成后才能刷新,加个判断,如果两个请求完成就刷新。          如果都请求没有依赖性,界面也是分两部分展示请求下来

2017-02-27 16:20:11 1577

原创 segemtController 切换视图(可以左右滑动)

////  ViewController.m//  scrollview加collectionview////  Created by 洪福清 on 16/11/29.//  Copyright © 2016年 BJTYL. All rights reserved.//#import "ViewController.h"#

2016-11-29 16:54:06 383 1

原创 tableview嵌套scrollview(手势冲突暂无发现)

问题:像这样能进行滑动的界面。如何去搭建思路:创建分组tableview。。每组里面嵌套一个scrollview.1.在controller中- (void)viewDidLoad {    [superviewDidLoad];        self.view.backgroundColor = [UIColorredColo

2016-11-14 14:44:57 769

原创 调用手机闪光灯(项目遇到才写的)

- (void)viewDidLoad {    [superviewDidLoad];        self.view.backgroundColor = [UIColorwhiteColor];        //模拟器不支持。。别傻傻的用模拟器测试    UIButton *btn = [UIButtonbuttonWithTyp

2016-11-07 17:21:05 763 1

原创 collection头部和尾部的使用

1.就行tablview一样,collection view也是有头部和尾部的。。只不过他继承与UICollectionReusableView////  ViewController.m//  test2////  Created by 洪福清 on 16/8/11.//  Copyright © 2016年 BJTYL. All ri

2016-11-04 14:22:32 367

原创 tableview联动效果

- (void)viewDidLoad {    [superviewDidLoad];        self.view.backgroundColor = [UIColorwhiteColor];        _selectIndex =0;    _isScrollDown =YES;        NSString *pat

2016-11-03 16:29:12 244 2

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除