mirror of
https://github.com/wu736139669/ManagerDemo.git
synced 2026-08-05 05:55:42 +00:00
42 lines
937 B
Objective-C
42 lines
937 B
Objective-C
//
|
|
// NSString+DTUtilities.h
|
|
// DTFoundation
|
|
//
|
|
// Created by Oliver Drobnik on 4/16/12.
|
|
// Copyright (c) 2012 Cocoanetics. All rights reserved.
|
|
//
|
|
|
|
|
|
/**
|
|
A collection of utility additions for `NSString`.
|
|
*/
|
|
|
|
@interface NSString (DTUtilities)
|
|
|
|
/**-------------------------------------------------------------------------------------
|
|
@name Working with Identifiers
|
|
---------------------------------------------------------------------------------------
|
|
*/
|
|
|
|
/** Creates a new string that contains a generated UUID.
|
|
|
|
@return The path to the app's Caches folder.
|
|
*/
|
|
+ (NSString *)stringWithUUID;
|
|
|
|
|
|
/**-------------------------------------------------------------------------------------
|
|
@name Working with Checksums
|
|
---------------------------------------------------------------------------------------
|
|
*/
|
|
|
|
/** creates an MD5 checksum
|
|
|
|
@return returns an MD5 hash for the receiver.
|
|
*/
|
|
- (NSString *)md5Checksum;
|
|
|
|
|
|
|
|
@end
|