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 <thisisthefoxe@gmail.com>

* Update Sources/SwifterSwift/Foundation/MeasurementExtensions.swift

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>

* Update CHANGELOG.md

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>

* 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 <passos.luciano@outlook.com>

* PR Improvement

Use explicit `return`.

Co-authored-by: Henry <thisisthefoxe@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
* Fix several documentation typos.

* Some more documentation improvements :P

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
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] <support@github.com>

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] <support@github.com>

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 <passos.luciano@outlook.com>

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
* 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 <guy.kogus@gmail.com>

* Updated changelog.md

* Removed extra parenthesis in changelog.md

* SwifterSwift: Code refactor as per review comments.

* Update CHANGELOG.md

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>

* SwifterSwift: Address PR comments.

* SwifterSwift: Added a os check.

* SwifterSwift: updated tests with os check.

Co-authored-by: Randhir kumar <randhir_kumar@intuit.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
…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 <passos.luciano@outlook.com>
Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
* add `BinaryInteger` extension & Tests

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
* 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 <passos.luciano@outlook.com>

* Fix tests

* Update comment

* Fix test

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
* implment swap function

* add test for swap function

* support animate on swap action

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>

* Update Tests/UIKitTests/UIStackViewExtensionsTests.swift

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>

* 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 <passos.luciano@outlook.com>
* Add joined(separator:)

* Update CHANGELOG.md

* Update NSAttributedStringExtensions.swift

* Update Sources/SwifterSwift/Foundation/NSAttributedStringExtensions.swift

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>

* fix build errors

* more tests

* Update Sources/SwifterSwift/Foundation/NSAttributedStringExtensions.swift

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>

* Fix tests

* testJoinedWithNonEmptySeparator

* testJoinedWithEmptyAttributedSeparator

* tests

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

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
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 <passos.luciano@outlook.com>
* 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 <qchenqizhi@gmail.com>
Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
- 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 <guy.kogus@gmail.com>
Co-authored-by: Phill Zarfos <pzarfos@thepennyhoarder.com>
…fLength:)` (#1115)

Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
…rAppearance for support iOS 15 and later versions. (#1105)
Co-authored-by: Luciano Almeida <passos.luciano@outlook.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
* Add pushViewController(_ viewController:, hideBottomBar:) UINavigationController Extensions

---------

Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
Co-authored-by: Guy Kogus <guy.kogus@gmail.com>
* 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