Files
XcodeGen/Fixtures/TestProject/App_iOS/AppDelegate.swift
T
Brandon Kase 4a54fe6d2a Support file sources
The `sources` key of the project spec only supported directories and not
files. Now it supports both!

This commit introduces a `getSourceFiles` overload that doesn't explicitly
invoke `path.children()`, but instead accepts `children` as a parameter.
This allows us to invoke the `children` overload of getSourceFiles with just
the files we want to include (determined by specifying the sources).

Now for sourcePaths that are files, we group by parents before invoking
getSourceFiles in order to reuse the same groups.
2017-11-01 11:37:19 -07:00

28 lines
643 B
Swift

//
// AppDelegate.swift
// TestProject
//
// Created by Yonas Kolb on 19/7/17.
// Copyright © 2017 Yonas Kolb. All rights reserved.
//
import UIKit
import Framework
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
_ = FrameworkStruct()
// Standalone files added to project by path-to-file.
_ = standaloneHello()
return true
}
}