This file contains hidden or 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
// | |
// DSSCollectionViewFlowLayout.swift | |
// | |
// Created by Gary L. Wade on 9/5/16. Adapted by Rob Lester on 5/2/18. | |
// Copyright © 2018 Gary L. Wade. All rights reserved. | |
// Original: https://medium.com/@garywade/equally-spacing-uicollectionview-cells-6d74401f8f56 | |
// | |
// Tested On: Xcode 9.3 / Swift 4.1 | |
// |
This file contains hidden or 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
import UIKit | |
import PlaygroundSupport | |
struct StringConstants { | |
static let bullet1 = "This is a small string." | |
static let bullet2 = "This is more of medium string with a few more words etc." | |
static let bullet3 = "Well this is certainly a longer string, with many more words than either of the previuos two strings." | |
} | |
typealias ParagraphData = (bullet: String, paragraph: String) |