- Googlen ist erlaubt
- Das Spicken der Lösung dagegen verboten
- der aktive Coder selbst ist stumm, nur seine beiden Pair Programmer dürfen sich mitteilen, diskutieren und Anweisungen geben
- die höchste Punktzahl laut coderbyte Website gewinnt
- Die Programmiersprache ist frei wählbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (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 ] ]; |
openssl ecparam -name sect571r1 -genkey -noout -out alice_priv_key.pem
openssl ecparam -name sect571r1 -genkey -noout -out bob_priv_key.pem
openssl ec -in alice_priv_key.pem -pubout -out alice_pub_key.pem
openssl ec -in bob_priv_key.pem -pubout -out bob_pub_key.pem
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Makro.h | |
// | |
// Created by Carl Jahn | |
// Copyright (c) 2013 Carl Jahn. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
//NSLogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ZoomView.m | |
// ZoomView | |
// | |
// Created by Carl Jahn on 15.08.13. | |
// Copyright (c) 2013 Carl Jahn. All rights reserved. | |
// | |
#import "ZoomView.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
NewerOlder