Skip to content
Browse files

new api CWUUIDStringPrependedWithString()

  • Loading branch information...
1 parent 916bfc0 commit 65859c35ce35479c493e22a65ef816ccfc578e01 @Machx committed Mar 14, 2012
Showing with 8 additions and 0 deletions.
  1. +2 −0 Source/CWFoundation.h
  2. +6 −0 Source/CWFoundation.m
View
2 Source/CWFoundation.h
@@ -32,3 +32,5 @@
BOOL CWClassExists(NSString * class);
NSString *CWBOOLString(BOOL value);
+
+NSString *CWUUIDStringPrependedWithString(NSString *preString);
View
6 Source/CWFoundation.m
@@ -54,3 +54,9 @@ BOOL CWClassExists(NSString * class) {
NSString *CWBOOLString(BOOL value) {
return (value) ? @"YES" : @"NO";
}
+
+NSString *CWUUIDStringPrependedWithString(NSString *preString)
+{
+ NSString *unqiueString = [NSString stringWithFormat:@"%@%@",preString,[NSString cw_uuidString]];
+ return unqiueString;
+}

0 comments on commit 65859c3

Please sign in to comment.
Something went wrong with that request. Please try again.