資源簡介
高仿網易新聞,一直在更新中,基本框架完成.
滑動/點擊切換菜單,子界面加載 webView,(已去除廣告,雖然不太完美)
使用了各種第三方框架輔助,
個人博客: http://itqls.com
代碼github地址:https://github.com/qianlishun/NewsDemo
歡迎交流學習!
滑動/點擊切換菜單,子界面加載 webView,(已去除廣告,雖然不太完美)
使用了各種第三方框架輔助,
個人博客: http://itqls.com
代碼github地址:https://github.com/qianlishun/NewsDemo
歡迎交流學習!

代碼片段和文件信息
//
//??AppDelegate.m
//??NewDemo
//
//??Created?by?Mr.Q?on?16/6/12.
//??Copyright???2016年?QLS.?All?rights?reserved.
//
#import?“AppDelegate.h“
#import?“QNewsHomeController.h“
#import?“QLSNavigationController.h“
@interface?AppDelegate?()
@end
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????//?Override?point?for?customization?after?application?launch.
????self.window?=?[[UIWindow?alloc]initWithframe:Screenframe];
????QNewsHomeController?*vc?=?[[QNewsHomeController?alloc]init];
????QLSNavigationController?*nav?=?[[QLSNavigationController?alloc]initWithRootViewController:vc];
????[nav.navigationBar?setBackgroundImage:[UIImage?imageNamed:@“NavBar64“]?forBarMetrics:UIBarMetricsDefault];
????self.window.rootViewController?=?nav;
????[self.window?makeKeyAndVisible];
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application?{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?throttle?down?OpenGL?ES?frame?rates.?Games?should?use?this?method?to?pause?the?game.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application?{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application?{
????//?Called?as?part?of?the?transition?from?the?background?to?the?inactive?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application?{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}
-?(void)applicationWillTerminate:(UIApplication?*)application?{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-08-01?17:02??NewDemo\
?????目錄???????????0??2016-08-01?18:22??NewDemo\.git\
?????文件??????????10??2016-08-01?18:09??NewDemo\.git\COMMIT_EDITMSG
?????文件?????????309??2016-07-13?18:58??NewDemo\.git\config
?????文件??????????73??2016-07-13?18:57??NewDemo\.git\desc
?????文件?????????100??2016-08-01?17:02??NewDemo\.git\FETCH_HEAD
?????文件??????????23??2016-07-13?18:57??NewDemo\.git\HEAD
?????目錄???????????0??2016-07-13?18:57??NewDemo\.git\hooks\
?????文件?????????177??2016-07-13?18:57??NewDemo\.git\hooks\README.sample
?????文件???????30546??2016-08-01?18:13??NewDemo\.git\index
?????目錄???????????0??2016-07-13?18:57??NewDemo\.git\info\
?????文件?????????113??2016-07-13?18:57??NewDemo\.git\info\exclude
?????目錄???????????0??2016-07-13?18:58??NewDemo\.git\logs\
?????文件????????1866??2016-08-01?18:09??NewDemo\.git\logs\HEAD
?????目錄???????????0??2016-07-13?18:58??NewDemo\.git\logs\refs\
?????目錄???????????0??2016-07-13?18:58??NewDemo\.git\logs\refs\heads\
?????文件????????1866??2016-08-01?18:09??NewDemo\.git\logs\refs\heads\master
?????目錄???????????0??2016-07-13?18:58??NewDemo\.git\logs\refs\remotes\
?????目錄???????????0??2016-07-13?18:58??NewDemo\.git\logs\refs\remotes\origin\
?????文件????????1790??2016-08-01?18:09??NewDemo\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2016-08-01?18:09??NewDemo\.git\ob
?????目錄???????????0??2016-07-13?19:42??NewDemo\.git\ob
?????文件?????????246??2016-07-13?19:42??NewDemo\.git\ob
?????目錄???????????0??2016-07-14?16:09??NewDemo\.git\ob
?????文件?????????122??2016-07-14?16:09??NewDemo\.git\ob
?????目錄???????????0??2016-07-14?16:09??NewDemo\.git\ob
?????文件?????????207??2016-07-14?16:09??NewDemo\.git\ob
?????目錄???????????0??2016-07-30?11:10??NewDemo\.git\ob
?????文件?????????122??2016-07-30?11:10??NewDemo\.git\ob
?????目錄???????????0??2016-07-14?16:09??NewDemo\.git\ob
?????文件?????????461??2016-07-14?16:09??NewDemo\.git\ob
............此處省略430個文件信息
評論
共有 條評論