自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

转载 秒杀

// alert(1);// setInterval(function(){// alert(11);// $("#kw").val("时间");// },1000);//alert($("#su").attr("value"));// var newNode = document.createElement("p");//创建P标签 ...

2016-11-14 14:06:00 115

转载 image转文件

UIImage *image = self.imageCompainPhoto.image; NSData *imageData = UIImagePNGRepresentation(image); [imageData writeToFile:@"/Users/apple/desktop/123.png" atomically:YES];转载于:https:/...

2015-10-10 15:52:00 138

转载 ios nslog 打印字典为中文

#import <Foundation/Foundation.h>@implementation NSDictionary (Log)- (NSString *)descriptionWithLocale:(id)locale{ NSMutableString *str = [NSMutableString string]; ...

2015-09-29 14:47:00 126

转载 navigation的pushViewController卡顿问题

设置push过去的控制器的颜色就好了self.view.backgroundColor = MAIN_COLOR_GRAY;转载于:https://www.cnblogs.com/athook/p/4798253.html

2015-09-10 16:14:00 79

转载 addChildViewController 用法

//// SCMyOrderViewController.m// SmartCommunity//// Created by chenhuan on 15/9/7.// Copyright (c) 2015年 smartcommunity. All rights reserved.//#import "SCMyOrderViewControll...

2015-09-09 16:42:00 109

转载 父控制器通知子控制器做事情

SCAllOrderViewController *redController = [[SCAllOrderViewController alloc] init]; redController.tag=1; [redController setTitle:@"全部"]; SCWatiPayViewController *gree...

2015-09-09 15:36:00 194

转载 UIScrollView 滚动停止的时候一次调用此方法

//拖动返回选中的索引 当滚动视图停止时的时候- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView{ CGFloat width = scrollView.frame.size.width; NSLog(@"%f",scrollView.contentOffset.x); in...

2015-09-09 15:10:00 137

转载 调整cell的间距

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{ if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) { se...

2015-09-08 16:37:00 193

转载 自定义图层 注意

calayer=[CALayer layer]; // SCMylayer *layer = [SCMylayer layer]; //2.设置layer的属性 calayer.backgroundColor=[UIColor clearColor].CGColor; calayer.bounds=CGRectMake(0, 0, SC...

2015-09-08 10:59:00 121

转载 ios 实时刷新屏幕

index=0;// timer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:layer selector:@selector(setNeedsDisplay) userInfo:nil repeats:YES]; [arrM removeAllObjects]; Link = [CA...

2015-09-08 10:03:00 136

转载 更换ios 开发者账号与下载别人的代码 真机调试时注意切换

Buid Setting search sign转载于:https://www.cnblogs.com/athook/p/4779029.html

2015-09-02 17:06:00 159

转载 ios NSKeyedArchiver 保存对象与对象数组

废话不说,直接上代码 1 // 2 // CommunityTool.h 3 // SmartCommunity 4 // 5 // Created by chenhuan on 15/9/2. 6 // Copyright (c) 2015年 smartcommunity. All rights reserved. 7 // 8 9 #...

2015-09-02 16:49:00 199

转载 android手电筒开发

最近学习android开发,记录学习过程,分享一写小案例一. 如下先设置好布局文件<TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" ...

2014-03-01 17:15:00 114

转载 jquey复选框三级分类关联一二级分类

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Category_Manage_New_Two.aspx.cs" Inherits="Lilaidao.Admin.Weblogin.Category_Manage_New_Two" %><%@ Register Src="botto...

2014-02-13 15:27:00 184

空空如也

空空如也

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

TA关注的人

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