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
#include <Cartridge.h> | |
uint8_t smb2_overworld[] = { | |
0x56, 0x67, 0x6D, 0x20, 0x5B, 0x69, 0x00, 0x00, 0x61, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x47, 0x68, 0x00, 0x00, 0x17, 0xD9, 0x21, 0x00, 0xDF, 0x12, 0x00, 0x00, 0x20, 0xCC, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x8C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4C, 0x4F, 0x1B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 |
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
pod 'Lookback' |
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 <UIKit/UIKit.h> | |
@protocol LookbackParticipateDelegate; | |
NS_ASSUME_NONNULL_BEGIN | |
/*! @header LookbackParticipate.h | |
@abstract | |
Public interface for Lookback Participate, the friendly UX for guiding test particioants | |
through a research session, be it live, self-guided or in person. |
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 <UIKit/UIKit.h> | |
@protocol LookbackParticipateDelegate; | |
NS_ASSUME_NONNULL_BEGIN | |
/*! @header LookbackParticipate.h | |
@abstract | |
Public interface for Lookback Participate, the friendly UX for guiding test particioants | |
through a research session, be it live, self-guided or in person. |
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
LBNotificationBanner *banner = [LBNotificationBanner new]; | |
[overlay addSubview:banner]; | |
banner.translatesAutoresizingMaskIntoConstraints = NO; | |
LBInstallConstraint(banner, Top, Equal, overlay, Top, 1, margin); | |
LBInstallConstraint(banner, Left, Equal, overlay, Left, 1, margin); | |
LBInstallConstraint(banner, Right, Equal, overlay, Right, 1, margin); |
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
#define LBGuard(cond, ...) \ | |
BOOL __COND_SUCCESSFUL_AT ## __LINE__ = (cond); \ | |
if(!__COND_SUCCESSFUL_AT ## __LINE__) {\ | |
NSString *failureReason = [NSString stringWithFormat:__VA_ARGS__]; \ | |
NSAssert(NO, @"Guard failed: %@: %@", @#cond, failureReason); \ | |
NSLog(@"Guard failed: %@: %@", @#cond, failureReason);\ | |
} \ | |
if(__COND_SUCCESSFUL_AT ## __LINE__) {} | |
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)appendEncodedSampleBuffer:(CMSampleBufferRef)encodedSampleBuffer addTrimAtStart:(int)trimDuration fromSource:(id)source | |
{ | |
if(!_hasWrittenTrim) { | |
GFLog(GFDebug, @"Adding trim to sample buffer from %@", source); | |
const AudioStreamBasicDescription *asbd = CMAudioFormatDescriptionGetStreamBasicDescription(CMSampleBufferGetFormatDescription(encodedSampleBuffer)); | |
CMSetAttachment(encodedSampleBuffer, kCMSampleBufferAttachmentKey_TrimDurationAtStart, (id)CFAutorelease( | |
CMTimeCopyAsDictionary( | |
CMTimeMake(trimDuration, asbd->mSampleRate), | |
kCFAllocatorDefault |
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
// | |
// LBCompositionDebugger.h | |
// LBMergeVideo | |
// | |
// Created by nevyn Bengtsson on 2016-02-19. | |
// Copyright © 2016 Lookback. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <CoreMedia/CoreMedia.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
(lldb) po _webView | |
<WKWebView: 0x6080001a24c0> | |
(lldb) po [_webView subviews] | |
<__NSArrayM 0x6000002426a0>( | |
<WKView: 0x608000140bb0> | |
) | |
(lldb) po [[[_webView subviews] firstObject] subviews] |
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> | |
/// Retrieve version number of this library, roughly as outputted by git describe | |
extern NSString *GFGetVersion(void); |
NewerOlder