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
// | |
// StoreReviewHelper.swift | |
// Template1 | |
// | |
// Created by Apple on 14/11/17. | |
// Copyright © 2017 Mobiotics. All rights reserved. | |
// | |
import Foundation | |
import StoreKit |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Untitled Document</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript" src="https://npmcdn.com/parse/dist/parse.min.js"></script> | |
<script> | |
Parse.initialize("518e0dbca14e73748f81e550e12deea515ff959e"); | |
Parse.serverURL = 'http://ec2-35-165-199-91.us-west-2.compute.amazonaws.com:80/parse'; |
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 UIKit | |
func randomColor(seed: String) -> UIColor { | |
var total: Int = 0 | |
for u in seed.unicodeScalars { | |
total += Int(UInt32(u)) | |
} | |