使用masonry自動(dòng)布局設(shè)置collectionView的top,left,size mas_equelto superViewcollect...
分別模擬器真機(jī)編譯之后使用命令lipo -create xxx-x86.framework/xxx-x86 xxx-arm.framework/...
tableViewHeader 高度自適應(yīng) headerView :內(nèi)部約束撐起headerView 初始化: 添加到tableViewHead...
masonry:`[self.view addSubview:self.redView];[self.view addSubview:self....
1.pod lib create <組件名>按提示輸入2.整理好組件, push到遠(yuǎn)程倉庫.注意遠(yuǎn)程倉庫組件文件夾是否有push正確3.創(chuàng)建遠(yuǎn)程...
準(zhǔn)備工具 PythonXcodenode:brew install nodebrew:/usr/bin/ruby -e "$(curl -fsS...
homebrew安裝成功,brew list執(zhí)行后有node,依然zsh: command not found: npm或者env: node:...
讀寫數(shù)據(jù)需要考慮具體的使用場(chǎng)景,比如Data,Byte,bit的轉(zhuǎn)換,數(shù)據(jù)字節(jié)序的大小端,數(shù)據(jù)是否分包。以及對(duì)于外設(shè)的某些信息的判斷:比如說,你...
需求: 當(dāng)前頁面請(qǐng)求數(shù)據(jù)監(jiān)聽到登錄過期,需要先登錄然后返回當(dāng)前頁面,并刷新數(shù)據(jù) 思路: 監(jiān)聽登錄過期: 項(xiàng)目中往往會(huì)封裝網(wǎng)絡(luò)請(qǐng)求類,在封裝的ge...