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
public class FeedStorage | |
{ | |
public FeedStorage() | |
{ | |
GroupStoryChildIdList = ""; | |
} | |
[PrimaryKey] | |
public string Id { get; set; } | |
public DateTime FeedItemDateTime { get; set; } | |
public string ItemType { get; set; } |
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
// Copyright (c) 2012 Daniel Grunwald | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
// software and associated documentation files (the "Software"), to deal in the Software | |
// without restriction, including without limitation the rights to use, copy, modify, merge, | |
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons | |
// to whom the Software is furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in all copies or | |
// substantial portions of the Software. |
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
var foo = UIDevice.CurrentDevice.UniqueIdentifier; | |
var bar = UDID (); | |
Console.WriteLine (foo + "////" + bar); | |
return true; | |
} | |
public string UDID() |
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
// | |
// iOS5EmbedSegue.h | |
// Created by Stephanie Sharp on 2/05/13. | |
// | |
#import <UIKit/UIKit.h> | |
@interface iOS5EmbedSegue : UIStoryboardSegue | |
@property (nonatomic, strong) UIView * containerView; |
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
// | |
// LoadingView.h | |
// Created by Stephanie Sharp on 26/05/13. | |
// | |
// http://www.sitepoint.com/all-purpose-loading-view-for-ios/ | |
// http://www.cocoawithlove.com/2009/04/showing-message-over-iphone-keyboard.html | |
#import <UIKit/UIKit.h> | |
@interface LoadingView : UIView |
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
{ | |
"491289025" : "ijinshan-kappmarket://", | |
"301521403" : "fb103361823069955://", | |
"492178411" : "ils492178411://", | |
"346142396" : "fb234434003713://", | |
"310633997" : "whatsapp://", | |
"370614765" : "com.condenet.newyorker://", | |
"325058491" : "rnmddisco://", | |
"382952264" : "epichttp://", | |
"477048487" : "predictwind://", |
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 Xamarin.Forms; | |
// Additional guidance: see http://vincenth.net/blog/archive/2014/11/27/how-to-share-xamarin-forms-data-binding-code-across-xamarin-sketches-and-apps-without-using-strings.aspx | |
// NOTE: Once support for creating classes is added to Xamarin Sketches, | |
// there is no need for this Tuple + enum + BindName + regular expression workaround; | |
// you can then simply create design data classes in the Sketch and bind to that using | |
// the same syntax in both projects and sketches, e.g.: | |
// SetBinding(..., (Person boundPerson) => boundPerson.Name) | |
// BindName helper function for use with binding to design data in Sketches. |
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.Dialog; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
namespace MTDialogViewControllerTest | |
{ | |
public class CustomRootElement : RootElement | |
{ | |
public CustomRootElement (string caption, Group group) : base (caption, group) |
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
// NEW VERSION AVAILABLE: Check out my GitHub repository at | |
// https://github.com/letorbi/Jay for a new and improved version. | |
// Require() 0.3.4 unstable | |
// | |
// Copyright 2012,2013 Torben Haase <http://pixelsvsbytes.com/> | |
// | |
// Require() is free software: you can redistribute it and/or modify it under | |
// the terms of the GNU Lesser General Public License as published by the Free | |
// Software Foundation, either version 3 of the License, or (at your option) any |
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
#region Hide System.Object inherited methods | |
/// <summary> | |
/// Determines whether the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>. | |
/// </summary> | |
/// <returns> | |
/// true if the specified <see cref="T:System.Object"/> is equal to the current <see cref="T:System.Object"/>; otherwise, false. | |
/// </returns> | |
/// <param name="obj">The <see cref="T:System.Object"/> to compare with the current <see cref="T:System.Object"/>. </param><filterpriority>2</filterpriority> | |
[EditorBrowsable(EditorBrowsableState.Never)] |
OlderNewer