xujiebing / xujiebing.github.io Goto Github PK
View Code? Open in Web Editor NEW个人博客
个人博客
https://xujiebing.github.io/2019/06/22/Cocoapods%E5%88%9B%E5%BB%BApodspec%E8%AF%B4%E6%98%8E/
一.创建远程私有库创建一个私有的podspec包括如下那么几个步骤: 123456- 创建并设置一个私有的Spec Repo。 - 创建Pod所需要的项目工程文件。- 向远程仓库提交工程项目。- 向私有的Spec Repo中提交podspec- 在个人项目中引入私有库。 - 更新维护podspec。 在整个过程中我们一共需要两个Git仓库。一个是用来放Pods索引的,也就是第一步中用到的,而且
1.Pod安装 创建Podfile文件 1pod init 安装podfile中的远程库 1pod install 安装podfile中的远程库,但不更新本地spec文件 2.缓存相关 查看所有spec文件的缓存,可以直接到路径下删除文件 1pod cache list 删除指定的缓存文件 1pod cache clean AFNetworking 3.踩坑记录 [!] Attem
百度网盘非SVIP下载网速受限,上传文件大小受限怎么办? 充会员,那是不可能的,哈哈! 敲黑板,划重点 macOS上先安装好百度网盘 登录账号 执行脚本 1cd ~/Downloads && git clone https://github.com/CodeTips/BaiduNetdiskPlugin-macOS.git && ./BaiduNetdiskP
组件化之生命周期管理组件化过程中,不同模块可能需要实现UIApplicationDelegate的代理方法。非组件化开发过程中可能就是直接在工程AppDelegate中处理不同业务功能的需求,但是在组件化之后,这么做明显是不合理的。 既然组件化了,业务逻辑应该是在各个组件中去处理,不应该跟主工程的业务代码耦合。那么如何实现将UIApplicationDelegate中的代理方法分发到各个组件中去实
App监听生命周期事件在App开发过程中,我们经常需要监听App的生命周期。一般情况下是通过注册监听,接收系统的通知,处理通知结果。 实现三步曲: 1234567891011121.添加监听 [NSNotificationCenter.defaultCenter addObserver:self selector:@selector(p_didFinishLaunching:) name:UIA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.