https://github.com/wyanassert/wycommonimagemanager
encrypt image resource in iOS Project without change code.
https://github.com/wyanassert/wycommonimagemanager
encrypt resource
Last synced: over 1 year ago
JSON representation
encrypt image resource in iOS Project without change code.
- Host: GitHub
- URL: https://github.com/wyanassert/wycommonimagemanager
- Owner: wyanassert
- Created: 2017-03-09T02:30:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T03:01:01.000Z (over 9 years ago)
- Last Synced: 2025-01-11T04:44:08.783Z (over 1 year ago)
- Topics: encrypt, resource
- Language: Objective-C
- Homepage:
- Size: 503 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WYCommonImageManager
encrypt image resource in iOS Project without change source code.
Based on [RNCryptor](https://github.com/RNCryptor/RNCryptor) and [CXYRNCryptorTool](https://github.com/iHongRen/CXYRNCryptorTool)
1. Run CXYRNCryptor.app in Project directory and click + button to add images, and then encrypt.
2. choose save directory and encrypt data, including xxxx.cxy files and a plist named with current date.
3. the plist in step 2 descibe which picture was transformed to which encrypted file.
2. create new folder , rename as Target.bundle or other name you like.
3. add encrypted files in steps 2 into Target.bundle.
4. add bundle into yout project.
5. import `CommonImageManager.h` in `appDelegate.h`.
6. in
`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions`,
add
`[[CommonImageManager sharedInstance] configureBundlesName:@[@"Target", @"Other Name you Like"]];`
7. run demo to see how to work in iOS project.