public IActionResult GetMonthData() { var dataList = new List<object>(); var currentMonth = DateTime.Now.Month; //获取当月 var currentDay = DateTime.Now.Day; //...........天 var currentHour = DateTime.No…
1. source 'https://github.com/CocoaPods/Specs.git' target 'YOUR_APPLICATION_TARGET_NAME_HERE' do platform :ios, '9.0' pod 'GoogleWebRTC' end http://rtc.elesos.com/native-code/ios/ https://blog.csdn.net/chenxiemin/article/details/78998492 https://gith…
1. Type 'Any' has no subscript members 这一条简直莫名其妙.大体意思就是,你这个类型"Any"不是个数组或者字典,不能按照下标取东西. 我之前通过一个方法默认创建了一个字典,编译器也认为这是个字典,所以允许我取东西,但是现在编译器翻脸了,说你必须告诉我这是个字典我才能让你取东西.okok. 1 (dic as! NSDictionary) 同理还有各种类型不匹配的问题,强制转换就可以了.(偷偷说,真怀念OC的弱类型的时代~) http://www.…