WWDC 2007 2008 2009 2010 2011 2012 2013 2014 2015
Computer Systems: A Programmer's Perspective, 3/E
- website: http://csapp.cs.cmu.edu/
- online lectures: https://scs.hosted.panopto.com/Panopto/Pages/Sessions/List.aspx#folderID=%22b96d90ae-9871-4fae-91e2-b1627b43e25e%22
- labs: http://csapp.cs.cmu.edu/3e/labs.html
Data Structures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.infoq.com/presentations/Simple-Made-Easy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BufferingStackView: UIStackView { | |
private var viewBuffer: ViewBuffer = ViewBuffer() | |
func prepare<T: UIView>(viewCount: Int, config: @escaping (_ index: Int, _ view: T) -> Void) { | |
let currentViewCount = self.arrangedSubviews.count | |
let neededViewCount = viewCount | |
let diff = neededViewCount - currentViewCount | |
let absDiff = abs(diff) | |
let shouldDelete = diff < 0 | |
if shouldDelete { | |
(0..<absDiff).forEach({ _ in |
// Use an older version of Xcode to build on a new device. // Example use Xcode 8 to build on a device running iOS 11
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.* \ /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/