Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
/.DS_Store
/Example/.DS_Store
177 changes: 37 additions & 140 deletions Example/MagazineLayoutExample.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

22 changes: 13 additions & 9 deletions Example/MagazineLayoutExample/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,27 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {

// MARK: Internal

var window: UIWindow?

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?)
-> Bool
{
window = UIWindow(frame: UIScreen.main.bounds)

let navigationController = UINavigationController(rootViewController: ViewController())

window?.rootViewController = navigationController
window?.makeKeyAndVisible()

return true
}

func application(
_ application: UIApplication,
configurationForConnecting connectingSceneSession: UISceneSession,
options: UIScene.ConnectionOptions)
-> UISceneConfiguration
{
let sceneConfiguration = UISceneConfiguration(
name: "Default Configuration",
sessionRole: connectingSceneSession.role)
sceneConfiguration.delegateClass = SceneDelegate.self
return sceneConfiguration
}

func applicationWillResignActive(_ application: UIApplication) {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
Expand Down
23 changes: 0 additions & 23 deletions Example/MagazineLayoutExample/Colors.swift

This file was deleted.

93 changes: 0 additions & 93 deletions Example/MagazineLayoutExample/CreationPanelViewController.swift

This file was deleted.

64 changes: 0 additions & 64 deletions Example/MagazineLayoutExample/Data/Data.swift

This file was deleted.

129 changes: 0 additions & 129 deletions Example/MagazineLayoutExample/Data/DataSource.swift

This file was deleted.

21 changes: 0 additions & 21 deletions Example/MagazineLayoutExample/Data/DataSourceCountsProvider.swift

This file was deleted.

Loading