每个 vc 都有自己的 navigationItem。
// 隐藏 push 的下一个 vc 的 back title。
navigationItem.backBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
#import <Foundation/Foundation.h> | |
#import "ffi.h" | |
NSMutableArray *g_allocations; | |
ffi_cif g_cif; | |
ffi_closure *g_closure; | |
void *g_replacement_invoke; | |
void *g_origin_invoke; |
#import <Foundation/Foundation.h> | |
typedef struct __block_impl { | |
void *isa; | |
int Flags; | |
int Reserved; | |
void *FuncPtr; | |
}__block_impl; | |
typedef void(^GlobalBlock)(void); |
import Cocoa | |
import Foundation | |
class Block { | |
var index: Int = 0 | |
var dateCreated: String | |
var previousHash: String! | |
var hash: String! | |
var nonce: Int | |
// | |
// ReviewRequest.swift | |
// | |
// Created by 张嘉夫 on 12/8/17. | |
// Copyright © 2017 张嘉夫. All rights reserved. | |
import Foundation | |
import StoreKit | |
let runIncrementerSetting = "numberOfRuns" // 用于存储运行次数的 UserDefauls 字典键 |
// | |
// PSPDFFastEnumeration.h | |
// PSPDFFoundation | |
// | |
// PSPDFKit is the leading cross-platform solution for integrating PDFs into your apps: https://pspdfkit.com. | |
// Try it today using our free PDF Viewer app: https://pdfviewer.io/ | |
// | |
// This file is MIT licensed. | |
@protocol PSPDFFastEnumeration <NSFastEnumeration> |
@implementation XCDUUID | |
+ (void) load | |
{ | |
// query runtime if NSUUID class already exists, if so => done | |
if (objc_getClass("NSUUID")) | |
{ | |
return; | |
} | |