This file contains hidden or 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
// | |
// RxSample.swift | |
// Rx Sample | |
// | |
// Created by Svetoslav on 2018/12/5. | |
// Copyright © 2018. All rights reserved. | |
// | |
import UIKit | |
import Model |
This file contains hidden or 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
<ion-content no-padding> | |
<div id="color-display-container" [ngStyle]="{'background-color': colorCode}"></div> | |
<ion-item> | |
<ion-input [(ngModel)]="rgbtxt" placeholder="Enter RGB color(e.g. 25;50;75)"></ion-input> | |
<ion-button clear item-right (click)="getRGB()">Apply RGB</ion-button> | |
</ion-item> | |
<ion-item style="margin-bottom: 5vh;"> | |
<ion-range (ngModelChange)="rChange($event)" [(ngModel)]="R" class="range" |
This file contains hidden or 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
// | |
// BookingViewController.swift | |
// Bagation | |
// | |
// Created by Bohdan on 09/02/18. | |
// Copyright © 2018 IOSAppExpertise. All rights reserved. | |
// | |
import UIKit | |
import Stripe | |
import UserNotifications |
This file contains hidden or 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 * as React from "react"; | |
import { | |
Container, | |
Header, | |
Title, | |
Content, | |
Text, | |
Button, | |
Icon, | |
Left, |
This file contains hidden or 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 * as React from "react"; | |
import { Container, Header, Title, Content, Text, Button, Icon, Left, Right, Body, View } from "native-base"; | |
import { Alert } from "react-native"; | |
import styles from "./styles"; | |
import { Item } from "../../../store/DomainStore/ReviewsStore"; | |
export interface Props { | |
navigation: any; | |
form: any; | |
onSubmit: Function; | |
onRemove: Function; |
This file contains hidden or 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 ZDCChatAPI | |
struct ChatControllerDelegate: ChatViewControllerDelegate { | |
weak var client: APIClient? | |
func chatController(_ chatController: ChatViewController, sendMessage message: String) { | |
client?.sendMessage(message) | |
} | |
func chatController(_ chatController: ChatViewController, didSelectImage image: UIImage) { |
This file contains hidden or 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 ZDCChatAPI | |
/** | |
Converts ZDCChatEvent to ChatItem for use by the UI | |
*/ | |
extension ZDCChatEvent { | |
var chatItem: ChatUIEvent { | |
let date = Date.init(timeIntervalSince1970: self.timestamp.doubleValue / 1000.0) | |
let url = self.attachment?.url == nil ? nil : URL(string: self.attachment.url) |
This file contains hidden or 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
cmake_minimum_required(VERSION 3.6) | |
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pedantic" ) | |
#test for ANDROID and look for stuff not relevant to android. | |
if(NOT ANDROID) | |
#jni is available by default on android | |
find_package(JNI REQUIRED) | |
include_directories(${JNI_INCLUDE_DIRS}) | |
endif() |
This file contains hidden or 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
$base-color: #e5e5e5; | |
$icon-color: #999; | |
$text-color: #333; | |
$highlight-color: #04a4cc; | |
$notification-color: #d64e07; | |
$body-background: #f5f5f5; | |
$menu-highlight-text: #fff; | |
$menu-highlight-icon: #ccc; |