Open 0x30 opened 8 years ago
需要修复
/**
设置关注cell的视图
*/
private func SetFCell(cell:NewBaseTableViewCell,new:New){
if channel?.id == 1994 {
cell.pubLabel.layer.cornerRadius = 2
cell.pubLabel.clipsToBounds = true
cell.pubLabel.textColor = UIColor.whiteColor()
cell.pubLabel.font = UIFont.a_font6
cell.pubLabel.text = " \(cell.pubLabel.text ?? " ") "
cell.pubLabel.backgroundColor = Focus.gColor(new.pname)
cell.commentCountLabel.hidden = true
cell.noLikeButton.hidden = true
}
}
func fouceCell(vc:UIViewController,focusResults:Results<Focus>){
// if finish { return }
if let view = view1 {
view.removeFromSuperview()
}
if let view = view2 {
view.removeFromSuperview()
}
if let view = view3 {
view.removeFromSuperview()
}
if let view = view4 {
view.removeFromSuperview()
}
self.vc = vc
self.finish = true
title.font = UIFont.a_font2
title.textColor = UIColor.a_color3
自定义 UMeng 分享 cocoapods 组建 所需配置文件
{
"name": "UMengSocialCOM",
"version": "5.2.1",
"summary": "UMeng's official Social SDK for iOS.",
"description": "UMeng Social SDK,You can easily share any content to Sina Weibo, Tencent Weibo, Renren, Qzone, Doubban, Wechat and so on using our unified APIs.",
"requires_arc": false,
"homepage": "http://dev.umeng.com/social/ios/quick-integration",
"license": {
"type": "Copyright",
"text": " Copyright 2011 - 2016 UMeng.com. All rights reserved.\n"
},
"authors": {
"UMeng": "support@umeng.com"
},
"source": {
"http": "http://dev.umeng.com/files/download/Umeng_SDK_Social_iOS_ARM64_5.2.1.zip"
},
"source_files": [
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_5.2.1/Header/*.h",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/Wechat/*.h",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/*.h"
],
"preserve_paths": [
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_5.2.1/libUMSocial_Sdk_5.2.1.a",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_5.2.1/libUMSocial_Sdk_Comment_5.2.1.a",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/Wechat/libSocialWechat.a",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/Wechat/libWeChatSDK.a",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/libSocialQQ.a",
"Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/TencentOpenAPI.framework"
],
"libraries": [
"UMSocial_Sdk_5.2.1",
"UMSocial_Sdk_Comment_5.2.1",
"SocialQQ",
"SocialWechat",
"z",
"sqlite3",
"stdc++",
"iconv",
"WeChatSDK"
],
"xcconfig": {
"LIBRARY_SEARCH_PATHS": "$(SRCROOT)/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_5.2.1/** $(SRCROOT)/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/ $(SRCROOT)/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/Wechat/**",
"FRAMEWORK_SEARCH_PATHS": "$(SRCROOT)/UMengSocial/Umeng_SDK_Social_iOS_ARM64_5.2.1/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI/"
},
"frameworks": [
"SystemConfiguration",
"MobileCoreServices",
"TencentOpenAPI",
"Accounts",
"Social",
"CoreData",
"ImageIO"
],
"platforms": {
"ios": "5.0"
}
}