soldoros / sschat Goto Github PK
View Code? Open in Web Editor NEW社交网络
Home Page: https://www.jianshu.com/p/2b139c3e3f44
社交网络
Home Page: https://www.jianshu.com/p/2b139c3e3f44
亲 怎么只要文字消息了呢??是其他的消息还在开发中么??
clone下来之后pod update后提示NIMSDK不存在~
在NSTimer+SSAdd分类中
//时间戳转换成时间(YYYY-MM-dd HH:mm:ss)
+ (NSString *)getTimeWithTimeStamp:(long)timeStamp{
// 格式化时间
NSDateFormatter* formatter = [[NSDateFormatter alloc] init];
formatter.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:8];
[formatter setDateStyle:NSDateFormatterMediumStyle];
[formatter setTimeStyle:NSDateFormatterShortStyle];
[formatter setDateFormat:@"YYYY-MM-dd HH:mm:ss"];
// 毫秒值转化为秒 /1000
NSDate* date = [NSDate dateWithTimeIntervalSince1970:timeStamp];
NSString* dateString = [formatter stringFromDate:date];
return dateString;
}
时区的转化好像有点问题,显示的依旧是零时区时间,改成
formatter.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:8*3600];
就正常显示了
作者有时间看下这里
感谢开源~
首先多谢分享,已star,在demo中发送地址,无法选择返回,另外在刘海屏下,输入框下方遮盖表情处,点击底部安全区空白处仍然能穿透点击到表情
是有什么大文件吗,clone不下来,每次都断了
自定义的表情没有了,emotion_icons.plist文件也没有
你的聊天时间换算不正确
启动起来怎么运行什么都么有?难道我下了个假的项目???微电??啥玩意
第一次刷新历史记录的时候,刷新布局有点久,需要优化一下,还有弹出键盘的时候会有卡顿,提出一下,看你有时间优化下
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.