Docu for encrypt and decrypt a large file with AES and RSA
//generates a private Key with 8196 Bit.
openssl genrsa -out private.pem 8196
| + (UIImage*)imageNamedForDevice:(NSString*)name { | |
| if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) | |
| { | |
| if (([UIScreen mainScreen].bounds.size.height * [UIScreen mainScreen].scale) >= 1136.0f) | |
| { | |
| //Check if is there a path extension or not | |
| if (name.pathExtension.length) { | |
| name = [name stringByReplacingOccurrencesOfString: [NSString stringWithFormat:@".%@", name.pathExtension] | |
| withString: [NSString stringWithFormat:@"-568h@2x.%@", name.pathExtension ] ]; |
| #import <Foundation/Foundation.h> | |
| typedef id(^BankAccount)(char *cmd); | |
| typedef id(^CurrentBalanceMethod)(void); | |
| typedef id(^DepositMethod)(double); | |
| typedef id(^WithdrawMethod)(double); | |
| BankAccount CreateBankAccount(double initialBalance) | |
| { | |
| // Initialization |
| NSURL *url = [NSURL URLWithString:@"http://cache-tester.herokuapp.com/contacts.json"]; | |
| NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url]; | |
| [req setValue:@"\"3aa02883a2552b735e60c74ba4100548\"" forHTTPHeaderField:@"If-None-Match"]; | |
| AFJSONRequestOperation *op = [AFJSONRequestOperation JSONRequestOperationWithRequest:req | |
| success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) { |
| // | |
| // ZoomView.m | |
| // ZoomView | |
| // | |
| // Created by Carl Jahn on 15.08.13. | |
| // Copyright (c) 2013 Carl Jahn. All rights reserved. | |
| // | |
| #import "ZoomView.h" |
| // | |
| // Makro.h | |
| // | |
| // Created by Carl Jahn | |
| // Copyright (c) 2013 Carl Jahn. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| //NSLogs |
#iOS Icon Guideline Dieses Dokument soll eine Übersicht über alle benötigten Icons für die iOS Plattformen 6 und 7 geben. Alle Information zu den Größen und die Verwendung der Icosn findet man in den iOS Human Interface Guidelines.
##App Icons
| Device | Normal | Retina | iOS 7 | Required |
|---|---|---|---|---|
| iPhone | 57 x 57 | 114 x 114 | 120 x 120 | YES |
| iPad | 77 x 77 | 144 x 144 | 152 x 152 | YES |
| - (void)controllerWillChangeContent:(NSFetchedResultsController *)controller { | |
| // The fetch controller is about to start sending change notifications, so prepare the table view for updates. | |
| [self.tableView beginUpdates]; | |
| } | |
| - (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath *)newIndexPath { | |
| UITableView *tableView = self.tableView; | |