###iOS开发常见问题解决汇总
####代码篇
-
隐藏空白cell的分割线
UIView *footer =[[UIView alloc] initWithFrame:CGRectZero]; myTableView.tableFooterView = footer; [footer release];
import UIKit | |
import AVFoundation | |
import Photos | |
import MobileCoreServices | |
class ViewController: UIViewController { | |
override func viewDidAppear(_ animated: Bool) { | |
super.viewDidAppear(animated) | |
startVideoToGIFProcess() |
// | |
// PHPickerViewController+Promise.swift | |
// | |
// Created by cleexiang on 2021/5/22. | |
// | |
import Foundation | |
import PhotosUI | |
import PromiseKit | |
import Photos |
source ~/.bash_profile | |
cd ${SRCROOT} | |
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json clean | |
/path/to/xctool.sh -reporter json-compilation-database:compile_commands.json build | |
oclint-json-compilation-database | sed 's/\(.*\.\m\{1,2\}:[0-9]*:[0-9]*:\)/\1 warning:/' |
import Foundation | |
extension String | |
{ | |
var length: Int { | |
get { | |
return countElements(self) | |
} | |
} | |
###iOS开发常见问题解决汇总
####代码篇
隐藏空白cell的分割线
UIView *footer =[[UIView alloc] initWithFrame:CGRectZero]; myTableView.tableFooterView = footer; [footer release];