服务端是PHP商城,对应项目是 Shop-PHP-Yii2,https://github.com/EleTeam/Shop-PHP-Yii2
pod 'Masonry', '~> 0.6.4'
pod 'AFNetworking', '~> 2.6.3'
pod 'TouchJSON', '~> 1.1'
pod 'SDWebImage', '~> 3.7.1'
pod 'FMDB', '~> 2.5'
pod 'MJExtension'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'ActionSheetPicker-3.0', '~> 2.0.3'
pod 'UITableView+FDTemplateLayoutCell', '~> 1.4'
打开Xcode 7.x,选择Source Control 》Check Out 》https://github.com/EleTeam/Shop-iOS.git
取消注释 macros/url_macro.h:
//#define kUrlBase @"http://api.eleteam.com/v1" //在线服务器
http://api.eleteam.com/v1/banner/list