-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from shakurocom/ContainerViewController-v1.0.0
added ContainerViewController with example
- Loading branch information
Showing
27 changed files
with
1,706 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
swiftlint_version: 0.43.1 | ||
|
||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- Pods | ||
|
||
analyzer_rules: # Rules run by `swiftlint analyze` (experimental) | ||
- unused_declaration | ||
- unused_import | ||
|
||
deployment_target: | ||
iOS_deployment_target: 10.0 | ||
|
||
closure_body_length: | ||
warning: 30 | ||
error: 30 | ||
|
||
identifier_name: | ||
max_length: 150 | ||
|
||
file_length: | ||
warning: 1500 | ||
error: 1500 | ||
#ignore_comment_only_lines: true | ||
|
||
function_body_length: | ||
warning: 200 | ||
error: 200 | ||
|
||
function_parameter_count: | ||
warning: 8 | ||
error: 8 | ||
|
||
line_length: | ||
warning: 1000 | ||
error: 1000 | ||
|
||
type_body_length: | ||
warning: 1000 | ||
error: 1000 | ||
|
||
type_name: | ||
max_length: 150 | ||
|
||
cyclomatic_complexity: | ||
warning: 30 | ||
error: 30 | ||
|
||
opt_in_rules: | ||
- closure_body_length | ||
# - closure_end_indentation # disabled, because xcode's block indentation depends on `[weak self]` | ||
- closure_spacing | ||
- contains_over_filter_count | ||
- contains_over_filter_is_empty | ||
- discouraged_optional_boolean | ||
- duplicate_imports | ||
- empty_collection_literal | ||
- empty_count | ||
- empty_string | ||
- explicit_init | ||
- fatal_error_message | ||
# - file_name # disabled, because results are not consistent | ||
# - file_header | ||
- first_where | ||
- force_unwrapping | ||
- identical_operands | ||
# - indentation_width # disabled, because multiline arguments are not recognized properly | ||
- inert_defer | ||
- last_where | ||
- legacy_random | ||
- let_var_whitespace | ||
# - multiline_arguments | ||
- multiline_parameters | ||
- multiple_closures_with_trailing_closure | ||
- no_space_in_method_call | ||
# - object_literal | ||
- operator_usage_whitespace | ||
- optional_enum_case_matching | ||
- prefer_self_type_over_type_of_self | ||
- prefixed_toplevel_constant | ||
- private_action | ||
- private_over_fileprivate | ||
- prohibited_super_call | ||
- reduce_into | ||
- redundant_nil_coalescing | ||
- single_test_class | ||
- sorted_first_last | ||
# - sorted_imports | ||
- strict_fileprivate | ||
- strong_iboutlet | ||
- toggle_bool | ||
# - type_contents_order # https://realm.github.io/SwiftLint/type_contents_order.html | ||
# - trailing_closure | ||
- unowned_variable_capture | ||
- unused_setter_value | ||
- vertical_parameter_alignment_on_call | ||
- yoda_condition |
13 changes: 13 additions & 0 deletions
13
ContainerViewController.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
ContainerViewController.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
8 changes: 8 additions & 0 deletions
8
ContainerViewController.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>PreviewsEnabled</key> | ||
<false/> | ||
</dict> | ||
</plist> |
Oops, something went wrong.