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
using System.Collections.Generic; | |
using MonoTouch.Foundation; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.UIKit; | |
namespace iOSLib | |
{ | |
public static class ViewExtensions | |
{ | |
static Dictionary<UIView, Dictionary<UISwipeGestureRecognizerDirection, SwipeClass>> |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace ColorControl { | |
// The UIApplicationDelegate for the application. This class is responsible for launching the | |
// User Interface of the application, as well as listening (and optionally responding) to |
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
public void sendTweet(string updateText) | |
{ | |
ACAccountStore account = new ACAccountStore(); | |
var accountType = account.FindAccountType(ACAccountType.Twitter); | |
account.RequestAccess(accountType,(granted,NSError)=> { | |
if(!granted) | |
return; | |
var arrayOfAccounts = account.FindAccounts(accountType); | |
if(arrayOfAccounts != null && arrayOfAccounts.Length == 0) |
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
/* ReaderJSController.originalArticleFinder(): */ | |
{ | |
"contentDocument": [object HTMLDocument], | |
"didSearchForArticleNode": true, | |
"article": [object Object], | |
"didSearchForPrependedArticleNode": true, | |
"prependedArticle": null, | |
"_cachedScrollY": 0, | |
"_cachedScrollX": 0, | |
"_elementsWithCachedBoundingRects": [object HTMLDivElement], |
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
using System; | |
using MonoTouch.UIKit; | |
using System.Drawing; | |
using MonoTouch.AudioToolbox; | |
namespace GoogleMusic | |
{ | |
public class LevelMeter : UIView | |
{ | |
public AudioQueueLevelMeterState[] AudioLevelState {get;set;} |
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
using System; | |
using System.Collections.Generic; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.IO; | |
public class StateManager | |
{ | |
public StateManager () | |
{ | |
} |
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
embedded.mobileprovision |
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
using System; | |
using ClanceysLib; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using System.Threading; | |
using MonoTouch.ObjCRuntime; | |
using System.Drawing; | |
using MonoTouch.CoreGraphics; | |
using System.Linq; | |
namespace Collaborate |
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
public static UIImage ScaleImage(UIImage image, int maxSize) | |
{ | |
UIImage res; | |
using (CGImage imageRef = image.CGImage) | |
{ | |
CGImageAlphaInfo alphaInfo = imageRef.AlphaInfo; | |
CGColorSpace colorSpaceInfo = CGColorSpace.CreateDeviceRGB(); | |
if (alphaInfo == CGImageAlphaInfo.None) |
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
using System; | |
using ClanceysLib; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using System.Threading; | |
using MonoTouch.ObjCRuntime; | |
using System.Drawing; | |
using MonoTouch.CoreGraphics; | |
using System.Linq; | |
namespace Collaborate |