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
/// LineaSDK.cs | |
using System; | |
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.UIKit; | |
namespace LineaSDK | |
{ |
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
////// Linea.cs | |
using System; | |
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.UIKit; | |
using MonoTouch.ExternalAccessory; | |
namespace LineaSDK |
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
Building: ClubTix (Debug|iPhone) | |
Building Solution ClubTix | |
Building: ClubTix (Debug|iPhone) | |
Detecting signing identity... | |
Provisioning profile: "Team Provisioning Profile: *" (16381EFB-2C1D-4F12-994F-42770FF2E221) | |
Signing Identity: "iPhone Developer: Eduardo Scoz (K8WCCTQ997)" | |
App ID: "NPV7Z3H224.1.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 MonoTouch.Foundation; | |
using System.Collections.Generic; | |
using MonoTouch.UIKit; | |
namespace ESCOZ | |
{ | |
public class EscozUrlConnection:NSUrlConnection { | |
private static Dictionary<string, EscozUrlConnection> Connections = new Dictionary<string, EscozUrlConnection>(); |
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
// stupid unless keyword for C# | |
// lets say I want to print items if they're are not editable: | |
// you can do: | |
foreach (var i in items) { | |
if (!i.editable) print(i); | |
} | |
// or |
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 System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
namespace Sample | |
{ | |
public class ActionSheetView : UIActionSheet | |
{ |
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
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
UIBarButtonItem *item = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSave target:self action:@selector(onSave)]; | |
item.enabled = NO; | |
NSLog(@"%@", item); // OBJ is NOT nil here. | |
self.navigationItem.rightBarButtonItem = item; | |
} |
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
// loads json files directly from couchdb, and syncs to data also in couch. | |
#import "QRootElement+CouchDocument.h" | |
#import "App.h" | |
#import <CouchCocoa/CouchCocoa.h> | |
@implementation QRootElement (CouchDocument) |