]> err.no Git - sope/commitdiff
added -isNotEmpty to NSSet
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 5 Oct 2005 12:01:36 +0000 (12:01 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 5 Oct 2005 12:01:36 +0000 (12:01 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1155 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-core/NGExtensions/ChangeLog
sope-core/NGExtensions/FdExt.subproj/NSNull+misc.m
sope-core/NGExtensions/Version

index 7935158d41f4abdd43409aab9b2bab08d5d3f8e6..8f774e2138b0dbc0dda0bec0e6ae1437cedee8a9 100644 (file)
@@ -1,3 +1,7 @@
+2005-10-05  Helge Hess  <helge.hess@skyrix.com>
+
+       * FdExt.subproj/NSNull+misc.m: added -isNotEmpty to NSSet (v4.5.176)
+
 2005-09-28  Helge Hess  <helge.hess@skyrix.com>
 
        * FdExt.subproj/NSNull+misc.m: added -isNotEmpty to NSData (v4.5.175)
index 35f5e4f8662a9ca8f26607527ef73eae00039184..7e1ca8828e1088536dc751b58c1273f500f19d5e 100644 (file)
@@ -258,6 +258,14 @@ static inline BOOL doAbort(void) {
 
 @end /* NSArray(NSNullMisc) */
 
+@implementation NSSet(NSNullMisc)
+
+- (BOOL)isNotEmpty {
+  return [self count] == 0 ? NO : YES;
+}
+
+@end /* NSSet(NSNullMisc) */
+
 @implementation NSDictionary(NSNullMisc)
 
 - (BOOL)isNotEmpty {
index 0470f28df7b9885d27f9c381d674c5c5f66fe30a..fa38c4aba7abe76733b2aa2ed619f9ebe6b1515a 100644 (file)
@@ -1,6 +1,6 @@
 # version
 
-SUBMINOR_VERSION:=175
+SUBMINOR_VERSION:=176
 
 # v4.3.115 requires libFoundation v1.0.59
 # v4.2.72  requires libEOControl  v4.2.39