-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial Public Preview Features * GitHub folder and podspec (#5) * Initial Public Preview Features * Github folder and podspec * Podspec
- Loading branch information
Showing
286 changed files
with
18,269 additions
and
24 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
* @Azure/acs-ui-ios-reviewer-1 @Azure/acs-ui-ios-reviewer-2 @Azure/acs-ui-ios-reviewer-3 |
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,9 @@ | ||
# Microsoft Open Source Code of Conduct | ||
|
||
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). | ||
|
||
Resources: | ||
|
||
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) | ||
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) | ||
- Contact [[email protected]](mailto:[email protected]) with questions or concerns |
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,33 @@ | ||
<!-- | ||
IF SUFFICIENT INFORMATION IS NOT PROVIDED VIA THE FOLLOWING TEMPLATE THE ISSUE MIGHT BE CLOSED WITHOUT FURTHER CONSIDERATION OR INVESTIGATION | ||
--> | ||
> Please provide us with the following information: | ||
> --------------------------------------------------------------- | ||
### This issue is for a: (mark with an `x`) | ||
``` | ||
- [ ] bug report -> please search issues before submitting | ||
- [ ] feature request | ||
- [ ] documentation issue or request | ||
- [ ] regression (a behavior that used to work and stopped in a new release) | ||
``` | ||
|
||
### Minimal steps to reproduce | ||
> | ||
### Any log messages given by the failure | ||
> | ||
### Expected/desired behavior | ||
> | ||
### OS and Version? | ||
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) | ||
### Versions | ||
> | ||
### Mention any other details that might be useful | ||
|
||
> --------------------------------------------------------------- | ||
> Thanks! We'll be in touch soon. |
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,45 @@ | ||
## Purpose | ||
<!-- Describe the intention of the changes being proposed. What problem does it solve or functionality does it add? --> | ||
* ... | ||
|
||
## Does this introduce a breaking change? | ||
<!-- Mark one with an "x". --> | ||
``` | ||
[ ] Yes | ||
[ ] No | ||
``` | ||
|
||
## Pull Request Type | ||
What kind of change does this Pull Request introduce? | ||
|
||
<!-- Please check the one that applies to this PR using "x". --> | ||
``` | ||
[ ] Bugfix | ||
[ ] Feature | ||
[ ] Code style update (formatting, local variables) | ||
[ ] Refactoring (no functional changes, no api changes) | ||
[ ] Documentation content changes | ||
[ ] Other... Please describe: | ||
``` | ||
|
||
## How to Test | ||
* Get the code | ||
|
||
``` | ||
git clone [repo-address] | ||
cd [repo-name] | ||
git checkout [branch-name] | ||
npm install | ||
``` | ||
|
||
* Test the code | ||
<!-- Add steps to run the tests suite and/or manually test --> | ||
``` | ||
``` | ||
|
||
## What to Check | ||
Verify that the following are valid | ||
* ... | ||
|
||
## Other Information | ||
<!-- Add any other helpful information that may be needed here. --> |
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
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,25 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = "AzureCommunicationUI" | ||
spec.version = "1.0.0-beta.1" | ||
spec.summary = "UI Library to quickly integrate Azure Communication Services experiences into your applications." | ||
spec.homepage = "https://github.com/Azure/communication-ui-library-ios" | ||
spec.license = { :type => 'MIT' } | ||
spec.author = 'Microsoft' | ||
spec.source = { :git => 'https://github.com/Azure/communication-ui-library-ios', :tag => 'v1.0.0-beta.1' } | ||
spec.module_name = 'AzureCommunicationUI' | ||
spec.swift_version = '5.0' | ||
|
||
spec.platform = :ios, '13.0' | ||
|
||
spec.source_files = 'AzureCommunicationUI/AzureCommunicationUI/**/*.swift' | ||
spec.resources = 'AzureCommunicationUI/AzureCommunicationUI/*.xcassets' | ||
|
||
spec.pod_target_xcconfig = { "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64", "ENABLE_BITCODE": "NO"} | ||
|
||
spec.frameworks = 'UIKit', 'SwiftUI' | ||
spec.dependency 'AzureCommunicationCalling', '2.2.0-beta.1' | ||
spec.dependency 'MicrosoftFluentUI/Avatar_ios', '0.3.5' | ||
spec.dependency 'MicrosoftFluentUI/BottomSheet_ios', '0.3.5' | ||
spec.dependency 'MicrosoftFluentUI/Button_ios', '0.3.5' | ||
spec.dependency 'MicrosoftFluentUI/PopupMenu_ios', '0.3.5' | ||
end |
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,201 @@ | ||
opt_in_rules: | ||
# Delegate protocols should be class-only so they can be weakly referenced. | ||
- class_delegate_protocol | ||
|
||
# Closing brace with closing parenthesis should not have any whitespaces in the middle. | ||
- closing_brace | ||
|
||
# Closure end should have the same indentation as the line that started it. | ||
- closure_end_indentation | ||
|
||
# Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. | ||
- colon | ||
|
||
# There should be no space before and one after any comma. | ||
- comma | ||
|
||
# Conditional statements should always return on the next line. | ||
- conditional_returns_on_newline | ||
|
||
# Prefer contains over first(where:) != nil | ||
- contains_over_first_not_nil | ||
|
||
# if, for, guard, switch, while, and catch statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses. | ||
- control_statement | ||
|
||
# Discouraged direct initialization of types that can be harmful (UIDevice, Bundle, etc) | ||
- discouraged_direct_init | ||
|
||
# Prefer () -> over Void ->. | ||
- empty_parameters | ||
|
||
# When using trailing closures, empty parentheses should be avoided after the method call. | ||
- empty_parentheses_with_trailing_closure | ||
|
||
# Properties should have a type interface | ||
- explicit_type_interface | ||
|
||
# Prefer to use extension access modifiers. | ||
- extension_access_modifier | ||
|
||
# A fatalError call should have a message. | ||
- fatal_error_message | ||
|
||
# Header comments should be consistent with project patterns. | ||
- file_header | ||
|
||
# Identifier names should only contain alphanumeric characters and start with a lowercase character or should only contain capital letters. | ||
- identifier_name | ||
|
||
# Computed read-only properties and subscripts should avoid using the get keyword. | ||
- implicit_getter | ||
|
||
# Files should not contain leading whitespace. | ||
- leading_whitespace | ||
|
||
# Struct-scoped constants are preferred over legacy global constants. | ||
- legacy_constant | ||
|
||
# Swift constructors are preferred over legacy convenience functions. | ||
- legacy_constructor | ||
|
||
# MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...' | ||
- mark | ||
|
||
# Modifier order should be consistent. | ||
- modifier_order | ||
|
||
# Functions and methods parameters should be either on the same line, or one per line. | ||
- multiline_parameters | ||
|
||
# Trailing closure syntax should not be used when passing more than one closure argument. | ||
- multiple_closures_with_trailing_closure | ||
|
||
# Opening braces should be preceded by a single space and on the same line as the declaration. | ||
- opening_brace | ||
|
||
# Operators should be surrounded by a single whitespace when they are being used. | ||
- operator_usage_whitespace | ||
|
||
# Some overridden methods should always call super | ||
- overridden_super_call | ||
|
||
# Prefer private over fileprivate declarations. | ||
- private_over_fileprivate | ||
|
||
# When declaring properties in protocols, the order of accessors should be get set. | ||
- protocol_property_accessors_order | ||
|
||
# Prefer _ = foo() over let _ = foo() when discarding a result from a function. | ||
- redundant_discardable_let | ||
|
||
# Initializing an optional variable with nil is redundant. | ||
- redundant_optional_initialization | ||
|
||
# Property setter access level shouldn't be explicit if it's the same as the variable access level. | ||
- redundant_set_access_control | ||
|
||
# String enum values can be omitted when they are equal to the enumcase name. | ||
- redundant_string_enum_value | ||
|
||
# Properties, variables, and constants should not have redundant type annotation | ||
- redundant_type_annotation | ||
|
||
# Returning Void in a function declaration is redundant. | ||
- redundant_void_return | ||
|
||
# Return arrow and return type should be separated by a single space or on a separate line. | ||
- return_arrow_whitespace | ||
|
||
# Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning. | ||
- shorthand_operator | ||
|
||
# Else and catch should be on the same line, one space after the previous declaration. | ||
- statement_position | ||
|
||
# SwiftLint 'disable' commands are superfluous when the disabled rule would not have triggered a violation in the disabled region. | ||
- superfluous_disable_command | ||
|
||
# Case statements should vertically align with their enclosing switch statement, or indented if configured otherwise. | ||
- switch_case_alignment | ||
|
||
# Cases inside a switch should always be on a newline. | ||
- switch_case_on_newline | ||
|
||
# Shorthand syntactic sugar should be used, i.e. [Int] instead of Array. | ||
- syntactic_sugar | ||
|
||
# Trailing commas in arrays and dictionaries should be avoided/enforced. | ||
- trailing_comma | ||
|
||
# Files should have a single trailing newline. | ||
- trailing_newline | ||
|
||
# Lines should not have trailing semicolons. | ||
- trailing_semicolon | ||
|
||
# Lines should not have trailing whitespace. | ||
- trailing_whitespace | ||
|
||
# Type name should only contain alphanumeric characters, start with an uppercase character, and span between 3 and 50 characters in length. | ||
- type_name | ||
|
||
# Avoid using unneeded break statements. | ||
- unneeded_break_in_switch | ||
|
||
# Unused parameter in a closure should be replaced with _. | ||
- unused_closure_parameter | ||
|
||
# When the index or the item is not used, .enumerated() can be removed. | ||
- unused_enumerated | ||
|
||
# Prefer != nil over let _ =. | ||
- unused_optional_binding | ||
|
||
# Function parameters should be aligned vertically if they're in multiple lines in a declaration. | ||
- vertical_parameter_alignment | ||
|
||
# Limit vertical whitespace to a single empty line. | ||
- vertical_whitespace | ||
|
||
# Prefer -> Void over -> (). | ||
- void_return | ||
|
||
# Delegates should be weak to avoid reference cycles. | ||
- weak_delegate | ||
|
||
disabled_rules: # rule identifiers turned on by default to exclude from running | ||
|
||
included: # paths to include during linting. `--path` is ignored if present. | ||
- AzureCommunicationUI | ||
|
||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- Pods | ||
explicit_type_interface: # requires type annotation on everything but local variables and constants | ||
excluded: | ||
- local | ||
allow_redundancy: true # Ignores rule if it would result in redundancy | ||
file_header: | ||
required_pattern: | | ||
\/\/ | ||
\/\/ Copyright \(c\) Microsoft Corporation\. All rights reserved\. | ||
\/\/ Licensed under the MIT License\. | ||
\/\/ | ||
identifier_name: | ||
min_length: 1 | ||
max_length: 60 | ||
modifier_order: | ||
preferred_modifier_order: | ||
- acl | ||
- setterACL | ||
- override | ||
- typeMethods | ||
type_name: | ||
min_length: 3 | ||
max_length: 50 | ||
function_body_length: | ||
- 75 # Warning | ||
- 100 # Error | ||
cyclomatic_complexity: | ||
- 25 # Warning | ||
- 50 # Error |
Oops, something went wrong.