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 System.Net; | |
using MonoTouch.SystemConfiguration; | |
using MonoTouch.CoreFoundation; | |
public enum NetworkStatus { | |
NotReachable, | |
ReachableViaCarrierDataNetwork, | |
ReachableViaWiFiNetwork |
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 <UIKit/UIKit.h> | |
@interface UIButton (TCCustomFont) | |
@property (nonatomic, copy) NSString* fontName; | |
@end | |
@implementation UIButton (TCCustomFont) | |
- (NSString *)fontName { | |
return self.titleLabel.font.fontName; |
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 Foundation; | |
using UIKit; | |
using TwinCoders.TouchUtils.Extensions; | |
using CoreGraphics; | |
namespace SalesForce.Touch.Views | |
{ | |
public abstract partial class ParentViewController | |
{ |
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
// | |
// TCHorizontalSelectorView.m | |
// TwinCodersLibrary | |
// | |
// Created by Guillermo Gutiérrez on 16/01/13. | |
// Copyright (c) 2013 TwinCoders S.L. All rights reserved. | |
// | |
#import <UIKit/UIKit.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
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; |
NewerOlder