// // NSData+YYAdd.h // YYKit // // Created by ibireme on 13/4/4. // Copyright (c) 2015 ibireme. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import /** Provide hash, encrypt, encode and some common method for `NSData`. */ @interface NSData (YYAdd) #pragma mark - Others ///============================================================================= /// @name Others ///============================================================================= /** Create data from the file in main bundle (similar to [UIImage imageNamed:]). @param name The file name (in main bundle). @return A new data create from the file. */ + (NSData *)dataNamed:(NSString *)name; @end