iOS即时通讯,从入门到“放弃”:http://www.jianshu.com/p/2dbb360886a8
tuyaohui / im_ios Goto Github PK
View Code? Open in Web Editor NEWiOS即时通讯,从入门到“放弃”?
iOS即时通讯,从入门到“放弃”?
iOS即时通讯,从入门到“放弃”:http://www.jianshu.com/p/2dbb360886a8
我用您TYHSocketManager封装SocketRocket的这个管理类,在正常环境应该没问题,然后上线了,线上总是会出现这个问题,可能网络断开或者服务器断开会闪退,我闪退日志如下:
exception type : NSInvalidArgumentException
crash reason : +[NSTimer scheduledTimerWithTimeInterval:repeats:block:]: unrecognized selector sent to class 0x3bae0aac
call stack info : (
0 CoreFoundation 0x25aef123 + 150
1 libobjc.A.dylib 0x25296e17 objc_exception_throw + 38
2 CoreFoundation 0x25af4841 + 0
3 CoreFoundation 0x25af2559 + 700
4 CoreFoundation 0x25a22c08 _CF_forwarding_prep_0 + 24
5 VVCloudmall 0x001bb98f VVCloudmall + 1034639
6 libdispatch.dylib 0x25669b5b + 10
7 libdispatch.dylib 0x25669b47 + 22
8 libdispatch.dylib 0x25677ee1 + 1524
9 CoreFoundation 0x25ab23fd + 8
10 CoreFoundation 0x25ab08f7 + 1574
11 CoreFoundation 0x25a03bf9 CFRunLoopRunSpecific + 520
12 CoreFoundation 0x25a039e5 CFRunLoopRunInMode + 108
13 GraphicsServices 0x26c4eac9 GSEventRunModal + 160
14 UIKit 0x29ceef81 UIApplicationMain + 144
15 VVCloudmall 0x001f15c3 VVCloudmall + 1254851
16 libdyld.dylib 0x256b3873 + 2
)
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.