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
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/redent/Documents/workspace/MovieLend/MovieLend.Touch/obj/iPhone/Ad-Hoc/mtouch-cache" --nomanifest --nosign -dev "/Users/redent/Documents/workspace/MovieLend/MovieLend.Touch/bin/iPhone/Ad-Hoc/MovieLendTouch.app" -r "/Users/redent/Documents/workspace/MovieLend/MovieLend.Core/bin/Release/MovieLend.Core.dll" -r "/Users/redent/Documents/workspace/MovieLend/packages/MvvmCross.HotTuna.CrossCore.3.0.13/lib/MonoTouch40/Cirrious.CrossCore.dll" -r "/Users/redent/Documents/workspace/MovieLend/packages/MvvmCross.HotTuna.CrossCore.3.0.13/lib/MonoTouch40/Cirrious.CrossCore.Touch.dll" -r "/Users/redent/Documents/workspace/MovieLend/packages/MvvmCross.HotTuna.MvvmCrossLibraries.3.0.13/lib/MonoTouch40/Cirrious.MvvmCross.dll" -r "/Users/redent/Documents/workspace/MovieLend/packages/MvvmCross.HotTuna.CrossCore.3.0.13/lib/MonoTouch40/Cirrious.MvvmCross.Binding.dll" -r "/Users/redent/Documents/workspace/MovieLend/packages/Mvvm |
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
private readonly IMvxJsonConverter _converter; | |
public async Task<T> GetAsync<T>(string url, CancellationToken cancellationToken) where T : new() | |
{ | |
var client = new HttpClient(); | |
var response = await client.GetAsync(url, cancellationToken); | |
var responseString = await response.Content.ReadAsStringAsync(); | |
var result = _converter.DeserializeObject<T>(responseString); | |
return result; |
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 | |
import FutureKit | |
extension Future { | |
// Executes the block iff the future is successful and leaves the result immutable | |
public final func then(executor : Executor, block: T throws -> Void) -> Future<T> { | |
return onSuccess(executor) { (result: T) -> Completion<T> in | |
do { | |
try block(result) | |
return .Success(result) |
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 MonoTouch.UIKit; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using Cirrious.MvvmCross.Binding.ExtensionMethods; | |
namespace TwinCoders.MvvmCross.TouchUtils.TableViews | |
{ |
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 ObjCRuntime; | |
[assembly: LinkWith ("libMLPAutoCompleteTextFieldSDK.a", LinkTarget.Simulator | LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Arm64, Frameworks = "CoreGraphics", ForceLoad = true)] |
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
- (BOOL)shouldRegisterDeviceWithAlias:(NSString *)alias token:(NSString *)token { | |
return alias.length > 0; | |
} |
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 System.Drawing; | |
using MonoTouch.UIKit; | |
namespace TwinCoders.TouchUtils.CodeViews | |
{ | |
public abstract class CodeIcon : CodeImage | |
{ | |
public UIColor FillColor { get; set; } | |
public float WidthHeightProportion { get; private set; } |
NewerOlder