DefaultKitService
final class DefaultKitService
The DefaultKitService
-
The Kit Directory
Declaration
Swift
var kitDirectory: Kit.Directory
-
The Executable
Declaration
Swift
let executable: Executable
-
The GitService
Declaration
Swift
let gitService: GitService
-
The CocoaPodsService
Declaration
Swift
let cocoaPodsService: CocoaPodsService
-
The KitCreationEnvironmentConfigService
Declaration
Swift
let kitCreationEnvironmentConfigService: KitCreationEnvironmentConfigService
-
The KitSetupService
Declaration
Swift
let kitSetupService: KitSetupService
-
The KitMigrationService
Declaration
Swift
let kitMigrationService: KitMigrationService
-
The FileService
Declaration
Swift
let fileService: FileService
-
The QuestionService
Declaration
Swift
let questionService: QuestionService
-
The UpdateNotificationService
Declaration
Swift
let updateNotificationService: UpdateNotificationService
-
The XcodeProjectService
Declaration
Swift
let xcodeProjectService: XcodeProjectService
-
Bool if pod is available
Declaration
Swift
var isPodAvailable: Bool?
-
The optional UpdateNotification
Declaration
Swift
var updateNotification: UpdateNotification?
-
init(kitDirectory:executable:gitService:cocoaPodsService:kitCreationEnvironmentConfigService:kitSetupService:kitMigrationService:fileService:questionService:updateNotificationService:xcodeProjectService:)
Designated Initializer
Declaration
Swift
init(kitDirectory: Kit.Directory, executable: Executable, gitService: GitService, cocoaPodsService: CocoaPodsService, kitCreationEnvironmentConfigService: KitCreationEnvironmentConfigService, kitSetupService: KitSetupService, kitMigrationService: KitMigrationService, fileService: FileService, questionService: QuestionService, updateNotificationService: UpdateNotificationService, xcodeProjectService: XcodeProjectService)
Parameters
kitDirectory
The Kit Directory
executable
The Executable
gitService
The GitService
cocoaPodsService
The CocoaPodsService
kitCreationEnvironmentConfigService
The KitCreationEnvironmentConfigService
kitSetupService
The KitSetupService
kitMigrationService
The KitMigrationService
fileService
The FileService
questionService
The QuestionService
updateNotificationService
The UpdateNotificationService
xcodeProjectService
The XcodeProjectService
-
Create Kit
Declaration
Swift
func create(with arguments: KitCreationArguments)
Parameters
arguments
The KitCreationArguments
-
Make Kit
Declaration
Swift
func makeKit(with arguments: KitCreationArguments) -> Kit
Parameters
arguments
The KitArguments
Return Value
The Kit
-
Print Warnings if needed
Declaration
Swift
func printWarningsIfNeeded(for kit: Kit)
Parameters
kit
The Kit
-
Print Start
Declaration
Swift
func printStart(with kit: Kit)
Parameters
kit
The Kit
-
Print Finish
Declaration
Swift
func printFinish(with kit: Kit)
Parameters
kit
The Kit
-
Print Error
Declaration
Swift
func print(error: Error)
Parameters
error
The Error that should be printed