Commit Graph

65 Commits

Author SHA1 Message Date
Oleksii Pyvovarov c1f2720c61 Fixed warnings, errors - updated tests 2019-12-24 21:39:22 +02:00
yangxichuan a29a2205f2 Surport Swift 5 2019-05-13 18:35:55 -07:00
Arunav Sanyal b91680b00a
Final merge for swift 4 (#476)
* Swift 4
2018-06-22 19:26:59 -07:00
Lucas Farah 3b7e548f70 Fixed almost all Swiftlint warnings 2017-08-25 12:17:25 -07:00
Arunav Sanyal c799895b53 Adding support for MACOSX XCode target. 2017-06-12 10:34:54 -07:00
Arunav Sanyal c968ce8d73 Converting all UIKit packages to be buildable for only tvOS or IOS.
This would allow EZSwiftExtensions to be usable in other platforms (MacOS and Linux)
2017-05-30 20:12:29 -07:00
Alexey 2395fa544f Add missed public modifiers (#406)
* Add missed public modifiers
2017-04-24 21:01:22 -07:00
Andrew Ng d475a43ed1 Fix DBL_MAX deprecation warning (#403)
* Fix DBL_MAX deprecation warning
2017-04-10 12:33:57 -07:00
Lucas Farah 1885a24296 Fixed some swiftlint warnings 2017-01-25 10:14:52 +05:30
Arunav Sanyal e6a420b603 <Description> : Adding urlDecode and urlDecoded methods for string.
<Type> : feature/test
2017-01-08 12:11:51 -08:00
Olexii Pyvovarov 6be122c1d9 Added tests, changed implementation of subscript(integerClosedRange: ClosedRange<Int>) 2016-10-29 10:08:40 +03:00
Lucas Farah 3a290dc36c Added integerClosedRange to String Extensions 2016-10-29 10:08:40 +03:00
Sanyal e94398787b <Description> : Adding the urlencode version (the mutating version of urlencoded)
<Type> : feature/test
2016-10-09 22:21:30 +03:00
Sanyal b3a29190d1 <Description> : Refactoring name from urlencode to urlencoded
<Type> : fix
2016-10-09 21:58:33 +03:00
Sanyal f4ebb029d8 <Description> : Adding urlEncoding of strings extension and test for the same.
<Type> : feature/test
2016-10-09 21:58:33 +03:00
Goktug Yilmaz 03cc6c0611 Added tests to String.toBool() 2016-09-27 13:02:37 +03:00
Goktug Yilmaz d4326a0ae9 Removed String.contains cause apple implemented it 2016-09-27 12:20:56 +03:00
Olexii Pyvovarov 201850843f Swift 3 support for Xcode 8 + all tests 2016-09-20 01:48:19 +03:00
broccoliii 9f002184f2 Update StringExtensions.swift 2016-09-12 19:40:32 +08:00
Olexii Pyvovarov 498bec377b Added ceilByPlaces + tests for it
Added guard for places >= 0
Moved String extension to StringExtensions
2016-08-27 10:30:49 +03:00
Goktug Yilmaz 09be984e0a pasteboard only available for ios 2016-08-25 22:12:33 +03:00
Goktug Yilmaz de20ccbd06 Fixed issues with UITextField extensions 2016-08-25 18:55:08 +03:00
Goktug Yilmaz f4fb3e681c Merge pull request #168 from piv199/feature/blank
isBlank + tests + Readme.MD
2016-08-06 15:38:14 +03:00
Olexii Pyvovarov a715e2cb07 isBlank + tests
isOnlyEmptySpacesAndNewLineCharacters() is now deprecated
2016-08-06 15:10:49 +03:00
Olexii Pyvovarov 955d411120 Lowercase(d)First, lowercase(d)Prefix, lowercase(d)Suffix, lowercase(d)(range:) + tests 2016-08-06 14:42:39 +03:00
Olexii Pyvovarov 9e4762867d Added uppercase(d)(range:) + tests 2016-08-04 01:19:50 +03:00
Olexii Pyvovarov f889276b0b capitalize(d)Prefix changed to uppercase(d)Prefix
capitalize(d)Suffix changed to uppercase(d)Suffix
2016-08-03 22:08:10 +03:00
Olexii Pyvovarov dda78bf7cd Added capitalize(d)Prefix and capitalize(d)Suffix methods + tests for them 2016-08-03 21:40:28 +03:00
Olexii Pyvovarov d9c11402c7 capitalizeFirst and capitalizedFirst methods(#150)
Tests for string capitalization
2016-07-19 23:35:32 +03:00
Goktug Yilmaz bad30c9d18 Merge pull request #145 from Yu-w/master
Added UITextField extensions and copyToPasteboard func in StringEx
2016-07-14 14:01:30 +03:00
Lucas Farah b415e62d46 Fixed All Swiftlint errors 2016-07-04 17:58:12 -03:00
Lucas Farah cd567cd70c Fixes capitalizeFirst in StringExtensions
fixes #146
2016-06-28 20:36:53 -03:00
Yu Wang ffb42675df Added UITextField extensions and copyToPasteboard func in StringExtensions 2016-06-26 22:08:18 -07:00
Amir Abbas Mousavian aa83e35a18 Double, String, NSDate, NSURL, NSDictionary, UIApplication and UIImage Extensions and Tests
Double:
- String inits with precision
NSDate:
- init from HTTP date strings
NSDictionary:
- JSON serialize and deserialize
NSURL:
- file properties methods
- get remote server size of URL
- checks server supports resuming
- comparing URLs
String:
- determining position of substring
- counting words and paragraphs
- get matches of regular expression
- get height of rendered text (usable in determining UILabel/UITextView height programatically
- colorize instances of a substring inside string
- hasPrefix and hasSuffix pattern matching
UIApplication:
- convenience method to run a block when app is in background
UIImage:
- colorize uiimage (pattern colouring)
2016-06-04 21:09:09 +04:30
Goktug Yilmaz 609fce34a4 Fixed string.trim() 2016-06-04 18:51:13 +03:00
Lucas Farah 9a78627be8 Added strikethrough attribute for String Extensions 2016-05-31 22:25:16 -07:00
Lucas Farah 0def725881 Fixed Swiftlint warnings 2016-05-26 12:56:25 -07:00
Patrick Lin bfddee233e support tvOS, added EZSwiftExtensions-tvOS.framework, and EZSwiftExtensionsTests-tvOS (all pass) 2016-05-20 11:27:27 +08:00
Goktug Yilmaz 7099cbc076 Fixed whitespace and legacy constructors 2016-04-06 17:32:25 +03:00
inket 050106afd8 No more force-unwrapping 🤕 2016-03-29 16:15:00 +09:00
inket f2f1e911a7 Fixed spacing/style issues 2016-03-29 16:15:00 +09:00
inket 11023a6b6f Fixed whitespacing issues 2016-03-29 16:15:00 +09:00
Goktug Yilmaz 1b083d2647 Changed name of isIncludeEmoji to includesEmoji 2016-03-15 15:37:12 +02:00
Goktug Yilmaz 98f7fa3e58 Made funcs public 2016-03-15 15:34:03 +02:00
satoshin2071 4ede802c88 Added isIncludeEmoji() to StringExtensions 2016-03-15 01:46:44 +09:00
Goktug Yilmaz 506e719f48 Changed trim names 2016-03-01 16:50:15 -08:00
Valentino Urbano 23f9eae7ec Merging from upatream 2016-02-27 16:41:50 +01:00
Goktug Yilmaz 213c00f990 Fixed syntax 2016-02-25 16:49:18 -08:00
Goktug Yilmaz 6a8d5d27d4 Added docs for String.count() 2016-02-25 15:58:56 -08:00
Goktug Yilmaz 0fd93e3f72 Added docs for String.isNumber() 2016-02-25 15:52:08 -08:00