yeti / signals

MIT License
3 stars 4 forks source link

Data model setup check #39 #46

Closed leemcdole closed 9 years ago

leemcdole commented 9 years ago

ios_generator now searches for an AppDelegate.swift file, and if it finds one in a parent directory of the data_models path, it opens the file and searches for the string "sharedDataModel().setup()". If it's not found, it outputs a warning to the user.

Fixes #39

@rmutter @baylee

rmutter commented 9 years ago

@leemcdole some comments, and this could do with a test or two!

leemcdole commented 9 years ago

Addressed feedback, squashed gratuitous commits; added a couple of tests!

rmutter commented 9 years ago

:checkered_flag: