Commit Graph

44 Commits

Author SHA1 Message Date
ken cf7ecf1fd5 Defining addToPasteboard StringExtension to only be usable in IOS
Reason : UIPasteboard is __TVOS_PROHIBITED
2017-02-13 09:36:19 -08: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
Goktug Yilmaz b4f7435d5f getIndexOf now returns nil if character not found 2016-02-25 15:27:04 -08:00
Lucas Farah f16e45c211 Added bold, underline, italic and color functions 2016-02-18 01:53:13 -08:00
Goktug Yilmaz 51679f5b39 Merge pull request #43 from lfarah/patch-6
Added toBool method in String
2016-02-11 17:36:20 -08:00
Lucas Farah 468b4ae719 Added documentation to Strings (Now Rebased) 2016-02-11 05:51:48 -08:00
Goktug Yilmaz 4f0a7c49d7 Merge pull request #45 from lfarah/patch-8
Added count method in String
2016-02-10 15:18:20 -08:00
Lucas Farah 060cd1de14 Added count method in String 2016-02-10 06:06:48 -08:00
Lucas Farah 9fb52e9dd6 Added isNumber method in String 2016-02-10 06:03:18 -08:00
Lucas Farah 034fc83033 Added toBool method in String 2016-02-10 05:59:50 -08:00
Goktug Yilmaz 973b1b5435 Updated again 2016-01-29 13:51:56 -08:00
Goktug Yilmaz 33eafc5942 Fixed syntax 2016-01-29 13:48:08 -08:00
Lucas Farah 0661f7def2 Added getIndexOf in String Extensions 2016-01-29 12:38:57 -08:00
Valentino Urbano 4a300a5ba6 Added size classes + bug fixes 2016-01-29 12:32:10 +01:00
Goktug Yilmaz c25d3f3a0d Added toNSString
Separated removeObject and removeObjects for Array
2015-12-27 23:27:36 -08:00
Goktug Yilmaz 2233b1907b :made everything public 2015-11-14 19:57:46 +02:00
Goktug Yilmaz 2ee2fed351 :commit stuff 2015-11-14 18:31:57 +02:00