Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MERGE] Main Repo -> Current #1

Merged
merged 97 commits into from
Dec 22, 2023
Merged

Conversation

wesmatlock
Copy link
Owner

Checklist

  • I checked the Contributing Guidelines before creating this request.
  • New extensions are written in Swift 5.0.
  • New extensions support iOS 10.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+, or use @available if not.
  • I have added tests for new extensions, and they passed.
  • All extensions have a clear comments explaining their functionality, all parameters and return type in English.
  • All extensions are declared as public.
  • I have added a changelog entry describing my changes.

LucianoPAlmeida and others added 30 commits January 2, 2021 23:06
* Update issue templates

* Removing old template
* Add New Extension `MeasurementExtensions`

Add static initializers to create measurement instances presenting angle in various unit types.

* PR Improvements

* Update CHANGELOG.md

Co-authored-by: Henry <[email protected]>

* Update Sources/SwifterSwift/Foundation/MeasurementExtensions.swift

Co-authored-by: Guy Kogus <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Guy Kogus <[email protected]>

* Update Copyright - Happy New Year!

* Update Test Cases

Extract a top-level constant for angle value.
Update function call for `.degrees(_:)`.

* Update Sources/SwifterSwift/Foundation/MeasurementExtensions.swift

Co-authored-by: Luciano Almeida <[email protected]>

* PR Improvement

Use explicit `return`.

Co-authored-by: Henry <[email protected]>
Co-authored-by: Guy Kogus <[email protected]>
Co-authored-by: Luciano Almeida <[email protected]>
* Fix several documentation typos.

* Some more documentation improvements :P

Co-authored-by: Guy Kogus <[email protected]>
Bumps [kramdown](https://github.com/gettalong/kramdown) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/gettalong/kramdown/releases)
- [Changelog](https://github.com/gettalong/kramdown/blob/master/doc/news.page)
- [Commits](https://github.com/gettalong/kramdown/commits)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add unsafeString initializer for URL

* Update CHANGELOG.md

Co-authored-by: Luciano Almeida <[email protected]>

Co-authored-by: Luciano Almeida <[email protected]>
* RandhirKumar: Added UITextField Extensions for adding toolbar to textfield.

* RandhirKumar: Added Unit tests for UITextField Extensions

* RandhirKumar: updated change log for newly added extensions.

* SwifterSwift: Address PR comments and refactor tests file.

* Updated Changelog.md

* Update CHANGELOG.md

Co-authored-by: Guy Kogus <[email protected]>

* Updated changelog.md

* Removed extra parenthesis in changelog.md

* SwifterSwift: Code refactor as per review comments.

* Update CHANGELOG.md

Co-authored-by: Guy Kogus <[email protected]>

* SwifterSwift: Address PR comments.

* SwifterSwift: Added a os check.

* SwifterSwift: updated tests with os check.

Co-authored-by: Randhir kumar <[email protected]>
Co-authored-by: Guy Kogus <[email protected]>
…n-base64 characters (#961)

* [BugFix]Making String.base64Decoded a safe base64 decode by ignore non-base64 characters

* add changelog

* Update StringExtensionsTests.swift

Co-authored-by: Luciano Almeida <[email protected]>
Co-authored-by: Luciano Almeida <[email protected]>
Co-authored-by: Guy Kogus <[email protected]>
* add `BinaryInteger` extension & Tests

Co-authored-by: Guy Kogus <[email protected]>
Co-authored-by: Luciano Almeida <[email protected]>
* Add `MKMultiPoint` extensions

* Remove duplicate tests for MKPolyLine coordinates
* Adding  subviewsOfType extension

* Update Changelog

* Improve test

* Add check for empty subviews

* Update CHANGELOG.md

Co-authored-by: Luciano Almeida <[email protected]>

* Fix tests

* Update comment

* Fix test

Co-authored-by: Luciano Almeida <[email protected]>
* implment swap function

* add test for swap function

* support animate on swap action

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Luciano Almeida <[email protected]>

* Update Tests/UIKitTests/UIStackViewExtensionsTests.swift

Co-authored-by: Luciano Almeida <[email protected]>

* move private swap function inside public swap function as local function.

* add new test case of call swap with a view that is not on the stack nothing should happen

Co-authored-by: Luciano Almeida <[email protected]>
* Add joined(separator:)

* Update CHANGELOG.md

* Update NSAttributedStringExtensions.swift

* Update Sources/SwifterSwift/Foundation/NSAttributedStringExtensions.swift

Co-authored-by: Luciano Almeida <[email protected]>

* fix build errors

* more tests

* Update Sources/SwifterSwift/Foundation/NSAttributedStringExtensions.swift

Co-authored-by: Luciano Almeida <[email protected]>

* Fix tests

* testJoinedWithNonEmptySeparator

* testJoinedWithEmptyAttributedSeparator

* tests

* #if canImport(AppKit) || canImport(UIKit) outside methods

Co-authored-by: Luciano Almeida <[email protected]>
Mayank-84 and others added 29 commits April 12, 2023 08:57
…1107)

- If we are creating constraints programmatically, using the activate method can improve performance by activating all the constraints at once, rather than activating them one by one.

Co-authored-by: Mayank <>
Co-authored-by: Luciano Almeida <[email protected]>
* Fixes building for macOS

* Fix comment

* Fix deprecation usage

* Add CHANGELOG

* [WatchOS] Fix watchOS build failure

* [github] Update xcode version

* [watchOS] Fix simulator device

* Try again

* Name escape

* [Pods] Update pods

* Add a bit more info

* Unquote

---------

Co-authored-by: Chen <[email protected]>
Co-authored-by: Luciano Almeida <[email protected]>
- Instead of checking for nil using guard statements we are using self and some basic conditions
- This optimises the performance significantly considering that collection size can be bigger and checking using guard can be expensive.

---------

Co-authored-by: Mayank <>
---------

Co-authored-by: Guy Kogus <[email protected]>
Co-authored-by: Phill Zarfos <[email protected]>
…rAppearance for support iOS 15 and later versions. (#1105)
Co-authored-by: Luciano Almeida <[email protected]>
Co-authored-by: Guy Kogus <[email protected]>
* Add pushViewController(_ viewController:, hideBottomBar:) UINavigationController Extensions

---------

Co-authored-by: Guy Kogus <[email protected]>
* Release 6.0.0

* Removes deprecated extensions
@wesmatlock wesmatlock merged commit 1dc09d7 into wesmatlock:master Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.