Skip to content

Commit 37dc2d7

Browse files
committed
Add todolist app
1 parent 8b55570 commit 37dc2d7

File tree

21 files changed

+1141
-1
lines changed

21 files changed

+1141
-1
lines changed

CurrencyConverter/.gitignore renamed to .gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,5 @@ com_crashlytics_export_strings.xml
141141
crashlytics.properties
142142
crashlytics-build.properties
143143
fabric.properties
144-
*.generated.swift
144+
*.generated.swift
145+
.DS_Store

TodoList/.swiftlint.yml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
disabled_rules:
2+
- explicit_acl
3+
- explicit_top_level_acl
4+
- explicit_type_interface
5+
- explicit_enum_raw_value
6+
- no_extension_access_modifier
7+
- no_grouping_extension
8+
- multiline_literal_brackets
9+
- vertical_whitespace_between_cases
10+
11+
opt_in_rules:
12+
- anyobject_protocol
13+
- array_init
14+
- attributes
15+
- closure_body_length
16+
- closure_end_indentation
17+
- closure_spacing
18+
- collection_alignment
19+
- conditional_returns_on_newline
20+
- contains_over_first_not_nil
21+
- convenience_type
22+
- discouraged_object_literal
23+
- discouraged_optional_boolean
24+
- discouraged_optional_collection
25+
- dynamic_inline
26+
- empty_count
27+
- empty_string
28+
- empty_xctest_method
29+
- explicit_init
30+
- extension_access_modifier
31+
- fallthrough
32+
- fatal_error_message
33+
- file_name
34+
- first_where
35+
- last_where
36+
- force_unwrapping
37+
- function_default_parameter_at_end
38+
- identical_operands
39+
- implicit_return
40+
- implicitly_unwrapped_optional
41+
- joined_default_parameter
42+
- large_tuple
43+
- legacy_random
44+
- let_var_whitespace
45+
- literal_expression_end_indentation
46+
- lower_acl_than_parent
47+
- mark
48+
- modifier_order
49+
- multiline_arguments
50+
- multiline_function_chains
51+
- multiline_parameters
52+
- multiline_arguments_brackets
53+
- multiline_parameters_brackets
54+
- multiline_literal_brackets
55+
- nimble_operator
56+
- number_separator
57+
- nslocalizedstring_key
58+
- object_literal
59+
- operator_usage_whitespace
60+
- overridden_super_call
61+
- override_in_extension
62+
- pattern_matching_keywords
63+
- prefixed_toplevel_constant
64+
- private_action
65+
- private_outlet
66+
- prohibited_super_call
67+
- quick_discouraged_call
68+
- quick_discouraged_focused_test
69+
- quick_discouraged_pending_test
70+
- redundant_nil_coalescing
71+
- redundant_type_annotation
72+
- required_enum_case
73+
- shorthand_operator
74+
- single_test_class
75+
- sorted_first_last
76+
- sorted_imports
77+
- static_operator
78+
- strong_iboutlet
79+
- strict_fileprivate
80+
- switch_case_on_newline
81+
- toggle_bool
82+
- todo
83+
- trailing_closure
84+
- unavailable_function
85+
- unneeded_parentheses_in_closure_argument
86+
- untyped_error_in_catch
87+
- unused_import
88+
- unused_private_declaration
89+
- vertical_parameter_alignment_on_call
90+
- vertical_whitespace_closing_braces
91+
- vertical_whitespace_opening_braces
92+
- yoda_condition
93+
- xct_specific_matcher
94+
95+
excluded:
96+
- Pods
97+
98+
attributes:
99+
always_on_same_line: ["@discardableResult", "@objc", "@IBAction", "@IBDesignable"]
100+
101+
line_length:
102+
warning: 160
103+
ignores_function_declarations: true
104+
ignores_comments: true
105+
106+
nesting:
107+
type_level: 2
108+
109+
type_body_length: 500
110+
111+
file_length: 700
112+
113+
function_parameter_count: 6
114+
115+
warning_threshold: 1
116+
117+
conditional_returns_on_newline:
118+
if_only: true
119+
120+
identifier_name:
121+
excluded:
122+
- id
123+
- x
124+
- y
125+
126+
file_name:
127+
excluded: [Util.swift]
128+

TodoList/Podfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
platform :ios, '12.0'
2+
3+
target 'TodoList' do
4+
use_frameworks!
5+
6+
pod 'RealmSwift'
7+
pod 'SwiftLint'
8+
end

TodoList/Podfile.lock

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
PODS:
2+
- Realm (3.13.1):
3+
- Realm/Headers (= 3.13.1)
4+
- Realm/Headers (3.13.1)
5+
- RealmSwift (3.13.1):
6+
- Realm (= 3.13.1)
7+
- SwiftLint (0.31.0)
8+
9+
DEPENDENCIES:
10+
- RealmSwift
11+
- SwiftLint
12+
13+
SPEC REPOS:
14+
https://github.com/cocoapods/specs.git:
15+
- Realm
16+
- RealmSwift
17+
- SwiftLint
18+
19+
SPEC CHECKSUMS:
20+
Realm: 50071da38fe079e0735e47c9f2eae738c68c5996
21+
RealmSwift: 8a1e6a02b7a08cd17a31e3115143fb69fe5f3fb9
22+
SwiftLint: 7a0227733d786395817373b2d0ca799fd0093ff3
23+
24+
PODFILE CHECKSUM: 8897e7940655a296a6cdcefe695eebf14db30627
25+
26+
COCOAPODS: 1.6.1

0 commit comments

Comments
 (0)