Code Monkey home page Code Monkey logo

xiamu's Introduction

xiamu

自己练习写的一款小软件,项目功能有:3Dtouch,数据库,runtime传值,聊天页面,本地推送,自定义启动页,指纹密码识别,iCloud储存,新闻缓存,直播测试,加速传感器测试,朋友圈,微博.

2017.04 创建工程

2017.11.03 添加微博,朋友圈,感谢YYkit,https://github.com/zhengwenming/WeChat

2017.11.09 解决微博图片不显示问题

微博WebP报错:[-[YYImageDecoder _updateSourceWebP]: 1834] WebP is not available, check the documentation to see how to install WebP component: https://github.com/ibireme/YYImage#installation

解决方法:1.add Vendor/WebP.framework(static library) to your Xcode project. 2.点击 Build Settings ,然后在搜索框里输入‘macros’,在 Preprocessor Macros 的 Debug 后面会有 DEBUG=1,去掉

2017.11.09 更新YYkit 更新启动页,启动页使用XHLaunchAd.XHLaunchAd之前使用的是YYkit,现在是自己的缓存机制.

2017.11.09 创建pod,未来会把第三方都是用pod

2017.11.13 以后新添加的第三方库都用pod

pod使用方法: 1.终端cd到项目 2.touch Podfile,创建Podfile文件 3.vim Podfile 4.按键盘上的英文'i'键 下面的"Podsfile" 0L, 0C将变成-- INSERT -- 5.输入以下文字,vim不支持鼠标.'NewHaipei'就是工程名字,NewHaipei.xcodeproj的名字,不是文件夹名字. target ‘NewHaipei’ do pod 'BAWKWebView', '~> 1.0.8' end 6.先按左上角的esc键,再按shift+;键,再输入wq,点击回车,就保存并退出去了 7.pod install

2017.11.13 添加OC和JS交互 使用https://github.com/BAHome

2017.11.14 微博cell的相关事件使用的是代理,朋友圈使用的是block

2019.04.15 更新Xcode10

  1. [[self.circleSet lastObject] setState:state]报错 在代码声明circleSet属性如下:@property (nonatomic, strong) NSMutableArray *circleSet; circleSet数组元素是PCCircle类,上边方法直接拿数组元素(没有实例化实例)调用实例方法。

解决方法:将circleSet属性声明为泛型方式如下:@property (nonatomic, strong) NSMutableArray <PCCircle*>*circleSet;

再一次验证了xcode10的严谨性

2.xcode10不允许同名文件存在;框架里的重名文件,xcode10之前一直没问题,说明xcode10比xcode9要严谨;不同的框架都存在info.plist;

解决方法:忽略重读文件xcode--file--Workspace Settings--Build System--legacy Build System

xiamu's People

Contributors

yanfeng12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.