Share this page

by Jameson Quave
Swift Version: unspecified

Make stuff happen! Okay, so first things first there’s one more thing we need to clean up. The Table View Cell thats being created in the delegate function cellForRowAtIndexPath is not the most efficient way to create cells. In Obj-C we always wanted to use dequeueReusableCellWithIdentifier in order to get a cell out of memory if one is available, rather than creating a new one every time a cell is rendered. This helps make scrolling fast, and keeps the memory usage down.

© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS