View TimePicker24HRenderer.cs
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
using PersonalTrainer.iOS.View.Controls; | |
[assembly: ExportRenderer (typeof (TimePicker), typeof (TimePicker24HRenderer))] | |
namespace YourNamespace.iOS.View.Controls { | |
public class TimePicker24HRenderer : TimePickerRenderer { |
View UIView+GetColor.swift
// | |
// UIView+GetColor.swift | |
// SwiftPick | |
// | |
// Created by Maciej Banasiewicz, Michał Apanowicz on 06/07/14. | |
// | |
// | |
import UIKit |
View PSPDFUIKitMainThreadGuard.m
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
View podforceupdate.sh
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
View background_demo.js
/* Kosso : March 12th 2011 | |
This the only way I managed to do this without the app crashing on resume. | |
Done slightly differently to the KS example, since they unregister the service and | |
do not use a setInterval timer. | |
*/ | |
//############ in app.js : | |
// test for iOS 4+ |