├── .DS_Store └── FourNews ├── Pods ├── Headers │ ├── Private │ │ ├── FMDB │ │ │ ├── FMDB.h │ │ │ ├── FMDatabase.h │ │ │ ├── FMResultSet.h │ │ │ ├── FMDatabasePool.h │ │ │ ├── FMDatabaseQueue.h │ │ │ └── FMDatabaseAdditions.h │ │ ├── MJRefresh │ │ │ ├── MJRefresh.h │ │ │ ├── MJRefreshConst.h │ │ │ ├── MJRefreshFooter.h │ │ │ ├── MJRefreshHeader.h │ │ │ ├── UIView+MJExtension.h │ │ │ ├── MJRefreshAutoFooter.h │ │ │ ├── MJRefreshBackFooter.h │ │ │ ├── MJRefreshComponent.h │ │ │ ├── UIScrollView+MJRefresh.h │ │ │ ├── MJRefreshGifHeader.h │ │ │ ├── UIScrollView+MJExtension.h │ │ │ ├── MJRefreshStateHeader.h │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ ├── MJRefreshBackGifFooter.h │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ ├── MJRefreshAutoStateFooter.h │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ └── MJRefreshBackStateFooter.h │ │ ├── OpenShare │ │ │ ├── OpenShare.h │ │ │ ├── OpenShare+QQ.h │ │ │ ├── OpenShare+Weibo.h │ │ │ ├── OpenShareHeader.h │ │ │ ├── OpenShare+Alipay.h │ │ │ ├── OpenShare+Renren.h │ │ │ └── OpenShare+Weixin.h │ │ ├── MBProgressHUD │ │ │ └── MBProgressHUD.h │ │ ├── SDWebImage │ │ │ ├── UIImage+GIF.h │ │ │ ├── SDImageCache.h │ │ │ ├── SDWebImageCompat.h │ │ │ ├── SDWebImageDecoder.h │ │ │ ├── SDWebImageManager.h │ │ │ ├── UIButton+WebCache.h │ │ │ ├── SDWebImageDownloader.h │ │ │ ├── SDWebImageOperation.h │ │ │ ├── SDWebImagePrefetcher.h │ │ │ ├── UIImage+MultiFormat.h │ │ │ ├── UIImageView+WebCache.h │ │ │ ├── NSData+ImageContentType.h │ │ │ ├── UIView+WebCacheOperation.h │ │ │ ├── SDWebImageDownloaderOperation.h │ │ │ └── UIImageView+HighlightedWebCache.h │ │ ├── MJExtension │ │ │ ├── MJExtension.h │ │ │ ├── MJFoundation.h │ │ │ ├── MJProperty.h │ │ │ ├── MJPropertyKey.h │ │ │ ├── MJPropertyType.h │ │ │ ├── MJExtensionConst.h │ │ │ ├── NSObject+MJClass.h │ │ │ ├── NSObject+MJCoding.h │ │ │ ├── NSObject+MJKeyValue.h │ │ │ ├── NSObject+MJProperty.h │ │ │ └── NSString+MJExtension.h │ │ └── AFNetworking │ │ │ ├── AFNetworking.h │ │ │ ├── AFSecurityPolicy.h │ │ │ ├── AFHTTPSessionManager.h │ │ │ ├── AFImageDownloader.h │ │ │ ├── AFURLSessionManager.h │ │ │ ├── UIImage+AFNetworking.h │ │ │ ├── UIKit+AFNetworking.h │ │ │ ├── AFURLRequestSerialization.h │ │ │ ├── UIButton+AFNetworking.h │ │ │ ├── UIWebView+AFNetworking.h │ │ │ ├── AFAutoPurgingImageCache.h │ │ │ ├── AFNetworkReachabilityManager.h │ │ │ ├── AFURLResponseSerialization.h │ │ │ ├── UIImageView+AFNetworking.h │ │ │ ├── UIProgressView+AFNetworking.h │ │ │ ├── UIRefreshControl+AFNetworking.h │ │ │ ├── AFNetworkActivityIndicatorManager.h │ │ │ └── UIActivityIndicatorView+AFNetworking.h │ └── Public │ │ ├── FMDB │ │ ├── FMDB.h │ │ ├── FMDatabase.h │ │ ├── FMResultSet.h │ │ ├── FMDatabasePool.h │ │ ├── FMDatabaseQueue.h │ │ └── FMDatabaseAdditions.h │ │ ├── MJRefresh │ │ ├── MJRefresh.h │ │ ├── MJRefreshConst.h │ │ ├── MJRefreshFooter.h │ │ ├── MJRefreshHeader.h │ │ ├── UIView+MJExtension.h │ │ ├── MJRefreshComponent.h │ │ ├── MJRefreshAutoFooter.h │ │ ├── MJRefreshBackFooter.h │ │ ├── UIScrollView+MJRefresh.h │ │ ├── MJRefreshGifHeader.h │ │ ├── UIScrollView+MJExtension.h │ │ ├── MJRefreshNormalHeader.h │ │ ├── MJRefreshStateHeader.h │ │ ├── MJRefreshAutoGifFooter.h │ │ ├── MJRefreshBackGifFooter.h │ │ ├── MJRefreshAutoNormalFooter.h │ │ ├── MJRefreshAutoStateFooter.h │ │ ├── MJRefreshBackNormalFooter.h │ │ └── MJRefreshBackStateFooter.h │ │ ├── OpenShare │ │ ├── OpenShare.h │ │ ├── OpenShare+QQ.h │ │ ├── OpenShare+Weibo.h │ │ ├── OpenShareHeader.h │ │ ├── OpenShare+Alipay.h │ │ ├── OpenShare+Renren.h │ │ └── OpenShare+Weixin.h │ │ ├── MBProgressHUD │ │ └── MBProgressHUD.h │ │ ├── MJExtension │ │ ├── MJProperty.h │ │ ├── MJExtension.h │ │ ├── MJFoundation.h │ │ ├── MJPropertyKey.h │ │ ├── MJPropertyType.h │ │ ├── MJExtensionConst.h │ │ ├── NSObject+MJClass.h │ │ ├── NSObject+MJCoding.h │ │ ├── NSObject+MJKeyValue.h │ │ ├── NSObject+MJProperty.h │ │ └── NSString+MJExtension.h │ │ ├── SDWebImage │ │ ├── UIImage+GIF.h │ │ ├── SDImageCache.h │ │ ├── SDWebImageCompat.h │ │ ├── SDWebImageDecoder.h │ │ ├── SDWebImageManager.h │ │ ├── SDWebImageOperation.h │ │ ├── UIButton+WebCache.h │ │ ├── UIImage+MultiFormat.h │ │ ├── SDWebImageDownloader.h │ │ ├── SDWebImagePrefetcher.h │ │ ├── UIImageView+WebCache.h │ │ ├── NSData+ImageContentType.h │ │ ├── UIView+WebCacheOperation.h │ │ ├── SDWebImageDownloaderOperation.h │ │ └── UIImageView+HighlightedWebCache.h │ │ └── AFNetworking │ │ ├── AFNetworking.h │ │ ├── AFSecurityPolicy.h │ │ ├── AFHTTPSessionManager.h │ │ ├── AFImageDownloader.h │ │ ├── AFURLSessionManager.h │ │ ├── UIKit+AFNetworking.h │ │ ├── UIImage+AFNetworking.h │ │ ├── AFAutoPurgingImageCache.h │ │ ├── AFURLRequestSerialization.h │ │ ├── AFURLResponseSerialization.h │ │ ├── UIButton+AFNetworking.h │ │ ├── UIWebView+AFNetworking.h │ │ ├── AFNetworkReachabilityManager.h │ │ ├── UIImageView+AFNetworking.h │ │ ├── UIProgressView+AFNetworking.h │ │ ├── UIRefreshControl+AFNetworking.h │ │ ├── AFNetworkActivityIndicatorManager.h │ │ └── UIActivityIndicatorView+AFNetworking.h ├── .DS_Store ├── Target Support Files │ ├── FMDB │ │ ├── FMDB-prefix.pch │ │ ├── FMDB-dummy.m │ │ └── FMDB.xcconfig │ ├── MJExtension │ │ ├── MJExtension-prefix.pch │ │ ├── MJExtension-dummy.m │ │ └── MJExtension.xcconfig │ ├── MJRefresh │ │ ├── MJRefresh-prefix.pch │ │ ├── MJRefresh-dummy.m │ │ └── MJRefresh.xcconfig │ ├── OpenShare │ │ ├── OpenShare-prefix.pch │ │ ├── OpenShare-dummy.m │ │ └── OpenShare.xcconfig │ ├── SDWebImage │ │ ├── SDWebImage-prefix.pch │ │ ├── SDWebImage-dummy.m │ │ └── SDWebImage.xcconfig │ ├── MBProgressHUD │ │ ├── MBProgressHUD-prefix.pch │ │ ├── MBProgressHUD-dummy.m │ │ └── MBProgressHUD.xcconfig │ ├── Pods │ │ └── Pods-dummy.m │ └── AFNetworking │ │ ├── AFNetworking-dummy.m │ │ ├── AFNetworking-prefix.pch │ │ └── AFNetworking.xcconfig ├── MJRefresh │ └── MJRefresh │ │ ├── MJRefresh.bundle │ │ └── arrow@2x.png │ │ ├── Base │ │ ├── MJRefreshBackFooter.h │ │ └── MJRefreshAutoFooter.h │ │ ├── Custom │ │ ├── Footer │ │ │ ├── Auto │ │ │ │ ├── MJRefreshAutoNormalFooter.h │ │ │ │ ├── MJRefreshAutoGifFooter.h │ │ │ │ └── MJRefreshAutoStateFooter.h │ │ │ └── Back │ │ │ │ ├── MJRefreshBackNormalFooter.h │ │ │ │ ├── MJRefreshBackStateFooter.h │ │ │ │ └── MJRefreshBackGifFooter.h │ │ └── Header │ │ │ ├── MJRefreshNormalHeader.h │ │ │ ├── MJRefreshGifHeader.h │ │ │ └── MJRefreshStateHeader.h │ │ ├── MJRefresh.h │ │ ├── UIView+MJExtension.h │ │ └── UIScrollView+MJExtension.h ├── FMDB │ └── src │ │ └── fmdb │ │ └── FMDB.h ├── MJExtension │ └── MJExtension │ │ ├── MJFoundation.h │ │ ├── MJExtension.h │ │ ├── MJPropertyKey.h │ │ └── MJPropertyKey.m ├── SDWebImage │ └── SDWebImage │ │ ├── UIImage+MultiFormat.h │ │ ├── SDWebImageOperation.h │ │ ├── UIImage+GIF.h │ │ ├── SDWebImageDecoder.h │ │ └── NSData+ImageContentType.h ├── OpenShare │ └── openshare │ │ ├── OpenShare+Alipay.h │ │ ├── OpenShareHeader.h │ │ └── OpenShare+Renren.h └── Local Podspecs │ └── WeiboSDK.podspec.json ├── FourNews ├── Class │ ├── Other │ │ ├── ja.lproj │ │ │ └── InfoPlist.strings │ │ ├── zh.lproj │ │ │ └── InfoPlist.strings │ │ ├── Base.lproj │ │ │ └── InfoPlist.strings │ │ ├── en.lproj │ │ │ └── InfoPlist.strings │ │ ├── ko.lproj │ │ │ └── InfoPlist.strings │ │ ├── .DS_Store │ │ ├── libs │ │ │ ├── .DS_Store │ │ │ ├── YJRefreshHeader.h │ │ │ ├── YJInfiniteScrollView.h │ │ │ ├── YJRefreshHeader.m │ │ │ └── FNLabel.h │ │ ├── Tool_lib │ │ │ ├── .DS_Store │ │ │ ├── FNHTTPManager.h │ │ │ ├── FNUserDefaults.h │ │ │ └── FNNetWorking.h │ │ ├── Category │ │ │ ├── UILabel+FN.h │ │ │ ├── UILabel+FN.m │ │ │ ├── UIButton+FN.h │ │ │ ├── UIButton+FN.m │ │ │ ├── UIBarButtonItem+YJ.h │ │ │ ├── UIViewController+FN.h │ │ │ ├── UIViewController+FN.m │ │ │ ├── UIView+FN.h │ │ │ ├── MJRefreshStateHeader+FN.h │ │ │ ├── MJRefreshAutoNormalFooter+YJ.h │ │ │ ├── NSObject+AddTimeid.h │ │ │ ├── NSString+YJ.h │ │ │ ├── MJRefreshAutoNormalFooter+YJ.m │ │ │ └── MBProgressHUD+MJ.h │ │ ├── Model │ │ │ ├── FNStatusParamModel.m │ │ │ └── FNStatusParamModel.h │ │ ├── AppDelegate.h │ │ ├── Tool_Funtion │ │ │ └── FNFileManager.h │ │ └── GlobalFiles │ │ │ └── FourNews.pch │ ├── .DS_Store │ ├── AV │ │ ├── .DS_Store │ │ ├── Tool_Funtion │ │ │ ├── FNAVGetAllColumns.h │ │ │ ├── FNAVGetAVNewsList.h │ │ │ └── FNAVGetAllColumns.m │ │ ├── View │ │ │ ├── FNAVListController.h │ │ │ ├── FNAVShareView.h │ │ │ └── FNAVListCell.h │ │ ├── Controlller │ │ │ ├── FNAVViewController.h │ │ │ ├── FNAVBaseController.h │ │ │ └── FNAVDetailController.h │ │ └── Model │ │ │ └── FNAVListItem.m │ ├── Me │ │ ├── .DS_Store │ │ ├── Model │ │ │ ├── FNMeSquareItem.m │ │ │ ├── YJSettingSelectedItem.m │ │ │ ├── YJSettingCellArrowItem.m │ │ │ ├── YJSettingCellSwitchItem.m │ │ │ ├── YJSettingSelectedItem.h │ │ │ ├── YJSettingCellSwitchItem.h │ │ │ ├── FNMeSquareItem.h │ │ │ ├── YJSettingCellArrowItem.h │ │ │ ├── YJSettingGroupItem.m │ │ │ ├── YJSettingCellBaseItem.m │ │ │ ├── YJSettingGroupItem.h │ │ │ └── YJSettingCellBaseItem.h │ │ ├── Controlller │ │ │ ├── FNMeController.h │ │ │ ├── FNSettingMostCacheController.h │ │ │ ├── FNWKWebController.h │ │ │ ├── FNMeSettingController.h │ │ │ └── YJSettingBaseController.h │ │ ├── Tool_function │ │ │ └── FNMeGetSquareItem.h │ │ └── View │ │ │ ├── FNMeSquareViewCell.h │ │ │ ├── YJSettingTableViewCell.h │ │ │ └── FNMeSquareViewCell.m │ ├── Main │ │ ├── .DS_Store │ │ └── Controlller │ │ │ ├── Classes │ │ │ ├── backImage@2x.png │ │ │ ├── backImage@3x.png │ │ │ ├── UIViewController+JTNavigationExtension.h │ │ │ └── JTNavigationController.h │ │ │ ├── FNNavigationController.h │ │ │ └── FNTabBarController.h │ ├── News │ │ ├── .DS_Store │ │ ├── View │ │ │ ├── .DS_Store │ │ │ ├── NewsRelative │ │ │ │ ├── FNNewsKeyButton.h │ │ │ │ ├── FNNewsRelativeView.h │ │ │ │ └── FNNewsKeyButton.m │ │ │ ├── NewsList │ │ │ │ ├── FNNewsReplyButton.h │ │ │ │ ├── FNNewsThrImgCell.h │ │ │ │ ├── FNNewsSglImgCell.h │ │ │ │ ├── FNNewsSearchListCell.h │ │ │ │ ├── FNNewsADView.h │ │ │ │ └── FNNewsSearchListCell.m │ │ │ ├── NewsSearch │ │ │ │ ├── FNNewsHotWordButton.h │ │ │ │ ├── FNNewsHotWordsListView.h │ │ │ │ ├── FNNewsHistoryView.h │ │ │ │ └── FNNewsHotWordButton.m │ │ │ ├── NewsReply │ │ │ │ ├── FNNewsDetailHotReplyView.h │ │ │ │ ├── FNNewsReplyCell.h │ │ │ │ └── FNNewsSglReplyView.h │ │ │ └── NewsDetail │ │ │ │ ├── FNNewsDetailShareView.h │ │ │ │ ├── FNNewsPhotoDescView.h │ │ │ │ ├── FNNewsDetailShareView.m │ │ │ │ └── FNNewsDetailContView.h │ │ ├── Model │ │ │ ├── .DS_Store │ │ │ ├── NewsList │ │ │ │ ├── FNNewsPortItem.m │ │ │ │ ├── FNNewsHotWordItem.m │ │ │ │ ├── FNNewsSearchWordItem.m │ │ │ │ ├── FNNewsADsItem.m │ │ │ │ ├── FNNewsHotWordItem.h │ │ │ │ ├── FNNewsPortItem.h │ │ │ │ ├── FNNewsADsItem.h │ │ │ │ ├── FNNewsSearchWordItem.h │ │ │ │ └── FNNewsListItem.m │ │ │ ├── NewsRelative │ │ │ │ ├── FNNewsRelativeItem.m │ │ │ │ └── FNNewsRelativeItem.h │ │ │ ├── NewsDetail │ │ │ │ ├── FNNewsDetailContImgItem.m │ │ │ │ ├── FNNewsPhotoSetItem.m │ │ │ │ ├── FNNewsDetailContImgItem.h │ │ │ │ ├── FNNewsDetailItem.m │ │ │ │ └── FNNewsPhotoSetItem.h │ │ │ └── NewsReply │ │ │ │ ├── FNNewsReplyItem.m │ │ │ │ └── FNNewsReplyItem.h │ │ ├── Controlller │ │ │ ├── .DS_Store │ │ │ ├── NewsList │ │ │ │ ├── .DS_Store │ │ │ │ ├── FNNewsSearchController.h │ │ │ │ ├── FNNewsViewController.h │ │ │ │ ├── FNNewsHistorySkimController.h │ │ │ │ ├── FNNewsBaseController.h │ │ │ │ ├── FNNewsListController.h │ │ │ │ └── FNNewsSearchListController.h │ │ │ ├── NewsReply │ │ │ │ ├── NewsQRCode │ │ │ │ │ └── FNNewsQRCodeScanController.h │ │ │ │ └── FNNewsReplyController.h │ │ │ └── NewsDetail │ │ │ │ ├── FNNewsDetailController.h │ │ │ │ └── FNNewsPhotoSetController.h │ │ └── Tool_Funtion │ │ │ ├── .DS_Store │ │ │ ├── NewsList │ │ │ ├── FNNewsGetHotWordsList.h │ │ │ ├── FNNewsGetSearchNews.h │ │ │ ├── FNGetListCell.h │ │ │ ├── FNGetNewsListDatas.h │ │ │ └── FNStatusCacheTool.h │ │ │ ├── NewsDetail │ │ │ ├── FNNewsGetDetailNews.h │ │ │ ├── FNNewsGetPhotoSetItem.h │ │ │ ├── FNNewsDealDetailItem.h │ │ │ └── FNNewsGetCacheDetailNewsTool.h │ │ │ └── NewsReply │ │ │ └── FNNewsGetReply.h │ ├── Read │ │ ├── .DS_Store │ │ ├── Controlller │ │ │ ├── .DS_Store │ │ │ └── FNReadViewController.h │ │ ├── View │ │ │ ├── FNReadListSglImgCell.h │ │ │ └── FNReadListThreeImgCell.h │ │ ├── Tool_function │ │ │ ├── FNReadGetNewsListItem.h │ │ │ └── FNReadChooseListCell.h │ │ └── Model │ │ │ └── FNReadListItem.m │ ├── Topic │ │ ├── .DS_Store │ │ ├── View │ │ │ ├── .DS_Store │ │ │ ├── DetailTop │ │ │ │ ├── FNTopicTopView.h │ │ │ │ └── FNTopicTopView.m │ │ │ ├── List │ │ │ │ └── FNTopicListCell.h │ │ │ ├── DetailCell │ │ │ │ ├── FNTopicDetailCellAnsView.h │ │ │ │ ├── FNTopicDetailCellQuesView.h │ │ │ │ └── FNTopicDetailCell.h │ │ │ └── DetailHeader │ │ │ │ ├── FNTopicDetailHeaderVBottomView.h │ │ │ │ ├── FNTopicDetailInsetView.h │ │ │ │ ├── FNTopicDetailHeaderVBottomView.m │ │ │ │ └── FNTopicDetailHeaderView.h │ │ ├── Model │ │ │ ├── FNTopicQuesItem.m │ │ │ ├── FNTopicAnswerItem.m │ │ │ ├── FNTopicDetailItem.m │ │ │ ├── FNTopicListItem.m │ │ │ └── FNTopicDetailItem.h │ │ ├── Controlller │ │ │ ├── FNTopicViewController.h │ │ │ └── FNTopicDetailController.h │ │ └── Tool_funtion │ │ │ ├── FNTopicGetListItem.h │ │ │ └── FNTopicGetDetailItem.h │ └── launchTime │ │ ├── .DS_Store │ │ ├── Model │ │ ├── FNADItem.m │ │ └── FNADItem.h │ │ └── Controlller │ │ └── FNADViewController.h ├── .DS_Store ├── 123=Transformers bb.ttf ├── Assets.xcassets │ ├── Contents.json │ ├── .DS_Store │ ├── launch │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── 1.imageset │ │ │ ├── 1.png │ │ │ └── Contents.json │ │ ├── 2.imageset │ │ │ ├── 2.png │ │ │ └── Contents.json │ │ ├── 3.imageset │ │ │ ├── 3.png │ │ │ └── Contents.json │ │ ├── 4.imageset │ │ │ ├── 4.png │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── .DS_Store │ │ │ ├── 12223.png │ │ │ └── kuai1.png │ ├── selfClip │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── news_share.imageset │ │ │ ├── news_share.png │ │ │ └── Contents.json │ │ ├── photosetBackGround.imageset │ │ │ ├── photosetBackGround.png │ │ │ └── Contents.json │ │ └── detailBottomBackGround.imageset │ │ │ ├── detailBottomBackGround.png │ │ │ └── Contents.json │ ├── share │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── icon_share.imageset │ │ │ ├── .DS_Store │ │ │ ├── icon_share@2x-1.png │ │ │ └── Contents.json │ │ ├── icon_share-1.imageset │ │ │ ├── icon_share@2x.png │ │ │ └── Contents.json │ │ ├── readercell_share_highlight.imageset │ │ │ ├── .DS_Store │ │ │ ├── readercell_share_highlight@2x.png │ │ │ └── Contents.json │ │ ├── share_platform_sina.imageset │ │ │ ├── share_platform_sina@2x.png │ │ │ └── Contents.json │ │ ├── share_platform_qzone.imageset │ │ │ ├── share_platform_qzone@2x.png │ │ │ └── Contents.json │ │ ├── readercell_share_normal.imageset │ │ │ ├── readercell_share_normal@2x.png │ │ │ └── Contents.json │ │ └── share_platform_wechattimeline.imageset │ │ │ ├── share_platform_wechattimeline@2x.png │ │ │ └── Contents.json │ ├── smallImg │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── CellArrow.imageset │ │ │ ├── CellArrow@2x.png │ │ │ └── Contents.json │ │ ├── search_icon-1.imageset │ │ │ ├── search_icon@2x.png │ │ │ └── Contents.json │ │ ├── search_icon.imageset │ │ │ ├── night_search_icon@2x.png │ │ │ └── Contents.json │ │ ├── navigationbar_back.imageset │ │ │ ├── navigationbar_back@2x.png │ │ │ └── Contents.json │ │ ├── detail_expand_arrow.imageset │ │ │ ├── detail_expand_arrow@2x.png │ │ │ └── Contents.json │ │ ├── night_video_cell_play.imageset │ │ │ ├── night_video_cell_play@2x.png │ │ │ └── Contents.json │ │ ├── contentview_commentbacky.imageset │ │ │ ├── contentview_commentbacky@2x.png │ │ │ └── Contents.json │ │ ├── recommendlist_cell_action.imageset │ │ │ ├── recommendlist_cell_action@2x.png │ │ │ └── Contents.json │ │ ├── pluginmanager_icon_message.imageset │ │ │ ├── pluginmanager_icon_message@2x.png │ │ │ └── Contents.json │ │ ├── detail_expand_arrow@2xrotation.imageset │ │ │ ├── detail_expand_arrow@2xrotation.png │ │ │ └── Contents.json │ │ └── night_contentcell_comment_border.imageset │ │ │ ├── night_contentcell_comment_border@2x.png │ │ │ └── Contents.json │ ├── tabBarButtons │ │ ├── Contents.json │ │ ├── .DS_Store │ │ ├── tabbar_icon_me_normal.imageset │ │ │ ├── tabbar_icon_me_normal@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_news_normal.imageset │ │ │ ├── tabbar_icon_news_normal@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_found_normal.imageset │ │ │ ├── tabbar_icon_found_normal@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_me_highlight.imageset │ │ │ ├── tabbar_icon_me_highlight@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_media_normal.imageset │ │ │ ├── tabbar_icon_media_normal@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_reader_normal.imageset │ │ │ ├── tabbar_icon_reader_normal@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_news_highlight.imageset │ │ │ ├── tabbar_icon_news_highlight@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_found_highlight.imageset │ │ │ ├── tabbar_icon_found_highlight@2x.png │ │ │ └── Contents.json │ │ ├── tabbar_icon_media_highlight.imageset │ │ │ ├── tabbar_icon_media_highlight@2x.png │ │ │ └── Contents.json │ │ └── tabbar_icon_reader_highlight.imageset │ │ │ ├── tabbar_icon_reader_highlight@2x.png │ │ │ └── Contents.json │ ├── fb_wave.imageset │ │ ├── fb_wave.png │ │ └── Contents.json │ ├── circleImgV.imageset │ │ ├── circleImgV.png │ │ └── Contents.json │ ├── guideStart.imageset │ │ ├── guideStart@2x.png │ │ └── Contents.json │ ├── newsTitleImage.imageset │ │ ├── 11111@2x.png │ │ └── Contents.json │ ├── home_scan_6.imageset │ │ ├── home_scan_6@2x.png │ │ └── Contents.json │ ├── photoSetBottom.imageset │ │ ├── photoSetBottom.png │ │ └── Contents.json │ ├── weather_back.imageset │ │ ├── weather_back@2x.png │ │ └── Contents.json │ ├── headex_button.imageset │ │ ├── headex_button@2x.png │ │ └── Contents.json │ ├── snip1.imageset │ │ ├── 屏幕快照 2016-05-11 下午5.54.54.png │ │ └── Contents.json │ ├── modalview_donebutton.imageset │ │ ├── modalview_donebutton@2x.png │ │ └── Contents.json │ ├── cell_image_background.imageset │ │ ├── cell_image_background@2x.png │ │ └── Contents.json │ ├── contentview_imagebg_logo.imageset │ │ ├── contentview_imagebg_logo@2x.png │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json └── main.m ├── .DS_Store ├── images └── icon_share@2x.png ├── podfile ├── FourNews.xcodeproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── FourNews.xcworkspace └── contents.xcworkspacedata └── FourNewsTests └── Info.plist /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMDB.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDB.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMDB.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDB.h -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/ja.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | "CFBundleName" = "を天下にかぐ"; -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/zh.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | "CFBundleName" = "聚闻天下"; -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMDatabase.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabase.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMDatabase.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabase.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMResultSet.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMResultSet.h -------------------------------------------------------------------------------- /FourNews/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Base.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | "CFBundleName" = "FourNews"; -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | "CFBundleName" = "FourNews"; -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/ko.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | "CFBundleName" = "폴리 냄새를 천하"; -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMResultSet.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMResultSet.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMDatabasePool.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabasePool.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMDatabaseQueue.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseQueue.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMDatabasePool.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabasePool.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMDatabaseQueue.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseQueue.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefresh.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare.h -------------------------------------------------------------------------------- /FourNews/Pods/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/Pods/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare+QQ.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+QQ.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+GIF.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h: -------------------------------------------------------------------------------- 1 | ../../../MBProgressHUD/MBProgressHUD.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJProperty.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJProperty.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare+QQ.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+QQ.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+GIF.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/FMDB/FMDatabaseAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseAdditions.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJFoundation.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJFoundation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJProperty.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJProperty.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare+Weibo.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Weibo.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShareHeader.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShareHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/FMDB/FMDatabaseAdditions.h: -------------------------------------------------------------------------------- 1 | ../../../FMDB/src/fmdb/FMDatabaseAdditions.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJFoundation.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJFoundation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/MJRefreshConst.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare+Weibo.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Weibo.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShareHeader.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShareHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDImageCache.h -------------------------------------------------------------------------------- /FourNews/FourNews/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJPropertyKey.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJPropertyKey.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJPropertyType.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJPropertyType.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare+Alipay.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Alipay.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare+Renren.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Renren.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/OpenShare/OpenShare+Weixin.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Weixin.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCompat.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJPropertyKey.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJPropertyKey.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJPropertyType.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJPropertyType.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare+Alipay.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Alipay.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare+Renren.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Renren.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/OpenShare/OpenShare+Weixin.h: -------------------------------------------------------------------------------- 1 | ../../../OpenShare/openshare/OpenShare+Weixin.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageCompat.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/MJExtensionConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJExtensionConst.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/NSObject+MJClass.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJClass.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/NSObject+MJCoding.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJCoding.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIView+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDecoder.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIButton+WebCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/MJExtensionConst.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/MJExtensionConst.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/NSObject+MJClass.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJClass.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/NSObject+MJCoding.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJCoding.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDecoder.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageManager.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIButton+WebCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h -------------------------------------------------------------------------------- /FourNews/FourNews/Class/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/NSObject+MJKeyValue.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJKeyValue.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/NSObject+MJProperty.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJProperty.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshComponent.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshComponent.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+WebCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/NSObject+MJKeyValue.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJKeyValue.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/NSObject+MJProperty.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSObject+MJProperty.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJExtension/NSString+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSString+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/UIScrollView+MJRefresh.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJRefresh.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+WebCache.h -------------------------------------------------------------------------------- /FourNews/images/icon_share@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/images/icon_share@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/AV/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Me/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJExtension/NSString+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJExtension/MJExtension/NSString+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSData+ImageContentType.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/UIScrollView+MJExtension.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/NSData+ImageContentType.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/FMDB/FMDB-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Main/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Read/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h -------------------------------------------------------------------------------- /FourNews/FourNews/123=Transformers bb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/123=Transformers bb.ttf -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Other/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Topic/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJExtension/MJExtension-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJRefresh/MJRefresh-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/OpenShare/OpenShare-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/View/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h: -------------------------------------------------------------------------------- 1 | ../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/Model/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/libs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Other/libs/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Topic/View/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/launchTime/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/launchTime/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/MJRefresh/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | ../../../MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Tool_lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Other/Tool_lib/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/Controlller/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/Tool_Funtion/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/Controlller/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Read/Controlller/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/selfClip/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/.DS_Store -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/1.imageset/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/1.imageset/1.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/2.imageset/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/2.imageset/2.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/3.imageset/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/3.imageset/3.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/4.imageset/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/4.imageset/4.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/News/Controlller/NewsList/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/fb_wave.imageset/fb_wave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/fb_wave.imageset/fb_wave.png -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/Pods/MJRefresh/MJRefresh/MJRefresh.bundle/arrow@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/Classes/backImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Main/Controlller/Classes/backImage@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/Classes/backImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Class/Main/Controlller/Classes/backImage@3x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/circleImgV.imageset/circleImgV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/circleImgV.imageset/circleImgV.png -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/FMDB/FMDB-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FMDB : NSObject 3 | @end 4 | @implementation PodsDummy_FMDB 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/guideStart.imageset/guideStart@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/guideStart.imageset/guideStart@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/12223.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/12223.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/kuai1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/launch/AppIcon.appiconset/kuai1.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/newsTitleImage.imageset/11111@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/newsTitleImage.imageset/11111@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/icon_share.imageset/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/icon_share.imageset/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/home_scan_6.imageset/home_scan_6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/home_scan_6.imageset/home_scan_6@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/photoSetBottom.imageset/photoSetBottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/photoSetBottom.imageset/photoSetBottom.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/weather_back.imageset/weather_back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/weather_back.imageset/weather_back@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/headex_button.imageset/headex_button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/headex_button.imageset/headex_button@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/news_share.imageset/news_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/selfClip/news_share.imageset/news_share.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/CellArrow.imageset/CellArrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/CellArrow.imageset/CellArrow@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/snip1.imageset/屏幕快照 2016-05-11 下午5.54.54.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/snip1.imageset/屏幕快照 2016-05-11 下午5.54.54.png -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJRefresh/MJRefresh-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJRefresh : NSObject 3 | @end 4 | @implementation PodsDummy_MJRefresh 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/OpenShare/OpenShare-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OpenShare : NSObject 3 | @end 4 | @implementation PodsDummy_OpenShare 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_SDWebImage : NSObject 3 | @end 4 | @implementation PodsDummy_SDWebImage 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/icon_share-1.imageset/icon_share@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/icon_share-1.imageset/icon_share@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/icon_share.imageset/icon_share@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/icon_share.imageset/icon_share@2x-1.png -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJExtension/MJExtension-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MJExtension : NSObject 3 | @end 4 | @implementation PodsDummy_MJExtension 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/AFNetworking/AFNetworking-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/readercell_share_highlight.imageset/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/readercell_share_highlight.imageset/.DS_Store -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/search_icon-1.imageset/search_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/search_icon-1.imageset/search_icon@2x.png -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_MBProgressHUD : NSObject 3 | @end 4 | @implementation PodsDummy_MBProgressHUD 5 | @end 6 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/search_icon.imageset/night_search_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/search_icon.imageset/night_search_icon@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/modalview_donebutton.imageset/modalview_donebutton@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/modalview_donebutton.imageset/modalview_donebutton@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/cell_image_background.imageset/cell_image_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/cell_image_background.imageset/cell_image_background@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/photosetBackGround.imageset/photosetBackGround.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/selfClip/photosetBackGround.imageset/photosetBackGround.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_sina.imageset/share_platform_sina@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/share_platform_sina.imageset/share_platform_sina@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/navigationbar_back.imageset/navigationbar_back@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/navigationbar_back.imageset/navigationbar_back@2x.png -------------------------------------------------------------------------------- /FourNews/podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '8.0' 2 | 3 | pod 'SDWebImage','~>3.7' 4 | pod 'MJRefresh' 5 | pod 'MJExtension' 6 | pod 'MBProgressHUD', '~> 0.9.2' 7 | pod 'AFNetworking', '~> 3.0’ 8 | pod 'OpenShare', '~> 0.0.1' 9 | pod 'FMDB', '~> 2.6.2' -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_qzone.imageset/share_platform_qzone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/share_platform_qzone.imageset/share_platform_qzone@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow.imageset/detail_expand_arrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow.imageset/detail_expand_arrow@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/contentview_imagebg_logo.imageset/contentview_imagebg_logo@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/contentview_imagebg_logo.imageset/contentview_imagebg_logo@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/detailBottomBackGround.imageset/detailBottomBackGround.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/selfClip/detailBottomBackGround.imageset/detailBottomBackGround.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/readercell_share_normal.imageset/readercell_share_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/readercell_share_normal.imageset/readercell_share_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/night_video_cell_play.imageset/night_video_cell_play@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/night_video_cell_play.imageset/night_video_cell_play@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/contentview_commentbacky.imageset/contentview_commentbacky@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/contentview_commentbacky.imageset/contentview_commentbacky@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_normal.imageset/tabbar_icon_me_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_normal.imageset/tabbar_icon_me_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/readercell_share_highlight.imageset/readercell_share_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/readercell_share_highlight.imageset/readercell_share_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/recommendlist_cell_action.imageset/recommendlist_cell_action@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/recommendlist_cell_action.imageset/recommendlist_cell_action@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_normal.imageset/tabbar_icon_news_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_normal.imageset/tabbar_icon_news_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/pluginmanager_icon_message.imageset/pluginmanager_icon_message@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/pluginmanager_icon_message.imageset/pluginmanager_icon_message@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_normal.imageset/tabbar_icon_found_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_normal.imageset/tabbar_icon_found_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_highlight.imageset/tabbar_icon_me_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_highlight.imageset/tabbar_icon_me_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_normal.imageset/tabbar_icon_media_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_normal.imageset/tabbar_icon_media_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_wechattimeline.imageset/share_platform_wechattimeline@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/share/share_platform_wechattimeline.imageset/share_platform_wechattimeline@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_normal.imageset/tabbar_icon_reader_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_normal.imageset/tabbar_icon_reader_normal@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow@2xrotation.imageset/detail_expand_arrow@2xrotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow@2xrotation.imageset/detail_expand_arrow@2xrotation.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_highlight.imageset/tabbar_icon_news_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_highlight.imageset/tabbar_icon_news_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_highlight.imageset/tabbar_icon_found_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_highlight.imageset/tabbar_icon_found_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_highlight.imageset/tabbar_icon_media_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_highlight.imageset/tabbar_icon_media_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_highlight.imageset/tabbar_icon_reader_highlight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_highlight.imageset/tabbar_icon_reader_highlight@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Class/launchTime/Model/FNADItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNADItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNADItem.h" 10 | 11 | @implementation FNADItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/night_contentcell_comment_border.imageset/night_contentcell_comment_border@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ongnen/FourNews/HEAD/FourNews/FourNews/Assets.xcassets/smallImg/night_contentcell_comment_border.imageset/night_contentcell_comment_border@2x.png -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UILabel+FN.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+FN.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UILabel (FN) 12 | 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UILabel+FN.m: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel+FN.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "UILabel+FN.h" 10 | 11 | @implementation UILabel (FN) 12 | 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIButton+FN.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+FN.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIButton (FN) 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Model/FNTopicQuesItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicQuesItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicQuesItem.h" 10 | 11 | @implementation FNTopicQuesItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/FNMeSquareItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeSquareItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNMeSquareItem.h" 10 | 11 | @implementation FNMeSquareItem 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIButton+FN.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIButton+FN.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "UIButton+FN.h" 10 | 11 | @implementation UIButton (FN) 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsPortItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPortItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsPortItem.h" 10 | 11 | @implementation FNNewsPortItem 12 | 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsRelative/FNNewsKeyButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsKeyButton.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsKeyButton : UIButton 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIBarButtonItem+YJ.h: -------------------------------------------------------------------------------- 1 | /** 2 | * 快速创建一个显示图片的item 3 | */ 4 | 5 | #import 6 | 7 | @interface UIBarButtonItem (YJ) 8 | 9 | + (UIBarButtonItem *)itemWithIcon:(NSString *)icon highIcon:(NSString *)highIcon target:(id)target action:(SEL)action; 10 | @end 11 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIViewController+FN.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+FN.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIViewController (FN) 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Model/FNTopicAnswerItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicAnswerItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicAnswerItem.h" 10 | 11 | @implementation FNTopicAnswerItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Model/FNTopicDetailItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicDetailItem.h" 10 | 11 | @implementation FNTopicDetailItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Controlller/FNMeController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNMeController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsHotWordItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHotWordItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsHotWordItem.h" 10 | 11 | @implementation FNNewsHotWordItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsReplyButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsReplyButton.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsReplyButton : UIButton 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Model/FNStatusParamModel.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNStatusParamModel.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNStatusParamModel.h" 10 | 11 | @implementation FNStatusParamModel 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingSelectedItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingSelectedItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "YJSettingSelectedItem.h" 10 | 11 | @implementation YJSettingSelectedItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/libs/YJRefreshHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJRefreshHeader.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/22. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface YJRefreshHeader : MJRefreshHeader 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellArrowItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCellArrowItem.m 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "YJSettingCellArrowItem.h" 10 | 11 | @implementation YJSettingCellArrowItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsRelative/FNNewsRelativeItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsRelativeItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsRelativeItem.h" 10 | 11 | @implementation FNNewsRelativeItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsSearch/FNNewsHotWordButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHotWordButton.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsHotWordButton : UIButton 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellSwitchItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCellSwitchItem.m 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "YJSettingCellSwitchItem.h" 10 | 11 | @implementation YJSettingCellSwitchItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsSearchWordItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchWordItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsSearchWordItem.h" 10 | 11 | @implementation FNNewsSearchWordItem 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/launchTime/Controlller/FNADViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNADViewController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNADViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIViewController+FN.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+FN.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "UIViewController+FN.h" 10 | 11 | @implementation UIViewController (FN) 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/Controlller/FNReadViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ReadViewController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNReadViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Controlller/FNTopicViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TopicViewController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNTopicViewController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Base/MJRefreshBackFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshBackFooter : MJRefreshFooter 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsSearchController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsSearchController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/UIView+FN.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #import 5 | 6 | @interface UIView (FN) 7 | 8 | @property CGFloat x; 9 | 10 | @property CGFloat y; 11 | 12 | @property CGFloat width; 13 | 14 | @property CGFloat height; 15 | 16 | @property CGSize size; 17 | 18 | @property CGPoint origin; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/Pods/FMDB/src/fmdb/FMDB.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | FOUNDATION_EXPORT double FMDBVersionNumber; 4 | FOUNDATION_EXPORT const unsigned char FMDBVersionString[]; 5 | 6 | #import "FMDatabase.h" 7 | #import "FMResultSet.h" 8 | #import "FMDatabaseAdditions.h" 9 | #import "FMDatabaseQueue.h" 10 | #import "FMDatabasePool.h" 11 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsViewController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsBaseController.h" 10 | 11 | @interface FNNewsViewController : FNNewsBaseController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsDetail/FNNewsDetailContImgItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailContImgItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsDetailContImgItem.h" 10 | 11 | @implementation FNNewsDetailContImgItem 12 | 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsADsItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNADsItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsADsItem.h" 10 | #import 11 | 12 | @implementation FNNewsADsItem 13 | 14 | MJCodingImplementation 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/MJRefreshStateHeader+FN.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader+FN.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJRefreshStateHeader (FN) 12 | 13 | - (void)prepare; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Tool_lib/FNHTTPManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNHTTPManager.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNHTTPManager : AFHTTPSessionManager 12 | 13 | + (instancetype)manager; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/Pods/MJExtension/MJExtension/MJFoundation.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJFoundation.h 3 | // MJExtensionExample 4 | // 5 | // Created by MJ Lee on 14/7/16. 6 | // Copyright (c) 2014年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJFoundation : NSObject 12 | + (BOOL)isClassFromFoundation:(Class)c; 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsHistorySkimController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHistorySkimController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsHistorySkimController : UITableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Controlller/FNSettingMostCacheController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNSettingMostCacheController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "YJSettingBaseController.h" 10 | 11 | @interface FNSettingMostCacheController : YJSettingBaseController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsReply/FNNewsReplyItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsReplyItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsReplyItem.h" 10 | #import 11 | 12 | @implementation FNNewsReplyItem 13 | 14 | MJCodingImplementation 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailTop/FNTopicTopView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicTopView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNTopicTopView : UIView 12 | 13 | @property (nonatomic, strong) void(^backBlock)(); 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/AFNetworking/AFNetworking-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Controlller/FNWKWebController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNWKWebController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNWKWebController : UIViewController 12 | 13 | @property (nonatomic, strong) NSString *url; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsBaseController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsBaseController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsBaseController : UIViewController 12 | 13 | - (void)setAllPrepare; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/MJRefreshAutoNormalFooter+YJ.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter+YJ.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MJRefreshAutoNormalFooter (YJ) 12 | 13 | - (void)prepare; 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/libs/YJInfiniteScrollView.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJInfiniteScrollView.h 3 | // 轮播器控件封装 4 | // 5 | // Created by admin on 16/4/21. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface YJInfiniteScrollView : UIView 12 | 13 | 14 | @property (nonatomic, strong) NSArray *images; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Tool_Funtion/FNAVGetAllColumns.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVGetAllColumns.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNAVGetAllColumns : NSObject 12 | 13 | + (void)getAllColumns:(void(^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/View/FNAVListController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVListController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNAVListController : UITableViewController 12 | 13 | @property (nonatomic, strong) NSString *tid; 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/FNNavigationController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNavigationController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "JTNavigationController.h" 11 | 12 | @interface FNNavigationController : JTNavigationController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsDetail/FNNewsPhotoSetItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPhotoSetItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/5. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsPhotoSetItem.h" 10 | #import 11 | 12 | @implementation FNNewsPhotoSetItem 13 | 14 | MJCodingImplementation 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsHotWordItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHotWordItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsHotWordItem : NSObject 12 | 13 | @property (nonatomic, strong) NSString *hotWord; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+MultiFormat.h 3 | // SDWebImage 4 | // 5 | // Created by Olivier Poitrey on 07/06/13. 6 | // Copyright (c) 2013 Dailymotion. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage (MultiFormat) 12 | 13 | + (UIImage *)sd_imageWithData:(NSData *)data; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | 14 | @property (strong, nonatomic) UIWindow *window; 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Controlller/FNAVViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AVViewController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNAVBaseController.h" 10 | 11 | @interface FNAVViewController : FNAVBaseController 12 | 13 | @property (nonatomic, weak) UIImageView *screenImgV; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/FNTabBarController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTabBarController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/27. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNTabBarController : UITabBarController 12 | 13 | @property (nonatomic, weak) UIImageView *coverImgView; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Tool_function/FNMeGetSquareItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeGetSquareItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNMeGetSquareItem : NSObject 12 | 13 | + (NSURLSessionDataTask *)squareItem:(void (^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsListController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsListController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsListController : UITableViewController 12 | 13 | @property (nonatomic, strong) NSString *pgmid; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsList/FNNewsGetHotWordsList.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetHotWordsList.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsGetHotWordsList : NSObject 12 | 13 | + (void)getHotWordList:(void(^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/View/FNMeSquareViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeSquareViewCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNMeSquareItem.h" 11 | 12 | @interface FNMeSquareViewCell : UICollectionViewCell 13 | 14 | @property (nonatomic, strong) FNMeSquareItem *item; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/NSObject+AddTimeid.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject+AddTimeid.h 3 | // test 4 | // 5 | // Created by admin on 16/5/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSObject (AddTimeid) 12 | 13 | + (void)setTimeidAttributeWithModelArray:(NSArray *)modelArray timeName:(NSString *)timeName; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/List/FNTopicListCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicListCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicListItem.h" 11 | 12 | @interface FNTopicListCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNTopicListItem *listItem; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsThrImgCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsThrImgCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsListItem.h" 11 | 12 | @interface FNNewsThrImgCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNNewsListItem *contItem; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Controlller/FNAVBaseController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVBaseController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNAVBaseController : UIViewController 12 | 13 | - (void)setAllPrepare; 14 | 15 | @property (nonatomic, assign) NSInteger previousIndex; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsSglImgCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSglImgCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsListItem.h" 11 | 12 | @interface FNNewsSglImgCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNNewsListItem *contItem; 15 | 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/View/FNReadListSglImgCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNReadListSglImgCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNReadListItem.h" 11 | 12 | @interface FNReadListSglImgCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNReadListItem *item; 15 | 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/View/FNReadListThreeImgCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNReadListThreeImgCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNReadListItem.h" 11 | 12 | @interface FNReadListThreeImgCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNReadListItem *item; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/main.m: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // main.m 4 | // FourNews 5 | // 6 | // Created by admin on 16/3/27. 7 | // Copyright © 2016年 天涯海北. All rights reserved. 8 | // 9 | 10 | #import 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsList/FNNewsGetSearchNews.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetSearchNews.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsGetSearchNews : NSObject 12 | 13 | + (void)getSearchNewsWithWord:(NSString *)word :(void(^)(NSArray *))complete;; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/Tool_function/FNReadGetNewsListItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNReadGetNewsListItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNReadGetNewsListItem : NSObject 12 | 13 | + (void)getNewsListItemsWithCount:(NSInteger)count :(void(^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Tool_funtion/FNTopicGetListItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicGetListItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNTopicGetListItem : NSObject 12 | 13 | + (void)getTopicNewsListWithPageCount:(NSInteger)pageCount :(void(^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Model/FNAVListItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVListItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNAVListItem.h" 10 | #import 11 | 12 | @implementation FNAVListItem 13 | 14 | + (NSDictionary *)mj_replacedKeyFromPropertyName 15 | { 16 | return @{@"descrip":@"description"}; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Tool_Funtion/FNAVGetAVNewsList.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVGetAVNewsList.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNAVGetAVNewsList : NSObject 12 | 13 | + (void)getAVNewsListWithTid:(NSString *)tid :(NSInteger)pageCount :(void(^)(NSArray *))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingSelectedItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingSelectedItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "YJSettingCellBaseItem.h" 10 | 11 | @interface YJSettingSelectedItem : YJSettingCellBaseItem 12 | 13 | //当是开关时,记录开关的状态 14 | @property (nonatomic ,assign ,getter=isSelected) int selected; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsDetail/FNNewsGetDetailNews.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetDetailNews.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsGetDetailNews : NSObject 12 | 13 | + (void)getNewsDetailWithDocid:(NSString *)docid :(void (^)(id))complete; 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsDetail/FNNewsGetPhotoSetItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetPhotoSetItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/5. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsGetPhotoSetItem : NSObject 12 | 13 | + (void)getNewsDetailWithPhotoid:(NSString *)photoid :(void (^)(id))complete; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Tool_Funtion/FNFileManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNFileManager.h 3 | // FNBudejie 4 | // 5 | // Created by admin on 16/4/6. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNFileManager : NSObject 12 | 13 | + (NSInteger)getSizeWithFilePath:(NSString *)path; 14 | 15 | + (void)clearDiskWithFilePath:(NSString *)path; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/Pods/OpenShare/openshare/OpenShare+Alipay.h: -------------------------------------------------------------------------------- 1 | // 2 | // OpenShare+Alipay.h 3 | // openshare 4 | // 5 | // Created by LiuLogan on 15/6/4. 6 | // Copyright (c) 2015年 OpenShare . All rights reserved. 7 | // 8 | 9 | #import "OpenShare.h" 10 | 11 | @interface OpenShare (Alipay) 12 | +(void)connectAlipay; 13 | +(void)AliPay:(NSString*)link Success:(paySuccess)success Fail:(payFail)fail; 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsSearchListCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchListCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsSearchWordItem.h" 11 | 12 | @interface FNNewsSearchListCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNNewsSearchWordItem *item; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/NSString+YJ.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+YJ.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 给我一个时间字符串和时间格式字符串 返回一个常用的时间字符串 8 | 9 | #import 10 | 11 | @interface NSString (YJ) 12 | 13 | + (nonnull NSString *)dateStringWithString:(nonnull NSString *)string :(nonnull NSString *)dateFormater; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Controlller/FNTopicDetailController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicListItem.h" 11 | 12 | @interface FNTopicDetailController : UIViewController 13 | 14 | @property (nonatomic, strong) FNTopicListItem *listItem; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Controlller/FNMeSettingController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeSettingController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "YJSettingBaseController.h" 10 | 11 | @interface FNMeSettingController : YJSettingBaseController 12 | @property (nonatomic, strong) UIView *standHeader; 13 | @property (nonatomic, assign) BOOL isGoNext; 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Model/FNTopicListItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicListItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicListItem.h" 10 | #import 11 | 12 | @implementation FNTopicListItem 13 | 14 | + (NSDictionary *)mj_replacedKeyFromPropertyName 15 | { 16 | return @{@"descrip":@"description"}; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * For the full copyright and license information, please view the LICENSE 6 | * file that was distributed with this source code. 7 | */ 8 | 9 | #import 10 | 11 | @protocol SDWebImageOperation 12 | 13 | - (void)cancel; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "1.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "2.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "3.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/launch/4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "4.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsReply/NewsQRCode/FNNewsQRCodeScanController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsQRCodeScanController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsQRCodeScanController : UIViewController 12 | 13 | @property (nonatomic, strong) void(^receiveQRCodeInformate)(NSString *); 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/fb_wave.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "fb_wave.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellSwitchItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCellSwitchItem.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "YJSettingCellBaseItem.h" 11 | 12 | @interface YJSettingCellSwitchItem : YJSettingCellBaseItem 13 | 14 | //当是开关时,记录开关的状态 15 | @property (nonatomic ,assign) int isChoose; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/Tool_function/FNReadChooseListCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNReadChooseListCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNReadListItem.h" 11 | 12 | @interface FNReadChooseListCell : NSObject 13 | 14 | + (instancetype)cellWithItem:(FNReadListItem *)item :(UITableView *)tableView; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/circleImgV.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "circleImgV.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/guideStart.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "guideStart@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/newsTitleImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "11111@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/FNMeSquareItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNMeSquareItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNMeSquareItem : NSObject 12 | 13 | @property (nonatomic ,strong) NSString *name; 14 | @property (nonatomic ,strong) NSString *icon; 15 | @property (nonatomic ,strong) NSString *url; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellArrowItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCellArrowItem.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "YJSettingCellBaseItem.h" 11 | 12 | @interface YJSettingCellArrowItem : YJSettingCellBaseItem 13 | 14 | //当是箭头是,告诉要跳转到哪一个类当中 15 | @property (nonatomic ,assign) Class desClass; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/home_scan_6.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "home_scan_6@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/photoSetBottom.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "photoSetBottom.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/weather_back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "weather_back@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/headex_button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "headex_button@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/news_share.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "news_share.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/icon_share-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "icon_share@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/icon_share.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "icon_share@2x-1.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/CellArrow.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "CellArrow@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/snip1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "屏幕快照 2016-05-11 下午5.54.54.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/search_icon-1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "search_icon@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Controlller/FNAVDetailController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVDetailController.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/17. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNAVListItem.h" 11 | 12 | @interface FNAVDetailController : UIViewController 13 | 14 | @property (nonatomic, strong) FNAVListItem *item; 15 | 16 | @property (nonatomic, strong) void(^backBlock)(); 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/modalview_donebutton.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "modalview_donebutton@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/search_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "night_search_icon@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/View/FNAVShareView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVShareView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNAVListItem.h" 11 | 12 | @interface FNAVShareView : UIView 13 | 14 | @property (nonatomic, strong) FNAVListItem *item; 15 | 16 | + (instancetype)avShareView; 17 | 18 | @property (nonatomic, strong) void(^closeBlock)(); 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsList/FNGetListCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNGetListCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/30. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | @class FNNewsListItem; 11 | 12 | 13 | 14 | @interface FNGetListCell : NSObject 15 | 16 | + (instancetype)cellWithTableView:(UITableView *)tableView :(FNNewsListItem *)item :(NSIndexPath *)indexPath; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/libs/YJRefreshHeader.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJRefreshHeader.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/22. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "YJRefreshHeader.h" 10 | 11 | @implementation YJRefreshHeader 12 | 13 | - (instancetype)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | 18 | } 19 | return self; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/cell_image_background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "cell_image_background@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/photosetBackGround.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "photosetBackGround.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_sina.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "share_platform_sina@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsList/FNNewsSearchListController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchListController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsSearchWordItem.h" 11 | 12 | @interface FNNewsSearchListController : UITableViewController 13 | 14 | @property (nonatomic, strong) NSArray *searchItems; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/GlobalFiles/FourNews.pch: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // FourNews.pch 4 | // FourNews 5 | // 6 | // Created by admin on 16/3/27. 7 | // Copyright © 2016年 天涯海北. All rights reserved. 8 | // 9 | 10 | #ifndef FourNews_pch 11 | #define FourNews_pch 12 | 13 | #import "Common.h" 14 | 15 | #import "UIImage+FN.h" 16 | 17 | #import "UIView+FN.h" 18 | #import "FNUserDefaults.h" 19 | #import "FNNetWorking.h" 20 | 21 | #import "YJConst.h" 22 | 23 | #endif /* FourNews_pch */ 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/contentview_imagebg_logo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "contentview_imagebg_logo@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/selfClip/detailBottomBackGround.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "detailBottomBackGround.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_qzone.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "share_platform_qzone@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "detail_expand_arrow@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsPortItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPortItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsPortItem : NSObject 12 | 13 | @property (nonatomic, strong) NSString *title; 14 | 15 | @property (nonatomic, strong) NSString *urlString; 16 | 17 | @property (nonatomic, strong) NSString *replyUrl; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoNormalFooter : MJRefreshAutoStateFooter 12 | /** 菊花的样式 */ 13 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 14 | @end 15 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/readercell_share_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "readercell_share_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/night_video_cell_play.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "night_video_cell_play@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsADView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsADCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsListItem.h" 11 | 12 | @interface FNNewsADView : UIView 13 | 14 | 15 | @property (nonatomic, strong) FNNewsListItem *contItem; 16 | 17 | @property (nonatomic, strong) void(^adClickBlock)(FNNewsListItem *,NSInteger index); 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Tool_funtion/FNTopicGetDetailItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicGetDetailItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNTopicGetDetailItem : NSObject 12 | 13 | + (void)getTopicNewsDetailWithExpertId:(NSString *)expertId :(BOOL)isNewQues :(NSInteger)pageCount :(void(^)(NSMutableArray *))complete; 14 | 15 | 16 | 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/readercell_share_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "readercell_share_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/recommendlist_cell_action.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "recommendlist_cell_action@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsDetail/FNNewsDealDetailItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDealDetailItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsDetailItem.h" 11 | 12 | @interface FNNewsDealDetailItem : NSObject 13 | 14 | + (FNNewsDetailItem *)itemWithDetailitem:(FNNewsDetailItem *)item :(void(^)(NSMutableArray *array))getStrongRange; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/Pods/OpenShare/openshare/OpenShareHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // OpenShareHeader.h 3 | // openshare 4 | // 5 | // Created by LiuLogan on 15/5/15. 6 | // Copyright (c) 2015年 OpenShare . All rights reserved. 7 | // 8 | 9 | #ifndef openshare_OpenShareHeader_h 10 | #define openshare_OpenShareHeader_h 11 | #import "OpenShare+QQ.h" 12 | #import "OpenShare+Weibo.h" 13 | #import "OpenShare+Weixin.h" 14 | #import "OpenShare+Renren.h" 15 | #import "OpenShare+Alipay.h" 16 | #endif 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/share/share_platform_wechattimeline.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "share_platform_wechattimeline@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/pluginmanager_icon_message.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "pluginmanager_icon_message@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/MJRefreshAutoNormalFooter+YJ.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoNormalFooter+YJ.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoNormalFooter+YJ.h" 10 | 11 | @implementation MJRefreshAutoNormalFooter (YJ) 12 | 13 | - (void)prepare 14 | { 15 | [super prepare]; 16 | 17 | // 默认不会自动隐藏 18 | self.automaticallyHidden = YES; 19 | } 20 | 21 | 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailCell/FNTopicDetailCellAnsView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailCellAnsView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/12. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicAnswerItem.h" 11 | 12 | @interface FNTopicDetailCellAnsView : UIView 13 | 14 | 15 | @property (nonatomic, assign) CGFloat totalHeight; 16 | 17 | @property (nonatomic, strong) FNTopicAnswerItem *ansItem; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailCell/FNTopicDetailCellQuesView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailCellQuesView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/12. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicQuesItem.h" 11 | 12 | @interface FNTopicDetailCellQuesView : UIView 13 | 14 | 15 | @property (nonatomic, strong) FNTopicQuesItem *quesItem; 16 | 17 | @property (nonatomic, assign) CGFloat totalHeight; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/detail_expand_arrow@2xrotation.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "detail_expand_arrow@2xrotation.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsDetail/FNNewsDetailContImgItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailContImgItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsDetailContImgItem : NSObject 12 | 13 | @property (nonatomic, strong) NSString *pixel; 14 | 15 | @property (nonatomic, strong) NSString *alt; 16 | 17 | @property (nonatomic, strong) NSString *src; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/Pods/SDWebImage/SDWebImage/UIImage+GIF.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImage+GIF.h 3 | // LBGIFImage 4 | // 5 | // Created by Laurin Brandner on 06.01.12. 6 | // Copyright (c) 2012 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIImage (GIF) 12 | 13 | + (UIImage *)sd_animatedGIFNamed:(NSString *)name; 14 | 15 | + (UIImage *)sd_animatedGIFWithData:(NSData *)data; 16 | 17 | - (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/night_contentcell_comment_border.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "night_contentcell_comment_border@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingGroupItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingGroupItem.m 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "YJSettingGroupItem.h" 10 | 11 | 12 | @implementation YJSettingGroupItem 13 | 14 | + (instancetype)settingItemWithRowArray:(NSArray *)items { 15 | 16 | YJSettingGroupItem *groupItem = [[self alloc] init]; 17 | groupItem.items = items; 18 | return groupItem; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsReply/FNNewsDetailHotReplyView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailHotReplyView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsDetailHotReplyView : UIView 12 | 13 | @property (nonatomic, strong) NSArray *replyArray; 14 | 15 | @property (nonatomic, assign) CGFloat totalHeight; 16 | 17 | + (CGFloat)totalHeightWithReplyArray:(NSArray *)array; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsSearch/FNNewsHotWordsListView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHotWordsListView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsHotWordItem.h" 11 | 12 | @interface FNNewsHotWordsListView : UIView 13 | 14 | @property (nonatomic, strong) NSArray *hotWords; 15 | 16 | @property (nonatomic, strong) void(^hotWordBlock)(NSString *); 17 | 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsDetail/FNNewsDetailShareView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailShareView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/21. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsDetailShareView : UIView 12 | 13 | @property (nonatomic, strong) void(^sinaWeiboShareBlock)(); 14 | 15 | @property (nonatomic, strong) void(^weiCharShare)(); 16 | 17 | @property (nonatomic, strong) void(^qqZoneShare)(); 18 | 19 | @end 20 | 21 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshNormalHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshNormalHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshNormalHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsDetail/FNNewsPhotoDescView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPhotoDescView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/6. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsPhotoSetItem.h" 11 | 12 | @interface FNNewsPhotoDescView : UIView 13 | @property (weak, nonatomic) IBOutlet UILabel *indexL; 14 | @property (nonatomic, strong) FNNewsPhotoSetItem *descItem; 15 | 16 | + (CGFloat)heightWithPhotoSet:(NSArray *)photoSet; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsSearch/FNNewsHistoryView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsHistoryView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/7. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsListItem.h" 11 | 12 | @interface FNNewsHistoryView : UIView 13 | 14 | @property (nonatomic, strong) NSString *detailID; 15 | 16 | 17 | @property (nonatomic, strong) void(^historyBlock)(id); 18 | 19 | @property (nonatomic, strong) void(^moreBlock)(); 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsADsItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNADsItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsADsItem : NSObject 12 | 13 | @property (nonatomic, strong) NSString *title; 14 | 15 | @property (nonatomic, strong) NSString *tag; 16 | 17 | @property (nonatomic, strong) NSString *imgsrc; 18 | 19 | @property (nonatomic, strong) NSString *url; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Model/FNStatusParamModel.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNStatusParamModel.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNStatusParamModel : NSObject 12 | 13 | /** 从缓存中取多少条 */ 14 | @property (nonatomic, assign) NSInteger count; 15 | /** 时间唯一标识 */ 16 | @property (nonatomic, assign) NSInteger timeid; 17 | /** 模型名字 */ 18 | @property (nonatomic, strong) NSString *modelName; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/View/YJSettingTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingTableViewCell.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "YJSettingCellBaseItem.h" 11 | 12 | @interface YJSettingTableViewCell : UITableViewCell 13 | 14 | + (YJSettingTableViewCell *)cellWithTableView:(UITableView *)tableView style:(UITableViewCellStyle)style; 15 | 16 | @property (nonatomic, strong) YJSettingCellBaseItem *item; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsReply/FNNewsReplyCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsReplyCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsReplyItem.h" 11 | 12 | @interface FNNewsReplyCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNNewsReplyItem *replyItem; 15 | 16 | @property (nonatomic, assign) CGFloat totalHeight; 17 | 18 | + (CGFloat)totalHeightWithItem:(FNNewsReplyItem *)replyItem; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/launchTime/Model/FNADItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNADItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNADItem : NSObject 12 | 13 | /** 广告图片*/ 14 | @property (nonatomic ,strong) NSString *w_picurl; 15 | /** 广告界面跳转地址*/ 16 | @property (nonatomic ,strong) NSString *ori_curl; 17 | @property (nonatomic, assign) CGFloat w; 18 | @property (nonatomic, assign) CGFloat h; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsDetail/FNNewsDetailItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsDetailItem.h" 10 | #import "FNNewsRelativeItem.h" 11 | #import 12 | 13 | @implementation FNNewsDetailItem 14 | 15 | //+ (NSDictionary *)mj_objectClassInArray 16 | //{ 17 | // return @{@"relative_sys" : [FNNewsRelativeItem class]}; 18 | //} 19 | 20 | MJCodingImplementation 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsDetail/FNNewsGetCacheDetailNewsTool.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetCacheDetailNewsTool.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsGetCacheDetailNewsTool : NSObject 12 | 13 | /** 14 | * 缓存数据的方法 15 | */ 16 | + (void)addStatusCache:(NSObject *)newsItem; 17 | 18 | /** 19 | * 读取数据的方法 20 | */ 21 | + (NSObject *)getStatusCache:(NSObject *)detailId; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsList/FNGetNewsListDatas.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNGetNewsListDatas.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNGetNewsListDatas : NSObject 12 | 13 | + (void)getNewsListItemsWithProgramaid:(NSString *)pgmid :(NSInteger)count :(NSInteger)timeid :(void(^)(NSArray *nullable))complete; 14 | + (void)getCacheNewsListItems:(void (^)(NSArray *nullable))complete; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsDetail/FNNewsDetailController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsDetailItem.h" 11 | #import "FNNewsListItem.h" 12 | 13 | @interface FNNewsDetailController : UIViewController 14 | 15 | @property (nonatomic, strong) FNNewsDetailItem *detailItem; 16 | 17 | @property (nonatomic, strong) FNNewsListItem *listItem; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackNormalFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackNormalFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackNormalFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *arrowView; 13 | /** 菊花的样式 */ 14 | @property (assign, nonatomic) UIActivityIndicatorViewStyle activityIndicatorViewStyle; 15 | @end 16 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsReply/FNNewsReplyController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsReplyController.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsDetailItem.h" 11 | 12 | @interface FNNewsReplyController : UITableViewController 13 | 14 | @property (nonatomic, strong) NSString *docid; 15 | 16 | @property (nonatomic, strong) NSString *boardid; 17 | 18 | @property (nonatomic, strong) FNNewsDetailItem *item; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJRefresh/MJRefresh.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MJRefresh" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/OpenShare/OpenShare.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OpenShare" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/navigationbar_back.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "navigationbar_back@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsReply/FNNewsGetReply.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsGetReply.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsDetailItem.h" 11 | 12 | @interface FNNewsGetReply : NSObject 13 | 14 | + (void)hotReplyWithDetailItem:(FNNewsDetailItem *)item :(void(^)(NSArray *))compelet; 15 | 16 | + (void)newReplyWithDetailItem:(FNNewsDetailItem *)item :(NSInteger)replyPage :(void(^)(NSArray *))compelet; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailHeader/FNTopicDetailHeaderVBottomView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailHeaderVBottomView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface FNTopicDetailHeaderVBottomView : UIView 13 | 14 | @property (weak, nonatomic) IBOutlet UILabel *messageL; 15 | 16 | @property (weak, nonatomic) IBOutlet UISegmentedControl *chooseSegment; 17 | 18 | @property (nonatomic, strong) void(^segueBlock)(); 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MJExtension/MJExtension.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MJExtension" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | PODS_ROOT = ${SRCROOT} 4 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/libs/FNLabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNLabel.h 3 | // FNLabelDemo 4 | // 5 | // Created by ZYJ on 12-11-8. 6 | // Copyright (c) 2012年 ZYJ. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNLabel : UIView 12 | 13 | 14 | @property (nonatomic, strong) NSMutableAttributedString* string; 15 | @property (nonatomic, strong) NSString* text; 16 | 17 | @property (nonatomic, strong) UIFont* font; 18 | @property (nonatomic, strong) UIColor* textColor; 19 | @property (nonatomic, assign) CGFloat lineSpace; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailCell/FNTopicDetailCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailCell.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/12. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicDetailItem.h" 11 | #import "FNTopicQuesItem.h" 12 | #import "FNTopicAnswerItem.h" 13 | 14 | 15 | @interface FNTopicDetailCell : UITableViewCell 16 | 17 | @property (nonatomic, strong) FNTopicDetailItem *detailItem; 18 | 19 | + (CGFloat)totalHeightWithItem:(FNTopicDetailItem *)detailItem; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_me_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellBaseItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCelBaseItem.m 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "YJSettingCellBaseItem.h" 10 | 11 | @implementation YJSettingCellBaseItem 12 | 13 | //快速创建模型 14 | + (instancetype)settingRowItemWithTitle:(NSString *)title image:(UIImage *)image { 15 | 16 | YJSettingCellBaseItem *item = [[self alloc] init]; 17 | item.image = image; 18 | item.title = title; 19 | return item; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/FMDB/FMDB.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FMDB" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | OTHER_LDFLAGS = -l"sqlite3" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_news_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/Model/FNTopicDetailItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicQuesItem.h" 11 | #import "FNTopicAnswerItem.h" 12 | 13 | @interface FNTopicDetailItem : NSObject 14 | 15 | @property (nonatomic, strong) FNTopicQuesItem *question; 16 | 17 | @property (nonatomic, strong) FNTopicAnswerItem *answer; 18 | 19 | @property (nonatomic, assign) CGFloat totalHeight; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the SDWebImage package. 3 | * (c) Olivier Poitrey 4 | * 5 | * Created by james on 9/28/11. 6 | * 7 | * For the full copyright and license information, please view the LICENSE 8 | * file that was distributed with this source code. 9 | */ 10 | 11 | #import 12 | #import "SDWebImageCompat.h" 13 | 14 | @interface UIImage (ForceDecode) 15 | 16 | + (UIImage *)decodedImageWithImage:(UIImage *)image; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_found_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_me_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_me_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_media_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_news_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_news_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_reader_normal@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingGroupItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingGroupItem.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface YJSettingGroupItem : NSObject 12 | 13 | //共有多少行 14 | @property (nonatomic ,strong) NSArray *items; 15 | //头部标题 16 | @property (nonatomic ,strong) NSString *headerT; 17 | //尾部标题 18 | @property (nonatomic ,strong) NSString *footerT; 19 | 20 | 21 | + (instancetype)settingItemWithRowArray:(NSArray *)items; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_found_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_found_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_media_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_media_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/tabBarButtons/tabbar_icon_reader_highlight.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "tabbar_icon_reader_highlight@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | }, 21 | "properties" : { 22 | "template-rendering-intent" : "original" 23 | } 24 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/Classes/UIViewController+JTNavigationExtension.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIViewController+JTNavigationExtension.h 3 | // JTNavigationController 4 | // 5 | // Created by Tian on 16/2/17. 6 | // Copyright © 2016年 JiananTian. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "JTNavigationController.h" 11 | 12 | @interface UIViewController (JTNavigationExtension) 13 | 14 | @property (nonatomic, assign) BOOL jt_fullScreenPopGestureEnabled; 15 | 16 | @property (nonatomic, weak) JTNavigationController *jt_navigationController; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Controlller/YJSettingBaseController.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSetUpBaseController.h 3 | // 01彩票 4 | // 5 | // Created by admin on 15/11/30. 6 | // Copyright (c) 2015年 梅三IT. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "YJSettingGroupItem.h" 11 | #import "YJSettingTableViewCell.h" 12 | #import "YJSettingCellArrowItem.h" 13 | #import "YJSettingCellSwitchItem.h" 14 | #import "YJSettingSelectedItem.h" 15 | 16 | @interface YJSettingBaseController : UITableViewController 17 | 18 | @property (nonatomic, strong) NSMutableArray *groupArray; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/Pods/MJExtension/MJExtension/MJExtension.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJExtension.h 3 | // MJExtension 4 | // 5 | // Created by mj on 14-1-15. 6 | // Copyright (c) 2014年 小码哥. All rights reserved. 7 | // 代码地址:https://github.com/CoderMJLee/MJExtension 8 | // 代码地址:http://code4app.com/ios/%E5%AD%97%E5%85%B8-JSON-%E4%B8%8E%E6%A8%A1%E5%9E%8B%E7%9A%84%E8%BD%AC%E6%8D%A2/5339992a933bf062608b4c57 9 | 10 | #import "NSObject+MJCoding.h" 11 | #import "NSObject+MJProperty.h" 12 | #import "NSObject+MJClass.h" 13 | #import "NSObject+MJKeyValue.h" 14 | #import "NSString+MJExtension.h" 15 | #import "MJExtensionConst.h" -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/MJRefresh.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | 4 | #import "UIScrollView+MJRefresh.h" 5 | #import "UIScrollView+MJExtension.h" 6 | #import "UIView+MJExtension.h" 7 | 8 | #import "MJRefreshNormalHeader.h" 9 | #import "MJRefreshGifHeader.h" 10 | 11 | #import "MJRefreshBackNormalFooter.h" 12 | #import "MJRefreshBackGifFooter.h" 13 | #import "MJRefreshAutoNormalFooter.h" 14 | #import "MJRefreshAutoGifFooter.h" -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | OTHER_LDFLAGS = -framework "ImageIO" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsReply/FNNewsSglReplyView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSglReplyView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsReplyItem.h" 11 | 12 | @interface FNNewsSglReplyView : UIView 13 | 14 | + (instancetype)sglReplyViewWithItem:(FNNewsReplyItem *)replyItem; 15 | 16 | - (instancetype)initWithItem:(FNNewsReplyItem *)replyItem; 17 | 18 | @property (nonatomic, strong) FNNewsReplyItem *replyItem; 19 | 20 | @property (nonatomic, assign) CGFloat totalHeight; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MBProgressHUD" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | OTHER_LDFLAGS = -framework "CoreGraphics" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Controlller/NewsDetail/FNNewsPhotoSetController.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPhotoSetController.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/5. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsPhotoSetItem.h" 11 | #import "FNNewsListItem.h" 12 | 13 | @interface FNNewsPhotoSetController : UIViewController 14 | 15 | @property (nonatomic, strong) NSArray *photoSet; 16 | 17 | @property (nonatomic, strong) NSString *photoSetid; 18 | 19 | @property (nonatomic, strong) FNNewsListItem *listItem; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailHeader/FNTopicDetailInsetView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailInsetView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicListItem.h" 11 | 12 | @interface FNTopicDetailInsetView : UIView 13 | 14 | @property (weak, nonatomic) IBOutlet UILabel *descL; 15 | @property (weak, nonatomic) IBOutlet UILabel *focuL; 16 | @property (weak, nonatomic) IBOutlet UIView *focuV; 17 | 18 | 19 | + (instancetype)TopicDetailInsetViewWith:(FNTopicListItem *)listItem; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsSearchWordItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchWordItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsSearchWordItem : NSObject 12 | // 详情参数 13 | @property (nonatomic, strong) NSString *docid; 14 | // 标题 15 | @property (nonatomic, strong) NSString *title; 16 | 17 | @property (nonatomic, strong) NSString *skipID; 18 | 19 | @property (nonatomic, strong) NSString *skipType; 20 | // 时间 21 | @property (nonatomic, strong) NSString *ptime; 22 | @end 23 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackFooter.h" 10 | 11 | @interface MJRefreshBackStateFooter : MJRefreshBackFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | /** 设置state状态下的文字 */ 15 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 16 | 17 | /** 获取state状态下的title */ 18 | - (NSString *)titleForState:(MJRefreshState)state; 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsRelative/FNNewsRelativeItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsRelativeItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsRelativeItem : NSObject 12 | // 新文详情接口参数 13 | @property (nonatomic, strong) NSString *id; 14 | // 来源 15 | @property (nonatomic, strong) NSString *source; 16 | // 配图 17 | @property (nonatomic, strong) NSString *imgsrc; 18 | // 主标题 19 | @property (nonatomic, strong) NSString *title; 20 | // 发布时间 21 | @property (nonatomic, strong) NSString *ptime; 22 | 23 | @end -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshGifHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshGifHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshStateHeader.h" 10 | 11 | @interface MJRefreshGifHeader : MJRefreshStateHeader 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/Pods/OpenShare/openshare/OpenShare+Renren.h: -------------------------------------------------------------------------------- 1 | // 2 | // OpenShare+Renren.h 3 | // openshare 4 | // 5 | // Created by LiuLogan on 15/5/19. 6 | // Copyright (c) 2015年 OpenShare . All rights reserved. 7 | // 8 | 9 | #import "OpenShare.h" 10 | 11 | @interface OpenShare (Renren) 12 | +(void)connectRenrenWithAppId:(NSString *)appId AndAppKey:(NSString*)appKey; 13 | +(BOOL)isRenrenInstalled; 14 | 15 | +(void)shareToRenrenSession:(OSMessage*)msg Success:(shareSuccess)success Fail:(shareFail)fail; 16 | +(void)shareToRenrenTimeline:(OSMessage*)msg Success:(shareSuccess)success Fail:(shareFail)fail; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Tool_Funtion/NewsList/FNStatusCacheTool.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNStatusCacheTool.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/5/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNStatusParamModel.h" 11 | 12 | @interface FNStatusCacheTool : NSObject 13 | 14 | /** 15 | * 缓存数据的方法 16 | */ 17 | + (void)addStatusCache:(NSArray *)dicArray :(NSString *)tName; 18 | 19 | /** 20 | * 读取数据的方法 21 | */ 22 | + (NSMutableArray *)getStatusCache:(FNStatusParamModel *)params; 23 | 24 | // 还原阅读记录 25 | + (void)setOriginReadSkimWithName:(NSString *)tName; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoStateFooter.h" 10 | 11 | @interface MJRefreshAutoGifFooter : MJRefreshAutoStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Back/MJRefreshBackGifFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshBackGifFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshBackStateFooter.h" 10 | 11 | @interface MJRefreshBackGifFooter : MJRefreshBackStateFooter 12 | @property (weak, nonatomic, readonly) UIImageView *gifView; 13 | 14 | /** 设置state状态下的动画图片images 动画持续时间duration*/ 15 | - (void)setImages:(NSArray *)images duration:(NSTimeInterval)duration forState:(MJRefreshState)state; 16 | - (void)setImages:(NSArray *)images forState:(MJRefreshState)state; 17 | @end 18 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/View/FNAVListCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVListCell.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNAVListItem.h" 11 | 12 | @interface FNAVListCell : UITableViewCell 13 | 14 | @property (nonatomic, strong) FNAVListItem *listItem; 15 | 16 | @property (nonatomic, weak) UIButton *replyButton; 17 | 18 | + (CGFloat)totalHeightWithTitle:(NSString *)title; 19 | 20 | @property (nonatomic, strong) void(^movieBlock)(NSString *,UIView *); 21 | 22 | 23 | @property (nonatomic, strong) void(^shareBlock)(FNAVListItem *); 24 | 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsReply/FNNewsReplyItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsReplyItem.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/3. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsReplyItem : NSObject 12 | 13 | // 昵称 14 | @property (nonatomic, strong) NSString *n; 15 | // 评论时间 16 | @property (nonatomic, strong) NSString *t; 17 | // 评论内容 18 | @property (nonatomic, strong) NSString *b; 19 | // 头像 20 | @property (nonatomic, strong) NSString *timg; 21 | // 点赞 22 | @property (nonatomic, strong) NSString *v; 23 | // 来源 24 | @property (nonatomic, strong) NSString *f; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailHeader/FNTopicDetailHeaderVBottomView.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailHeaderVBottomView.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicDetailHeaderVBottomView.h" 10 | 11 | @interface FNTopicDetailHeaderVBottomView () 12 | 13 | 14 | 15 | @end 16 | 17 | @implementation FNTopicDetailHeaderVBottomView 18 | 19 | - (void)awakeFromNib 20 | { 21 | self.backgroundColor = FNColor(225, 225, 225); 22 | } 23 | - (IBAction)newOrHotChange:(id)sender { 24 | if (self.segueBlock) { 25 | self.segueBlock(); 26 | } 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Footer/Auto/MJRefreshAutoStateFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoStateFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/6/13. 6 | // Copyright © 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshAutoFooter.h" 10 | 11 | @interface MJRefreshAutoStateFooter : MJRefreshAutoFooter 12 | /** 显示刷新状态的label */ 13 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 14 | 15 | /** 设置state状态下的文字 */ 16 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 17 | 18 | /** 隐藏刷新状态的文字 */ 19 | @property (assign, nonatomic, getter=isRefreshingTitleHidden) BOOL refreshingTitleHidden; 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/Model/YJSettingCellBaseItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // YJSettingCelBaseItem.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface YJSettingCellBaseItem : NSObject 12 | 13 | //图标 14 | @property (nonatomic ,strong) UIImage *image; 15 | //标题 16 | @property (nonatomic ,strong) NSString *title; 17 | //子标题 18 | @property (nonatomic , strong) NSString *detailTitle; 19 | 20 | //执行一段代码 21 | @property (nonatomic, copy) void(^option)(); 22 | 23 | 24 | //快速创建模型 25 | + (instancetype)settingRowItemWithTitle:(NSString *)title image:(UIImage *)image; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /FourNews/Pods/Target Support Files/AFNetworking/AFNetworking.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MJExtension" "${PODS_ROOT}/Headers/Public/MJRefresh" "${PODS_ROOT}/Headers/Public/OpenShare" "${PODS_ROOT}/Headers/Public/SDWebImage" 3 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 4 | PODS_ROOT = ${SRCROOT} 5 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsList/FNNewsListItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsListItem.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsListItem.h" 10 | #import "FNNewsADsItem.h" 11 | #import 12 | 13 | @implementation FNNewsListItem 14 | 15 | MJCodingImplementation 16 | 17 | + (NSDictionary *)mj_objectClassInArray 18 | { 19 | return @{@"ads":@"FNNewsADsItem"}; 20 | } 21 | 22 | - (CGFloat)totalHeight 23 | { 24 | if (_imgextra) { 25 | return FNNewsListCellHeightTypeThr; 26 | } else { 27 | return FNNewsListCellHeightTypeSgl; 28 | } 29 | } 30 | 31 | 32 | 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailTop/FNTopicTopView.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicTopView.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNTopicTopView.h" 10 | 11 | @interface FNTopicTopView() 12 | 13 | @property (weak, nonatomic) IBOutlet UIButton *backButton; 14 | 15 | @end 16 | 17 | @implementation FNTopicTopView 18 | 19 | - (void)awakeFromNib 20 | { 21 | [self.backButton addTarget:self action:@selector(backBtnClick) forControlEvents:UIControlEventTouchUpInside]; 22 | 23 | } 24 | 25 | - (void)backBtnClick 26 | { 27 | if (self.backBlock) { 28 | self.backBlock(); 29 | } 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Category/MBProgressHUD+MJ.h: -------------------------------------------------------------------------------- 1 | // 2 | // MBProgressHUD+MJ.h 3 | // 4 | // Created by mj on 13-4-18. 5 | // Copyright (c) 2013年 itcast. All rights reserved. 6 | // 7 | 8 | #import "MBProgressHUD.h" 9 | 10 | @interface MBProgressHUD (MJ) 11 | + (void)showSuccess:(NSString *)success toView:(UIView *)view; 12 | + (void)showError:(NSString *)error toView:(UIView *)view; 13 | 14 | + (MBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view; 15 | 16 | 17 | + (void)showSuccess:(NSString *)success; 18 | + (void)showError:(NSString *)error; 19 | 20 | + (MBProgressHUD *)showMessage:(NSString *)message; 21 | 22 | + (void)hideHUDForView:(UIView *)view; 23 | + (void)hideHUD; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /FourNews/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Fabrice Aneche on 06/01/14. 3 | // Copyright (c) 2014 Dailymotion. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface NSData (ImageContentType) 9 | 10 | /** 11 | * Compute the content type for an image data 12 | * 13 | * @param data the input data 14 | * 15 | * @return the content type as string (i.e. image/jpeg, image/gif) 16 | */ 17 | + (NSString *)sd_contentTypeForImageData:(NSData *)data; 18 | 19 | @end 20 | 21 | 22 | @interface NSData (ImageContentTypeDeprecated) 23 | 24 | + (NSString *)contentTypeForImageData:(NSData *)data __deprecated_msg("Use `sd_contentTypeForImageData:`"); 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/AV/Tool_Funtion/FNAVGetAllColumns.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNAVGetAllColumns.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/10. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNAVGetAllColumns.h" 10 | #import "FNNetWorking.h" 11 | 12 | @implementation FNAVGetAllColumns 13 | 14 | + (void)getAllColumns:(void (^)(NSArray *))complete 15 | { 16 | [FNNetWorking GET:@"http://c.m.163.com/nc/video/topiclist.html" parameters:nil progress:^(NSProgress *progress) { 17 | } success:^(id responseObject, NSURLSessionDataTask *task) { 18 | complete(responseObject); 19 | } failure:^(NSURLSessionDataTask *task, NSError *error) { 20 | NSLog(@"%@",error); 21 | }]; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /FourNews/Pods/Local Podspecs/WeiboSDK.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "WeiboSDK", 3 | "version": "3.1.3", 4 | "source": { 5 | "git": "https://github.com/sinaweibosdk/weibo_ios_sdk.git", 6 | "tag": "3.1.3" 7 | }, 8 | "platforms": { 9 | "ios": "6.0" 10 | }, 11 | "requires_arc": false, 12 | "source_files": "libWeiboSDK/*.{h,m}", 13 | "resources": "libWeiboSDK/WeiboSDK.bundle", 14 | "vendored_libraries": "libWeiboSDK/libWeiboSDK.a", 15 | "frameworks": [ 16 | "ImageIO", 17 | "SystemConfiguration", 18 | "CoreText", 19 | "QuartzCore", 20 | "Security", 21 | "UIKit", 22 | "Foundation", 23 | "CoreGraphics", 24 | "CoreTelephony" 25 | ], 26 | "libraries": [ 27 | "sqlite3", 28 | "z" 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /FourNews/Pods/MJExtension/MJExtension/MJPropertyKey.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJPropertyKey.h 3 | // MJExtensionExample 4 | // 5 | // Created by MJ Lee on 15/8/11. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef enum { 12 | MJPropertyKeyTypeDictionary = 0, // 字典的key 13 | MJPropertyKeyTypeArray // 数组的key 14 | } MJPropertyKeyType; 15 | 16 | /** 17 | * 属性的key 18 | */ 19 | @interface MJPropertyKey : NSObject 20 | /** key的名字 */ 21 | @property (copy, nonatomic) NSString *name; 22 | /** key的种类,可能是@"10",可能是@"age" */ 23 | @property (assign, nonatomic) MJPropertyKeyType type; 24 | 25 | /** 26 | * 根据当前的key,也就是name,从object(字典或者数组)中取值 27 | */ 28 | - (id)valueInObject:(id)object; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsDetail/FNNewsDetailShareView.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailShareView.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/21. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsDetailShareView.h" 10 | #import 11 | 12 | @implementation FNNewsDetailShareView 13 | 14 | 15 | - (IBAction)sinaWeiboShare:(id)sender { 16 | if (self.sinaWeiboShareBlock) { 17 | self.sinaWeiboShareBlock(); 18 | } 19 | } 20 | 21 | - (IBAction)weiCharShare:(id)sender { 22 | if (self.weiCharShare) { 23 | self.weiCharShare(); 24 | } 25 | } 26 | - (IBAction)qqZoneShare:(id)sender { 27 | if (self.qqZoneShare) { 28 | self.qqZoneShare(); 29 | } 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Read/Model/FNReadListItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNReadListItem.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/14. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNReadListItem.h" 10 | #import 11 | 12 | @implementation FNReadListItem 13 | 14 | MJCodingImplementation 15 | 16 | - (CGFloat)cellHeight 17 | { 18 | if (!_imgnewextra) { 19 | return 120; 20 | } else { 21 | CGFloat titleH = [_title boundingRectWithSize:CGSizeMake(FNScreenW-YJMargin*2, MAXFLOAT) options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:17]} context:nil].size.height; 22 | return titleH + 0.6*FNScreenW + 40 + YJMargin*2; 23 | } 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Base/MJRefreshAutoFooter.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshAutoFooter.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshFooter.h" 10 | 11 | @interface MJRefreshAutoFooter : MJRefreshFooter 12 | /** 是否自动刷新(默认为YES) */ 13 | @property (assign, nonatomic, getter=isAutomaticallyRefresh) BOOL automaticallyRefresh; 14 | 15 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 16 | @property (assign, nonatomic) CGFloat appearencePercentTriggerAutoRefresh MJRefreshDeprecated("请使用automaticallyChangeAlpha属性"); 17 | 18 | /** 当底部控件出现多少时就自动刷新(默认为1.0,也就是底部控件完全出现时,才会自动刷新) */ 19 | @property (assign, nonatomic) CGFloat triggerAutomaticallyRefreshPercent; 20 | @end 21 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Topic/View/DetailHeader/FNTopicDetailHeaderView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNTopicDetailHeaderView.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/11. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNTopicListItem.h" 11 | #import "FNTopicDetailHeaderVBottomView.h" 12 | 13 | @interface FNTopicDetailHeaderView : UIView 14 | 15 | + (instancetype)topicDetailHeaderViewWithListItem:(FNTopicListItem *)listItem; 16 | 17 | @property (nonatomic, assign) CGFloat totalHeight; 18 | 19 | @property (nonatomic, strong) void(^detailBlock)(FNTopicDetailHeaderView *); 20 | 21 | @property (nonatomic, strong) void(^bottonSegueBlock)(); 22 | 23 | @property (nonatomic, weak) FNTopicDetailHeaderVBottomView *bottomV; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/UIView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_x; 14 | @property (assign, nonatomic) CGFloat mj_y; 15 | @property (assign, nonatomic) CGFloat mj_w; 16 | @property (assign, nonatomic) CGFloat mj_h; 17 | @property (assign, nonatomic) CGSize mj_size; 18 | @property (assign, nonatomic) CGPoint mj_origin; 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/Pods/MJExtension/MJExtension/MJPropertyKey.m: -------------------------------------------------------------------------------- 1 | // 2 | // MJPropertyKey.m 3 | // MJExtensionExample 4 | // 5 | // Created by MJ Lee on 15/8/11. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJPropertyKey.h" 10 | 11 | @implementation MJPropertyKey 12 | 13 | - (id)valueInObject:(id)object 14 | { 15 | if ([object isKindOfClass:[NSDictionary class]] && self.type == MJPropertyKeyTypeDictionary) { 16 | return object[self.name]; 17 | } else if ([object isKindOfClass:[NSArray class]] && self.type == MJPropertyKeyTypeArray) { 18 | NSArray *array = object; 19 | NSUInteger index = self.name.intValue; 20 | if (index < array.count) return array[index]; 21 | return nil; 22 | } 23 | return nil; 24 | } 25 | @end 26 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/Custom/Header/MJRefreshStateHeader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MJRefreshStateHeader.h 3 | // MJRefreshExample 4 | // 5 | // Created by MJ Lee on 15/4/24. 6 | // Copyright (c) 2015年 小码哥. All rights reserved. 7 | // 8 | 9 | #import "MJRefreshHeader.h" 10 | 11 | @interface MJRefreshStateHeader : MJRefreshHeader 12 | #pragma mark - 刷新时间相关 13 | /** 利用这个block来决定显示的更新时间文字 */ 14 | @property (copy, nonatomic) NSString *(^lastUpdatedTimeText)(NSDate *lastUpdatedTime); 15 | /** 显示上一次刷新时间的label */ 16 | @property (weak, nonatomic, readonly) UILabel *lastUpdatedTimeLabel; 17 | 18 | #pragma mark - 状态相关 19 | /** 显示刷新状态的label */ 20 | @property (weak, nonatomic, readonly) UILabel *stateLabel; 21 | /** 设置state状态下的文字 */ 22 | - (void)setTitle:(NSString *)title forState:(MJRefreshState)state; 23 | @end 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/Model/NewsDetail/FNNewsPhotoSetItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsPhotoSetItem.h 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/5. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNewsPhotoSetItem : NSObject 12 | // 发布时间 13 | @property (nonatomic, strong) NSString *datatime; 14 | // 作者 15 | @property (nonatomic, strong) NSString *creator; 16 | // 来源 17 | @property (nonatomic, strong) NSString *source; 18 | // 图片url 19 | @property (nonatomic, strong) NSString *imgurl; 20 | // 图片描述 21 | @property (nonatomic, strong) NSString *imgtitle; 22 | // 图片描述 23 | @property (nonatomic, strong) NSString *note; 24 | // 图集描述 25 | @property (nonatomic, strong) NSString *setname; 26 | 27 | @property (nonatomic, strong) NSString *photosetID; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /FourNews/FourNews/Assets.xcassets/smallImg/contentview_commentbacky.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "resizing" : { 9 | "mode" : "9-part", 10 | "center" : { 11 | "mode" : "tile", 12 | "width" : 1, 13 | "height" : 1 14 | }, 15 | "cap-insets" : { 16 | "bottom" : 44, 17 | "top" : 43, 18 | "right" : 50, 19 | "left" : 29 20 | } 21 | }, 22 | "idiom" : "universal", 23 | "filename" : "contentview_commentbacky@2x.png", 24 | "scale" : "2x" 25 | }, 26 | { 27 | "idiom" : "universal", 28 | "scale" : "3x" 29 | } 30 | ], 31 | "info" : { 32 | "version" : 1, 33 | "author" : "xcode" 34 | } 35 | } -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Main/Controlller/Classes/JTNavigationController.h: -------------------------------------------------------------------------------- 1 | // 2 | // JTNavigationController.h 3 | // JTNavigationController 4 | // 5 | // Created by Tian on 16/1/23. 6 | // Copyright © 2016年 TianJiaNan. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JTWrapViewController : UIViewController 12 | 13 | @property (nonatomic, strong, readonly) UIViewController *rootViewController; 14 | 15 | + (JTWrapViewController *)wrapViewControllerWithViewController:(UIViewController *)viewController; 16 | 17 | @end 18 | 19 | @interface JTNavigationController : UINavigationController 20 | 21 | @property (nonatomic, strong) UIImage *backButtonImage; 22 | 23 | @property (nonatomic, assign) BOOL fullScreenPopGestureEnabled; 24 | 25 | @property (nonatomic, copy, readonly) NSArray *jt_viewControllers; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsSearch/FNNewsHotWordButton.m: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // FNNewsHotWordButton.m 4 | // FourNews 5 | // 6 | // Created by admin on 16/4/7. 7 | // Copyright © 2016年 天涯海北. All rights reserved. 8 | // 9 | 10 | #import "FNNewsHotWordButton.h" 11 | 12 | @implementation FNNewsHotWordButton 13 | 14 | - (instancetype)initWithFrame:(CGRect)frame 15 | { 16 | self = [super initWithFrame:frame]; 17 | if (self) { 18 | self.imageView.contentMode = UIViewContentModeScaleAspectFill; 19 | self.titleLabel.textAlignment = NSTextAlignmentCenter; 20 | } 21 | return self; 22 | } 23 | 24 | 25 | - (void)layoutSubviews 26 | { 27 | [super layoutSubviews]; 28 | self.imageView.frame = self.bounds; 29 | self.titleLabel.frame = CGRectMake(10, 10, self.width-20, self.height-20); 30 | 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Tool_lib/FNUserDefaults.h: -------------------------------------------------------------------------------- 1 | // 2 | // MyUserDefaults.h 3 | // 网易彩票2016 4 | // 5 | // Created by admin on 16/3/7. 6 | // Copyright © 2016年 小码哥. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNUserDefaults : NSObject 12 | 13 | + (id)objectWithKey:(NSString *)key; 14 | 15 | + (NSInteger)integerForKey:(NSString *)key; 16 | + (float)floatForKey:(NSString *)key; 17 | + (double)doubleForKey:(NSString *)key; 18 | + (BOOL)boolForKey:(NSString *)key; 19 | 20 | 21 | + (void)setInteger:(NSInteger)value forKey:(NSString *)key; 22 | + (void)setFloat:(float)value forKey:(NSString *)key; 23 | + (void)setDouble:(double)value forKey:(NSString *)key; 24 | + (void)setBool:(BOOL)value forKey:(NSString *)key; 25 | 26 | + (void)setObject:(NSObject *)object forKey:(NSString *)key; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Me/View/FNMeSquareViewCell.m: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // FNMeSquareViewCell.m 4 | // FourNews 5 | // 6 | // Created by admin on 16/4/14. 7 | // Copyright © 2016年 天涯海北. All rights reserved. 8 | // 9 | 10 | #import "FNMeSquareViewCell.h" 11 | #import 12 | 13 | @interface FNMeSquareViewCell () 14 | @property (weak, nonatomic) IBOutlet UIImageView *iconView; 15 | @property (weak, nonatomic) IBOutlet UILabel *nameL; 16 | 17 | @end 18 | 19 | @implementation FNMeSquareViewCell 20 | 21 | - (void)awakeFromNib 22 | { 23 | [super awakeFromNib]; 24 | self.backgroundColor = [UIColor whiteColor]; 25 | } 26 | 27 | - (void)setItem:(FNMeSquareItem *)item 28 | { 29 | _item = item; 30 | 31 | [self.iconView sd_setImageWithURL:[NSURL URLWithString:_item.icon]]; 32 | self.nameL.text = _item.name; 33 | } 34 | 35 | @end -------------------------------------------------------------------------------- /FourNews/FourNewsTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/Other/Tool_lib/FNNetWorking.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNetWorking.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/28. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface FNNetWorking : NSObject 12 | 13 | + (NSURLSessionDataTask *)GET:(NSString *)url parameters:(NSDictionary *)parameters progress:(void(^)(NSProgress *progress))progress success:(void(^)(id responseObject,NSURLSessionDataTask * task))success failure:(void(^)(NSURLSessionDataTask *task,NSError *error))taskError; 14 | 15 | + (NSURLSessionDataTask *)POST:(NSString *)url parameters:(NSDictionary *)parameters progress:(void(^)(NSProgress *progress))progress success:(void(^)(id responseObject,NSURLSessionDataTask * task))success failure:(void(^)(NSURLSessionDataTask *task,NSError *error))taskError; 16 | 17 | 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsDetail/FNNewsDetailContView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsDetailContView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/3/31. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsDetailItem.h" 11 | #import "FNNewsRelativeItem.h" 12 | 13 | @interface FNNewsDetailContView : UIScrollView 14 | 15 | @property (nonatomic, strong) FNNewsDetailItem *detailItem; 16 | 17 | @property (nonatomic, strong) NSArray *replyArray; 18 | 19 | @property (nonatomic, strong) FNNewsRelativeItem *relativeItem; 20 | 21 | @property (nonatomic, strong) void(^relativeBlock)(NSString *); 22 | 23 | @property (nonatomic, strong) void(^replyBlock)(); 24 | 25 | @property (nonatomic, strong) void(^lastKeyWordBtnClick)(NSString *); 26 | 27 | @property (nonatomic, assign) CGFloat totalHeight; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsRelative/FNNewsRelativeView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsRelativeView.h 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FNNewsRelativeItem.h" 11 | #import "FNNewsDetailItem.h" 12 | 13 | @interface FNNewsRelativeView : UIView 14 | 15 | //+ (instancetype)relativeViewWithItem:(FNNewsRelativeItem *)relativeItem :(NSArray *)keyWords; 16 | // 17 | //- (instancetype)initWithItem:(FNNewsRelativeItem *)relativeItem :(NSArray *)keyWords; 18 | 19 | @property (nonatomic, strong) FNNewsDetailItem *detailItem; 20 | 21 | @property (nonatomic, assign) CGFloat totalHeight; 22 | 23 | + (CGFloat)totalHeightWithItem:(FNNewsDetailItem *)detailItem; 24 | 25 | @property (nonatomic, strong) void(^keyWordBlock)(NSString *); 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsRelative/FNNewsKeyButton.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsKeyButton.m 3 | // FourNews 4 | // 5 | // Created by xmg on 16/4/4. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsKeyButton.h" 10 | 11 | @implementation FNNewsKeyButton 12 | 13 | - (instancetype)initWithFrame:(CGRect)frame 14 | { 15 | self = [super initWithFrame:frame]; 16 | if (self) { 17 | self.imageView.contentMode = UIViewContentModeScaleToFill; 18 | self.titleLabel.textAlignment = NSTextAlignmentCenter; 19 | } 20 | return self; 21 | } 22 | 23 | - (CGRect)imageRectForContentRect:(CGRect)contentRect 24 | { 25 | return contentRect; 26 | } 27 | 28 | - (CGRect)titleRectForContentRect:(CGRect)contentRect 29 | { 30 | return CGRectMake(contentRect.size.width*0.1, contentRect.size.height*0.2, contentRect.size.width*0.8, contentRect.size.height*0.5); 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /FourNews/Pods/MJRefresh/MJRefresh/UIScrollView+MJExtension.h: -------------------------------------------------------------------------------- 1 | // 代码地址: https://github.com/CoderMJLee/MJRefresh 2 | // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000 3 | // UIScrollView+Extension.h 4 | // MJRefreshExample 5 | // 6 | // Created by MJ Lee on 14-5-28. 7 | // Copyright (c) 2014年 小码哥. All rights reserved. 8 | // 9 | 10 | #import 11 | 12 | @interface UIScrollView (MJExtension) 13 | @property (assign, nonatomic) CGFloat mj_insetT; 14 | @property (assign, nonatomic) CGFloat mj_insetB; 15 | @property (assign, nonatomic) CGFloat mj_insetL; 16 | @property (assign, nonatomic) CGFloat mj_insetR; 17 | 18 | @property (assign, nonatomic) CGFloat mj_offsetX; 19 | @property (assign, nonatomic) CGFloat mj_offsetY; 20 | 21 | @property (assign, nonatomic) CGFloat mj_contentW; 22 | @property (assign, nonatomic) CGFloat mj_contentH; 23 | @end 24 | -------------------------------------------------------------------------------- /FourNews/FourNews/Class/News/View/NewsList/FNNewsSearchListCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // FNNewsSearchListCell.m 3 | // FourNews 4 | // 5 | // Created by admin on 16/4/8. 6 | // Copyright © 2016年 天涯海北. All rights reserved. 7 | // 8 | 9 | #import "FNNewsSearchListCell.h" 10 | #import "NSString+YJ.h" 11 | 12 | @interface FNNewsSearchListCell () 13 | 14 | @property (weak, nonatomic) IBOutlet UILabel *titleL; 15 | 16 | @property (weak, nonatomic) IBOutlet UILabel *ptimeL; 17 | 18 | @end 19 | 20 | @implementation FNNewsSearchListCell 21 | 22 | 23 | - (void)setItem:(FNNewsSearchWordItem *)item 24 | { 25 | _item = item; 26 | _item.title = [_item.title stringByReplacingOccurrencesOfString:@"" withString:@""]; 27 | _item.title = [_item.title stringByReplacingOccurrencesOfString:@"" withString:@""]; 28 | self.titleL.text = item.title; 29 | self.ptimeL.text = [NSString dateStringWithString:_item.ptime :@"yyyy-MM-dd HH:mm:ss"];; 30 | } 31 | 32 | 33 | @end 34 | --------------------------------------------------------------------------------