91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6.16MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-12
  • 語言: 其他
  • 標簽: iOS??購物車??

資源簡介

說明 這是一個具備常規功能并方便改造的購物車模型 一共包含五個模塊: * `GBShopcartViewController`: 購物車控制器 負責協調Model和View 只有100多行代碼 * `GBShopcartFormat`: 負責網絡請求與邏輯處理 * `GBShopcartTableViewProxy`: 作為控制器里邊TableView的代理 * `View`: 包括Cell、HeaderView、CountView(改變商品數的視圖)、BottomView(控制器底部包含結算按鈕的視圖) * `Model`: 包含BrandModel和ProductModel兩層 ## 使用 首先將工程里邊的JVShopcart文件夾拖入你的項目 然后就是開源庫Vendor文件夾根據需求處理 Model是一定會改的 但是購物車的Model大同小異 其他的改動不會太大

資源截圖

代碼片段和文件信息

//
//??AppDelegate.m
//??GBShopcart
//
//??Created?by?GGBShopCar?on?18/1/03.
//??Copyright???2018年?GGBShopCar.?All?rights?reserved.
//

#import?“AppDelegate.h“
#import?“IQKeyboardManager.h“
#import?“ViewController.h“

@interface?AppDelegate?()

@end

@implementation?AppDelegate


-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
????self.window.backgroundColor?=?[UIColor?whiteColor];
????
????ViewController?*VC?=?[[ViewController?alloc]?init];
????UINavigationController?*NVC?=?[[UINavigationController?alloc]?initWithRootViewController:VC];
????self.window.rootViewController?=?NVC;
????
????[[IQKeyboardManager?sharedManager]?setToolbarDoneBarButtonItemText:@“完成“];
????
????[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?invalidate?graphics?rendering?callbacks.?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?active?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??2018-01-08?12:26??GBShopcart\
?????文件????????6148??2018-01-12?13:33??GBShopcart\.DS_Store
?????目錄???????????0??2018-01-19?10:44??__MACOSX\
?????目錄???????????0??2018-01-19?10:44??__MACOSX\GBShopcart\
?????文件?????????120??2018-01-12?13:33??__MACOSX\GBShopcart\._.DS_Store
?????目錄???????????0??2018-01-10?11:54??GBShopcart\.git\
?????文件??????????13??2018-01-10?11:54??GBShopcart\.git\COMMIT_EDITMSG
?????文件?????????248??2018-01-08?11:10??GBShopcart\.git\config
?????文件??????????73??2018-01-08?11:09??GBShopcart\.git\description
?????文件??????????23??2018-01-08?11:09??GBShopcart\.git\HEAD
?????目錄???????????0??2018-01-08?11:09??GBShopcart\.git\hooks\
?????文件?????????177??2018-01-08?11:09??GBShopcart\.git\hooks\README.sample
?????文件???????24549??2018-01-10?11:54??GBShopcart\.git\index
?????目錄???????????0??2018-01-08?11:09??GBShopcart\.git\info\
?????文件??????????40??2018-01-08?11:09??GBShopcart\.git\info\exclude
?????目錄???????????0??2018-01-19?10:44??__MACOSX\GBShopcart\.git\
?????目錄???????????0??2018-01-19?10:44??__MACOSX\GBShopcart\.git\info\
?????文件?????????171??2018-01-08?11:09??__MACOSX\GBShopcart\.git\info\._exclude
?????目錄???????????0??2018-01-08?11:09??GBShopcart\.git\logs\
?????文件????????1083??2018-01-10?11:54??GBShopcart\.git\logs\HEAD
?????目錄???????????0??2018-01-08?11:14??GBShopcart\.git\logs\refs\
?????目錄???????????0??2018-01-08?11:09??GBShopcart\.git\logs\refs\heads\
?????文件????????1083??2018-01-10?11:54??GBShopcart\.git\logs\refs\heads\master
?????目錄???????????0??2018-01-08?11:14??GBShopcart\.git\logs\refs\remotes\
?????目錄???????????0??2018-01-08?11:14??GBShopcart\.git\logs\refs\remotes\origin\
?????文件????????1029??2018-01-10?11:54??GBShopcart\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2018-01-10?11:54??GBShopcart\.git\objects\
?????目錄???????????0??2018-01-10?11:54??GBShopcart\.git\objects\00\
?????文件?????????125??2018-01-10?11:54??GBShopcart\.git\objects\00\9be7c06fbe4f6cb8ef3d66147c687d9397439c
?????目錄???????????0??2018-01-08?11:09??GBShopcart\.git\objects\01\
?????文件????????2344??2018-01-08?11:09??GBShopcart\.git\objects\01\34e65cc3175389c2b3269afeb93cef3a2bdd25
............此處省略943個文件信息

評論

共有 條評論