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
// | |
// Created by georgecook on 13/05/2012. | |
// | |
// To change the template use AppCode | Preferences | File Templates. | |
// | |
#import "TTStarView.h" | |
#import "UIView+FrameAdditions.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
@interface OVChannelViewController : UIViewController <OVChannelManagerDelegate, UITableViewDataSource, UITableViewDelegate> | |
@property (strong, nonatomic) NSArray *channels; | |
@property (strong, nonatomic) UITableView *tableView; | |
@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
////////////////////////////////////////////////////////////// | |
#pragma mark video layer initialization | |
////////////////////////////////////////////////////////////// | |
- (void)initializePlayer { | |
[self cleanup:YES]; | |
if (!self.player) { | |
self.player = [[AVPlayer alloc] init]; | |
[self.layer setMasksToBounds: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
- (void)setPosition:(CGPoint)position { | |
if (self.isInPlasma){ | |
_CCSpriteSetPositionMethod = class_getInstanceMethod([CCSprite class], @selector(setPosition:)); | |
((void(*)(id, SEL, CGPoint))_CCSpriteSetPositionMethod)(self, @selector(setPosition:), ccp(position.x, position.y- 100)); | |
} else { | |
super.position = position; | |
} | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
using System; | |
using Xamarin.Forms; | |
namespace TwinEvents.Core.Media.View | |
{ | |
public class FastCell : ViewCell | |
{ | |
} | |
} |
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
using System; | |
using Xamarin.Forms; | |
using System.Windows.Input; | |
using System.Collections.Generic; | |
using System.Runtime.CompilerServices; | |
using System.ComponentModel; | |
using System.Threading.Tasks; | |
[assembly: | |
InternalsVisibleTo ("TwinTechsLib.iOS"), |
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
/*********************************************** | |
* Copyright ? Far-Flung Creations Ltd. | |
* Author: Marius George | |
* Date: 25 October 2017 | |
* Email: [email protected] | |
* DISCLAIMER: THE SOURCE CODE IN THIS FILE IS PROVIDED ?AS IS? AND ANY EXPRESS OR IMPLIED WARRANTIES, | |
* INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | |
* IN NO EVENT SHALL FAR-FLUNG CREATIONS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | |
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) SUSTAINED BY YOU OR A THIRD |
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 { SigningClient } from './signing-client'; | |
const awsVars = { | |
awsAccessKey: process.env.AWS_KEY_ID, | |
awsSecretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, | |
s3BucketName: process.env.S3_BUCKET_NAME, | |
awsRegion: process.env.AWS_REGION, | |
assetsHost: process.env.ASSETS_HOST, | |
zappToken: process.env.ZAPP_TOKEN, | |
zappPath: 'zapp' |
OlderNewer