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
-(void)onLevelReloaded:( SCLevelResponse* )levelResponse | |
{ | |
NSParameterAssert( nil != levelResponse ); | |
NSParameterAssert( nil != levelResponse.levelParentItem ); | |
self->_loadedLevel = levelResponse; | |
// register cells as content has been loaded | |
for ( SCItem* item in levelResponse.levelContentItems ) | |
{ |
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
@interface MyCell : UITableViewCell | |
+(NSString*)reuseId; | |
@property ( nonatomic, strong ) MyCellController* cellController; | |
@end |
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
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h' has been modified since the precompiled header '/var/folders/fw/yrmk7vp92d531rckrfh6gqk40000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/5.0.2-5A3005/Xcode/ModuleCache/9OZFK1C8N0DD/UIKit.pcm' was built |
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
@protocol MyBlockProtocol; | |
typedef id<MyBlockProtocol>(^MyFactoryMethodBlock)( NSString* )objectId | |
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
@implementation NSArray | |
-(instancetype)initWithXXX:() | |
{ | |
NSArray_XXX_Impl* impl = [ NSArray_XXX_Impl new ]; | |
// initialize impl | |
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
[DEBUG] Session could not be started: | |
Error Domain=DTiPhoneSimulatorErrorDomain | |
Code=1 | |
"The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)." | |
UserInfo=0x7f9c09e35890 | |
{ | |
NSLocalizedDescription=The application that opened iOS Simulator failed to send all of the required information (sessionUUID, sdkRoot, deviceInfo)., |
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
// Боярский языг.cpp : Defines the entry point for the console application. | |
// | |
#define и and | |
#define и_мало_равно and_eq | |
#define основа asm | |
#define само auto | |
#define и_мало bitand | |
#define или_мало bitor |
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 "MUVersionDetector.h" | |
#define CPP_STRING_LINKER_ERRORS 0 | |
#if !CPP_STRING_LINKER_ERRORS | |
typedef std::map<std::string, MUApplicationVersion> MUCacheFolderForVersionMap; | |
typedef MUCacheFolderForVersionMap::const_iterator MUCacheFolderForVersionMap_ci; | |
#endif | |
@implementation MUVersionDetector |
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
@protocol SCRangeSliderViewDelegate < NSObject > | |
#pragma mark - DataSource methods | |
@required | |
-(NSUInteger)numberOfSectionsForRangeSliderView:( SCRangeSliderView* )view_; | |
-(NSUInteger)maxRangeLengthForSliderView:( SCRangeSliderView* )view_; | |
-(void)didChangeSelectedRangeOfRangeSliderView:( SCRangeSliderView* )view_; |
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
public class GetPublicKeyTasks : IRestApiCallTasks<string, Stream, PublicKeyX509Certificate> | |
{ | |
public async Task<string> BuildRequestUrlForRequestAsync( string instanceUrl ) | |
{ | |
return await Task.Factory.StartNew ( () => instanceUrl + "/-/item/v1/-/actions/getpublickey" ); | |
} | |
public async Task<Stream> SendRequestForUrlAsync( string requestUrl ) | |
{ | |
return await this.httpClient.GetStreamAsync(requestUrl); |