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

fork update #2

Merged
merged 163 commits into from
Jul 1, 2020
Merged

fork update #2

merged 163 commits into from
Jul 1, 2020

Conversation

alokc83
Copy link

@alokc83 alokc83 commented Jul 1, 2020

No description provided.

ratulSharker and others added 30 commits August 25, 2018 12:17
* Add initializers with Literals for UILayoutPriority

* Added CHANGELOG entry

* Undo project.pbxproj changes

* Update unit tests

* Remove whitespace from CHANGELOG

* Remove redundant tests
* Add addition operator to `UIEdgeInsets`

* Add in-place mutating addition for UIEdgeInsets
…es. (#555)

* Add `rotated(by:)` functions to `UIImage` for generating rotated images.

* spaces -> tabs

* Fix availability

* Fix CHANGELOG message

* Add SwifterSwift to comments
* Added 'key(forValue: Value)' method to DictionaryExtensions

* Added 'key(forValue: Value)' method to DictionaryExtensions

* Added 'key(forValue: Value)' method to DictionaryExtensions

* Added 'key(forValue: Value)' method to DictionaryExtensions
* Updating Code base and iOS Unit Tests.

* Updating MacOS tests

* Update travis image.

* Updating some extensions.

* Updating pod spec swift version

* Updating swift version

* Fixing indentation on some files.

* Indenting.

* Indenting some files.

* Running swiftlint autocorrect --format

* Workaround cocoapods issue

* Updating spec, readme and changelog for new version.

* Removing toggles since they are stdlib now.

* Deprecating random extensions in favor of the natives.

* Updating arc4_random usages.

* Removing prior SwifterSwift 4.2.0 version deprecated version.
* added ancestorView(withClass:)

* review changes

* added PR to changelog

* added ancestorView(where:)
…o specify Swift version of pod target itself. (#566)
…he latest version (#569)

* Update the CHANGELOG to correctly display what has been changed for the latest version
Close the version to create a public release

* Update README and podspec for v4.6.0
* Fixed image cropped method

* Added #575 pull request description
* Created Dictionary[path:] key-path subscript for deep fetching/setting

* Created DictionaryExtensionTests.testSubscriptKeypath test case

* Added Dictionary[path:] subscript entry to CHANGELOG

* Updated PR number in CHANGELOG for Dictionary[path:] entry

* Removed extrenuous 'return' from Dictionary[path:] setter

* Use for-in loop instead of .reduce in Dictionary[path:] to allow early returns

* Added path count guard to Dictionary[path:] getter

* Added empty path test to DictionaryExtensionTests.testSubscriptKeypath test case

* Added [key, key1] path test to DictionaryExtensionTests.testSubscriptKeypath test case

* Use .isEmptry instead of .count check for path length guard in Dictionary[path:]
* Clean up usage of new random functions

* Update project version to match current
…r it. (#578)

* Added Date property "yesterday" and a test function for it.

* Updated Changelog with propery  for Date

* Updated Changelog with propery  for Date

* Updated Changelog with propery  for Date

* Adding 'yesterday' property for Date (PR #578) error fix.

* Adding  property 'yesterday' for Date (PR ##578), comment, syntax and unit test fix

* Changes made for Changelog and a test case
* added WhatsApp color

* added changelog
* removed self when not needed

* improved formatting
…#583)

* Add `rounded(numberOfDecimalPlaces:rule:)` to `Float` and `Double`

* Add `rounded(numberOfDecimalPlaces:, rule:)` to CHANGELOG

* Append pr detail to CHANGELOG

* Prefer `max`  over comparison, thank guykogus

* Move method from `Double` and `Float` to `BinaryFloatingPoint`, thank LucianoPAlmeida (#583)

* Make method public #583

* Minor changes
…with negative index. (#582)

* Add subscript nth to `Collection` where `Index` is `Int`

* Add `Collection[nth:]` to CHANGELOG

* Append detail to CHANGELOG #582

* Move method to `BidirectionalCollection`

* Move BidirectionalCollectionExtension to its own file (#582)
… random API (#576)

* Replace the old Date.random function with ones using the new built-in random API

* Update changelog

* Add SwifterSwift to documentation
* Fix unit test fail of testing date beginning

* Use NSTimeZone.default instead Timezone.current or Date().timezone code review by @guykogus and @jianstm

* Revert testTimezone() using Date().timeZone
…ods project (#590)

* Add an project of installation example with Cocoapods

* Fix up `source_files` to correct the group paths of SwifterSwift in Pods project.

* Use `dependency`='SwifterSwift/Shared/Color' instead of `source_files`='Sources/Extensions/Shared/ColorExtensions.swift' for subspec 'UIKit', 'AppKit'

* Update `Podfile` of the example project to describe that fixed issue.

* Update CHANGELOG of PR #590

* Delete the test targets of example project.

* Delete the example project with Cocoapods installation.

* Revoke the subspec 'Shared/Color' and put back the source files to its original group 'Shared'.
* Added 'tomorrow' property for Date class

* Fixed PR number

* Updated test case for Date.tomorrow (pr #587)

* Fixed trailing space
* Create playground with working examples of extensions from Examples.md

* Remove Examples.md

* Add Examples playground into the project

* Remove number of Swift version from playground text

* Update README.md to replace Examples.md with Examples.playground

* Update CHANGELOG.md to include PR changes into upcoming release

* Update Examples.playground
- to remove sections and categories without examples
- to add message to build the project before using the playground
- to add "Try yourself" section
- rename playground pages files

* Fix SwiftLint warnings

* Remove some examples which actually do not show an output in playground
Update some examples to show an output in playground

* Remove unuseful example from playground

* Do small fixes for UIImage/UIImageView extensions examples

* Fix swiftlint warnings
* added UIActivityExtensions

* added changelog

* removed google plus

* removed UIActivityExtensions from tvOS

* updated changelog

* added newline

* added empty line
* Added functions

Added functions to count the number of times that the element occours in the array, and function to return duplicated element in the array.

* Update Sources/Extensions/SwiftStdlib/ArrayExtensions.swift

Co-Authored-By: dylancfe15 <[email protected]>

* Removed the countElement() functions.

Deleted the countElement() functions and kept only the getDuplicates().

* Deleted testCountElement()

* Added extension 'duplicatedElement'

Added `duplicatedElements() -> [Element]` get duplicated elements from an array.

* Update ArrayExtensions.swift

* Added 'duplicatedElements' extension

Function to return duplicated element from the original array.

* Added extension 'duplicatedElements' to Array

'duplicatedElements' will return duplicated elements from the original array

* Edited CHANGELOG.md

* Update CHANGELOG.md

* Update ArrayExtensions.swift

* Update ArrayExtensions.swift

* Update ArrayExtensionsTests.swift

* Update ArrayExtensions.swift

* Update ArrayExtensions.swift

* Update ArrayExtensions.swift

* Update ArrayExtensionsTests.swift

* Update ArrayExtensions.swift

* Update ArrayExtensions.swift

* Update CHANGELOG.md

Co-Authored-By: dylancfe15 <[email protected]>

* Added extension 'duplicates' to Sequence

A function for getting the duplicated elements in a sequence.

* Added extension 'duplicates' to Sequence

A function for getting the duplicated elements in a sequence.

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update ArrayExtensions.swift

* Update ArrayExtensionsTests.swift

* Update SequenceExtensionsTests.swift

* Added extension `isLeapYear` to Date

Added `isLeapYear` to check whether or not the year is a leap year.

* Update CHANGELOG.md

* Update DateExtensions.swift

* Update DateExtensionsTests.swift

* Update SequenceExtensions.swift

Removed countedSet, instead, using a set and an array.

* Update SequenceExtensions.swift
guykogus and others added 28 commits March 7, 2020 00:58
* Convert ISO region code into flag emoji

* Fix tests for Linux
* Observe a single post of a notification

* Remove old references to XCTestManifests files
* Added CGRect extensions and its tests

* Define anchor as CGPoint instead of enum

Co-authored-by: Guy Kogus <[email protected]>
Refactor `centerTextAndImage(spacing:)`: so that the image position can be above the text
* String Safely subscript - out of bounds #815

* Updated CHANGELOG.md

* 🚨 Fix SwiftLint issues

* 👌 Updating code due to code review changes.

* String Safely subscript - out of bounds #815

* Updated CHANGELOG.md

* 🚨 Fix SwiftLint issues

* 👌 Updating code due to code review changes.

* 🚨 Fix SwiftLint issues

* Refactored String subscript (safe substring)

👌 Updating code due to code review changes.

* Update Sources/SwifterSwift/SwiftStdlib/StringExtensions.swift

Co-Authored-By: Guy Kogus <[email protected]>

Co-authored-by: Guy Kogus <[email protected]>
* Make CATransform3D swifty

* Fix imports for test

* Add rule for ignoring x, y, z for SwitLint identifier_name rule
* Fix project and tests

* Remove unnecessary availability attributes

* Fix test crashing when it fails
* Access/update RangeReplaceableCollection by index offsets

This is especially useful for `String`s.
* NSAttributedString make  public

* Updated changelog

* Update Tests/FoundationTests/NSAttributedStringExtensionsTests.swift

Co-Authored-By: Guy Kogus <[email protected]>

* Test  doesn't have any attributes

* 👌🏼 Updated test case due to code review changes

* Update Tests/FoundationTests/NSAttributedStringExtensionsTests.swift

Co-Authored-By: Guy Kogus <[email protected]>

* Update Tests/FoundationTests/NSAttributedStringExtensionsTests.swift

Co-Authored-By: Guy Kogus <[email protected]>

* 🚨 Removing linter warnings.

* Update Tests/FoundationTests/NSAttributedStringExtensionsTests.swift

Co-Authored-By: Guy Kogus <[email protected]>

* Update Tests/FoundationTests/NSAttributedStringExtensionsTests.swift

Co-Authored-By: Guy Kogus <[email protected]>

Co-authored-by: Guy Kogus <[email protected]>
…omLeft`, `bottomRight` (#835)

* Add Unit-Tests for each anchor point get and set operation
* Change `SpriteKitTests` file and enclosing class names to `SKNodeExtensionTest`
* Add `CHANGELOG.md` entry
…le (#841)

* Added new `+`, `+=`, `-` and `-=` operator extensions for tuple (width: CGFloat, height: CGFloat)

* Removing semantically incorrect operator

* Little arrangements
* Added WKWebView extensions

* Refactoring tests

* Adding Pod subspec for WebKit and section for WebKit Extensions in Readme
Increasing WKWebView test expectation timeout

* Replacing test url with https://example.com/
Handling failed events

* Adding test for Dead URL String

Co-authored-by: Guy Kogus <[email protected]>
…rictions. (#844)

* Refactored  to remove deployment target version restrictions.

* Added test for when the dark mode color is nil.

* Updated UIColorExtensionsTests.

* Make dark in UIColor(light:dark:) non-optional.

Co-authored-by: Luciano Almeida <[email protected]>
* CoreAnimation: Make CAGradientLayer extension public.

* Update CHANGELOG.
* Added convenient wrapper to asyncAfter

* Added unit test for asyncAfter

* Added changes to changelog

* Made minor changes

Co-authored-by: Guy Kogus <[email protected]>
* Deprecated map(by:), compactMap(by:), filter(by:)

* Removed tests for map(by:), compactMap(by:), filter(by:)

Co-authored-by: Luciano Almeida <[email protected]>
* - fixed: "".truncated crashed

* Update StringExtensionsTests.swift

* Update CHANGELOG.md
* Clean up code
Optimise some function compilation times
`CAGradientLayer.init` - add default values for `startPoint` and `endPoint`.

* Updated CHANGELOG

* Clean up forEachInParallel

* Fix WKWebView tests

* Clean code and fix DispatchQueue tests
@alokc83
Copy link
Author

alokc83 commented Jul 1, 2020

Fork update

@alokc83 alokc83 merged commit 2a5e824 into MtAden:master Jul 1, 2020
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.