• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






PJXWang

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 ··· 11 下一页

2016年9月29日

scrollView封装广告轮播实例代码(Hank版)
摘要: #import <UIKit/UIKit.h> @interface PJXPageView : UIView /* 圆点颜色*/ @property(strong,nonatomic)UIColor *PJX_currentColor; /*没选中的圆点颜色*/ @property(strong, 阅读全文
posted @ 2016-09-29 17:47 PJXWang 阅读(168) 评论(0) 推荐(0)
 

2016年9月23日

scrollView封装广告轮播示例代码
摘要: #import <UIKit/UIKit.h> @interface PJXScrollView : UIScrollView -(void)setBannerImageArray:(NSArray*)imageArray; -(void)addPageControl; @end #import " 阅读全文
posted @ 2016-09-23 09:44 PJXWang 阅读(193) 评论(0) 推荐(0)
 

2016年9月8日

UITabBar的appear设置属性 --iOS
摘要: //主题设置 [[UITabBar appearance] setBackgroundImage:[UIImage imageNamed:@"tabbar-light"]]; NSDictionary * dict = @{ NSFontAttributeName : [UIFont systemF 阅读全文
posted @ 2016-09-08 23:05 PJXWang 阅读(312) 评论(0) 推荐(0)
 
UIView的分类--iOS
摘要: #import <UIKit/UIKit.h> @interface UIView (PJXExtension) @property(assign,nonatomic) CGFloat x; //x坐标 @property(assign,nonatomic) CGFloat y; //y坐标 @pr 阅读全文
posted @ 2016-09-08 22:52 PJXWang 阅读(207) 评论(0) 推荐(0)
 
创建不被渲染的image (uiimage扩展)--iOS
摘要: @interface UIImage (PJXExtention) @property(nonatomic,strong,readonly)UIImage * originarImage; +(UIImage *)originarImageNamed:(NSString *)name NS_DEPR 阅读全文
posted @ 2016-09-08 22:49 PJXWang 阅读(255) 评论(0) 推荐(0)
 
引导页实现代码--iOS
摘要: @interface PJXPushGuideView : UIView +(instancetype)guideView; +(void)show; @end #import "PJXPushGuideView.h" @implementation PJXPushGuideView +(insta 阅读全文
posted @ 2016-09-08 22:28 PJXWang 阅读(334) 评论(0) 推荐(0)
 

2016年9月6日

ios面试笔记
摘要: delegate和notification区别,分别在什么情况下使用? Delegate: 消息的发送者(sender)告知接收者(receiver)某个事件将要发生,delegate同意然然后发送者响应事件,delegate机制使得接收者可以改变发送者的行为。通常发送者和接收者的关系是直接的一对一 阅读全文
posted @ 2016-09-06 15:57 PJXWang 阅读(211) 评论(0) 推荐(0)
 

2016年9月1日

获取项目根路径,并在其下创建一个名称为userData 的目录。
摘要: NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES); NSString *documentsDirectory = [paths objectAtIndex:0]; 阅读全文
posted @ 2016-09-01 11:05 PJXWang 阅读(318) 评论(0) 推荐(0)
 

2016年8月29日

剪切板实现拖拽代码
摘要: // // PJXDragAndDropView.m // PJXPasteboard // // Created by 王俏 on 16/8/29. // Copyright © 2016年 wangqiao. All rights reserved. // #import "PJXDragAnd 阅读全文
posted @ 2016-08-29 23:07 PJXWang 阅读(1087) 评论(0) 推荐(0)
 
绘制渐变背景代码
摘要: - (void)drawRect:(NSRect)dirtyRect { [super drawRect:dirtyRect]; NSGradient *backgroundGradient = [[NSGradient alloc] initWithStartingColor:[NSColor c 阅读全文
posted @ 2016-08-29 10:13 PJXWang 阅读(232) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 ··· 11 下一页