Archived
AirBnB's MagazineLayout implementation -> dynamically resizing cells in MenuViewController, TODO: test resizing on real device, simulator delays resizing until after scrolling (possibly a bug)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// MenuViewCell.swift
|
||||
// AvH Plan
|
||||
//
|
||||
// Created by Deniz Duezgoeren on 16.07.19.
|
||||
// Copyright © 2019 Deniz Duezgoeren. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
import MagazineLayout
|
||||
|
||||
class MenuViewCell: MagazineLayoutCollectionViewCell {
|
||||
|
||||
|
||||
@IBOutlet weak var content: UILabel!
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user