Skip to content

Commit 9659850

Browse files
committedApr 19, 2020
[PSPDFKit] Update bindings to iOS v9.3.0 and macOS v4.3.0
1 parent 09dbd66 commit 9659850

21 files changed

+697
-317
lines changed
 

‎.editorconfig

+218
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
[*.{props,targets}]
2+
indent_style = tab
3+
indent_size = 4
4+
5+
[*.{csproj}]
6+
indent_style = space
7+
indent_size = 2
8+
9+
# C# files
10+
[*.cs]
11+
max_line_length = 120
12+
13+
#### Core EditorConfig Options ####
14+
15+
# Indentation and spacing
16+
indent_style = tab
17+
indent_size = 4
18+
tab_width = 4
19+
20+
# New line preferences
21+
end_of_line = lf
22+
insert_final_newline = true
23+
charset = utf-8
24+
25+
#### .NET Coding Conventions ####
26+
27+
# Organize usings
28+
dotnet_separate_import_directive_groups = false
29+
dotnet_sort_system_directives_first = true
30+
31+
# this. and Me. preferences
32+
dotnet_style_qualification_for_event = false:silent
33+
dotnet_style_qualification_for_field = false:silent
34+
dotnet_style_qualification_for_method = false:silent
35+
dotnet_style_qualification_for_property = false:silent
36+
37+
# Language keywords vs BCL types preferences
38+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
39+
dotnet_style_predefined_type_for_member_access = true:silent
40+
41+
# Parentheses preferences
42+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
43+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
44+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
45+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
46+
47+
# Modifier preferences
48+
dotnet_style_require_accessibility_modifiers = omit_if_default:suggestion
49+
50+
# Expression-level preferences
51+
dotnet_style_coalesce_expression = true:suggestion
52+
dotnet_style_collection_initializer = true:suggestion
53+
dotnet_style_explicit_tuple_names = true:suggestion
54+
dotnet_style_null_propagation = true:suggestion
55+
dotnet_style_object_initializer = true:suggestion
56+
dotnet_style_prefer_auto_properties = true:silent
57+
dotnet_style_prefer_compound_assignment = true:suggestion
58+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
59+
dotnet_style_prefer_conditional_expression_over_return = true:silent
60+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
61+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
62+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
63+
dotnet_style_prefer_simplified_interpolation = true:suggestion
64+
65+
# Field preferences
66+
dotnet_style_readonly_field = true:suggestion
67+
68+
# Parameter preferences
69+
dotnet_code_quality_unused_parameters = all:suggestion
70+
71+
#### C# Coding Conventions ####
72+
73+
# var preferences
74+
csharp_style_var_elsewhere = false:none
75+
csharp_style_var_for_built_in_types = false:none
76+
csharp_style_var_when_type_is_apparent = false:suggestion
77+
78+
# Expression-bodied members
79+
csharp_style_expression_bodied_accessors = true:none
80+
csharp_style_expression_bodied_constructors = false:none
81+
csharp_style_expression_bodied_indexers = true:none
82+
csharp_style_expression_bodied_lambdas = true:none
83+
csharp_style_expression_bodied_local_functions = false:none
84+
csharp_style_expression_bodied_methods = false:none
85+
csharp_style_expression_bodied_operators = false:none
86+
csharp_style_expression_bodied_properties = true:none
87+
88+
# Pattern matching preferences
89+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
90+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
91+
csharp_style_prefer_switch_expression = true:silent
92+
93+
# Null-checking preferences
94+
csharp_style_conditional_delegate_call = true:suggestion
95+
96+
# Modifier preferences
97+
csharp_prefer_static_local_function = true:suggestion
98+
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:silent
99+
100+
# Code-block preferences
101+
csharp_prefer_braces = when_multiline:suggestion
102+
csharp_prefer_simple_using_statement = true:suggestion
103+
104+
# Expression-level preferences
105+
csharp_prefer_simple_default_expression = true:suggestion
106+
csharp_style_deconstructed_variable_declaration = true:suggestion
107+
csharp_style_inlined_variable_declaration = true:suggestion
108+
csharp_style_pattern_local_over_anonymous_function = true:suggestion
109+
csharp_style_prefer_index_operator = true:suggestion
110+
csharp_style_prefer_range_operator = true:suggestion
111+
csharp_style_throw_expression = true:suggestion
112+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
113+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
114+
115+
# 'using' directive preferences
116+
csharp_using_directive_placement = outside_namespace:suggestion
117+
118+
#### C# Formatting Rules ####
119+
120+
# New line preferences
121+
csharp_new_line_before_catch = false
122+
csharp_new_line_before_else = false
123+
csharp_new_line_before_finally = false
124+
csharp_new_line_before_members_in_anonymous_types = true
125+
csharp_new_line_before_members_in_object_initializers = true
126+
csharp_new_line_before_open_brace = anonymous_methods,methods
127+
csharp_new_line_between_query_expression_clauses = true
128+
129+
# Indentation preferences
130+
csharp_indent_block_contents = true
131+
csharp_indent_braces = false
132+
csharp_indent_case_contents = true
133+
csharp_indent_case_contents_when_block = false
134+
csharp_indent_labels = one_less_than_current
135+
csharp_indent_switch_labels = false
136+
137+
# Space preferences
138+
csharp_space_after_cast = true
139+
csharp_space_after_colon_in_inheritance_clause = true
140+
csharp_space_after_comma = true
141+
csharp_space_after_dot = false
142+
csharp_space_after_keywords_in_control_flow_statements = true
143+
csharp_space_after_semicolon_in_for_statement = true
144+
csharp_space_around_binary_operators = before_and_after
145+
csharp_space_around_declaration_statements = false
146+
csharp_space_before_colon_in_inheritance_clause = true
147+
csharp_space_before_comma = false
148+
csharp_space_before_dot = false
149+
csharp_space_before_open_square_brackets = true
150+
csharp_space_before_semicolon_in_for_statement = false
151+
csharp_space_between_empty_square_brackets = false
152+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
153+
csharp_space_between_method_call_name_and_opening_parenthesis = true
154+
csharp_space_between_method_call_parameter_list_parentheses = false
155+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
156+
csharp_space_between_method_declaration_name_and_open_parenthesis = true
157+
csharp_space_between_method_declaration_parameter_list_parentheses = false
158+
csharp_space_between_parentheses = false
159+
csharp_space_between_square_brackets = false
160+
161+
# Wrapping preferences
162+
csharp_preserve_single_line_blocks = true
163+
csharp_preserve_single_line_statements = true
164+
165+
#### Naming styles ####
166+
167+
# Naming rules
168+
169+
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
170+
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
171+
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
172+
173+
dotnet_naming_rule.types_should_be_pascalcase.severity = suggestion
174+
dotnet_naming_rule.types_should_be_pascalcase.symbols = types
175+
dotnet_naming_rule.types_should_be_pascalcase.style = pascalcase
176+
177+
dotnet_naming_rule.non_field_members_should_be_pascalcase.severity = suggestion
178+
dotnet_naming_rule.non_field_members_should_be_pascalcase.symbols = non_field_members
179+
dotnet_naming_rule.non_field_members_should_be_pascalcase.style = pascalcase
180+
181+
dotnet_naming_rule.private_or_internal_field_should_be_camelcase.severity = suggestion
182+
dotnet_naming_rule.private_or_internal_field_should_be_camelcase.symbols = private_or_internal_field
183+
dotnet_naming_rule.private_or_internal_field_should_be_camelcase.style = camelcase
184+
185+
# Symbol specifications
186+
187+
dotnet_naming_symbols.interface.applicable_kinds = interface
188+
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
189+
dotnet_naming_symbols.interface.required_modifiers =
190+
191+
dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
192+
dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
193+
dotnet_naming_symbols.private_or_internal_field.required_modifiers =
194+
195+
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
196+
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
197+
dotnet_naming_symbols.types.required_modifiers =
198+
199+
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
200+
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
201+
dotnet_naming_symbols.non_field_members.required_modifiers =
202+
203+
# Naming styles
204+
205+
dotnet_naming_style.pascalcase.required_prefix =
206+
dotnet_naming_style.pascalcase.required_suffix =
207+
dotnet_naming_style.pascalcase.word_separator =
208+
dotnet_naming_style.pascalcase.capitalization = pascal_case
209+
210+
dotnet_naming_style.begins_with_i.required_prefix = I
211+
dotnet_naming_style.begins_with_i.required_suffix =
212+
dotnet_naming_style.begins_with_i.word_separator =
213+
dotnet_naming_style.begins_with_i.capitalization = pascal_case
214+
215+
dotnet_naming_style.camelcase.required_prefix =
216+
dotnet_naming_style.camelcase.required_suffix =
217+
dotnet_naming_style.camelcase.word_separator =
218+
dotnet_naming_style.camelcase.capitalization = camel_case

‎PSPDFKit.Mac.Model/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
2626
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
2727

28-
[assembly: AssemblyVersion ("4.2.0")]
28+
[assembly: AssemblyVersion ("4.3.0")]
2929

3030
// The following attributes are used to specify the signing key for the assembly,
3131
// if desired. See the Mono documentation for more information about signing.

‎PSPDFKit.iOS.Instant/ApiDefinition.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22

33
using UIKit;
44
using Foundation;

‎PSPDFKit.iOS.Instant/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
2626
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
2727

28-
[assembly: AssemblyVersion ("9.2.2")]
28+
[assembly: AssemblyVersion ("9.3.0")]
2929

3030
// The following attributes are used to specify the signing key for the assembly,
3131
// if desired. See the Mono documentation for more information about signing.

‎PSPDFKit.iOS.Instant/Structs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22

33
namespace PSPDFKit.Instant {
44
}

0 commit comments

Comments
 (0)
Please sign in to comment.