
CoreGraphics框架下都没有UIImage+ImageEffects.h和UIImage+ImageEffects.m这两个文件
一行代码实现毛玻璃效果介绍 这里并 不 是 用到了UIVisualEffectView,毕竟iOS8.0之后才能使用。 而是。。在网上看见的一个分类,应该是国外的Coder写的吧。让我想起了...
#import "ViewController.h" #import "LZAudioTool.h" @interface ViewController () @proper...
#import "RootViewController.h" #import#define KScreenWidth [[UIScreen mainScreen]bounds...
#import "RootViewController.h"#import@interface RootViewController ()@property (nonatom...
#import "AppDelegate.h" #import "RootViewController.h" @interface AppDelegate () @end @...
// 最下面的scrollView @property (nonatomic, strong) UIScrollView *scrollView; // 网址数组 @prop...
1.移除现有Ruby默认源 gem sources --remove https://rubygems.org/ 2.使用新的源 gem sources -a https:/...
#importtypedef NS_ENUM(NSInteger, NetWorkStateType) { NetWorkStateUnKnow, // 未知网络 NetWo...
#import // 这个类是基于对AFNetWorking的一个二次封装 // 之前我们请求的方式是用NSURLSession 现在我们请求的方式变成AFNetWorkin...
#import// 创建文件或者文档所在的路径 typedef NS_ENUM(NSInteger, FilePathType) { DocmuntsType, Caches...
#import// 创建文件或者文档所在的路径 typedef NS_ENUM(NSInteger, FilePathType) { DocmuntsType, Caches...
一 声明方法 #import@interface MyLodingView : UIView + (void)showLoadingWithAfterDelay:(NSTim...
import <Foundation/Foundation.h> 一 声明属性和方法 // 请求数据成功之后进行回调 返回NSData typedef void(^Fini...
一 、OC中单例的写法:1.普通单例的写法 2. 利用多线程来写单例 #pragma mark --- 普通单例写法---- + (Manager *)shareInstan...
一 、AppDelegate.swift 里设置导航控制器 import UIKit @UIApplicationMain class AppDelegate: UIResp...
import UIKit class ViewController: UIViewController { override func viewDidLoad() { sup...