Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the issue of sensitivity selecting date #192

Open
wants to merge 2 commits into from

3 participants

@akrambek

Fix the issue of sensitivity selecting date

@zgramana zgramana was assigned by dalexsoto
@dalexsoto
Collaborator

@zgramana would you mind reviewing this? Pretty Please?

Thanks!

@akrambek

I fixed the issue by changing UIControlEventTouchDown to UIControlEventTouchUpInside of selectedDate button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 18, 2013
  1. @zgramana
Commits on Oct 29, 2013
  1. @zgramana
This page is out of date. Refresh to see the latest.
View
52 Couchbase/binding/ApiDefinition.cs
@@ -48,7 +48,9 @@ public partial interface Attachment {
Revision UpdateBody (NSData body, string contentType, out NSError outError);
}
- [BaseType (typeof (NSObject), Name = "CBLViewCompiler")]
+ //public interface IViewCompiler { }
+
+ [Protocol, BaseType (typeof (NSObject), Name = "CBLViewCompiler")]
public partial interface ViewCompiler {
[Export ("compileMapFunction:language:")]
@@ -101,7 +103,9 @@ public partial interface View {
ViewCompiler Compiler { get; set; }
}
- [BaseType (typeof (NSObject), Name = "CBLFilterCompiler")]
+ //public interface IFilterCompiler { }
+
+ [Protocol, BaseType (typeof (NSObject), Name = "CBLFilterCompiler")]
public partial interface FilterCompiler {
[Export ("compileFilterFunction:language:")]
@@ -258,13 +262,13 @@ public partial interface Document {
Revision RevisionWithID (string revisionID);
[Export ("getRevisionHistory:")]
- Revision [] GetRevisionHistory (out NSError outError);
+ Revision [] GetRevisionHistory (out NSError outError);
[Export ("getConflictingRevisions:")]
- Revision [] GetConflictingRevisions (out NSError outError);
+ Revision [] GetConflictingRevisions (out NSError outError);
[Export ("getLeafRevisions:")]
- Revision [] GetLeafRevisions (out NSError outError);
+ Revision [] GetLeafRevisions (out NSError outError);
[Export ("newRevision")]
NewRevision NewRevision { get; }
@@ -288,7 +292,9 @@ public partial interface Document {
NSObject ModelObject { get; set; }
}
- [BaseType (typeof (NSObject), Name = "CBLDocumentModel")]
+ //public interface IDocumentModel {}
+
+ [Protocol, BaseType (typeof (NSObject), Name = "CBLDocumentModel")]
public partial interface DocumentModel {
[Export ("tdDocumentChanged:")]
@@ -421,12 +427,6 @@ public partial interface Model : DocumentModel {
[Export ("markExternallyChanged")]
void MarkExternallyChanged ();
- [Export ("getValueOfProperty:")]
- NSObject GetValueOfProperty (string property);
-
- [Export ("setValue:ofProperty:")]
- bool SetValue (NSObject value, string property);
-
[Export ("attachmentNames")]
NSString [] AttachmentNames { get; }
@@ -575,9 +575,6 @@ public partial interface LiveQuery {
[Export ("stop")]
void Stop ();
-
- [Export ("rows", ArgumentSemantic.Retain)]
- QueryEnumerator Rows { get; }
}
[BaseType (typeof (NSEnumerator), Name = "CBLQueryEnumerator")]
@@ -729,7 +726,7 @@ public partial interface Replication {
[Export ("total")]
uint Total { get; }
- [Notification, Field ("kCBLReplicationChangeNotification", "__Internal")]
+ [Notification, Field ("kCBLReplicationChangeNotification", "__Internal")]
NSString ReplicationChangeNotification { get; }
}
@@ -792,15 +789,6 @@ public partial interface Revision {
[BaseType (typeof (RevisionBase), Name = "CBLNewRevision")]
public partial interface NewRevision {
- [Export ("isDeleted")]
- bool IsDeleted { get; set; }
-
- [Export ("properties", ArgumentSemantic.Copy)]
- NSMutableDictionary Properties { get; set; }
-
- [Export ("userProperties", ArgumentSemantic.Copy)]
- NSDictionary UserProperties { get; }
-
[Export ("setObject:forKeyedSubscript:")]
void SetObject (NSObject value, string key);
@@ -820,6 +808,8 @@ public partial interface NewRevision {
void RemoveAttachmentNamed (string name);
}
+ //public interface IUIDataSourceModelAssociation { }
+
[Protocol, BaseType (typeof (NSObject))]
public partial interface UIDataSourceModelAssociation
{
@@ -830,7 +820,9 @@ public partial interface UIDataSourceModelAssociation
string ModelIdForElementInView(NSIndexPath id, UIView view);
}
- [BaseType (typeof (NSObject))]
+ //public interface ICBLUICollectionSource {}
+
+ [Protocol, BaseType (typeof (NSObject))]
public partial interface CBLUICollectionSource : UIDataSourceModelAssociation {
[Export ("collectionView", ArgumentSemantic.Retain)]
@@ -858,7 +850,7 @@ public partial interface CBLUICollectionSource : UIDataSourceModelAssociation {
Document DocumentAtIndexPath (NSIndexPath path);
[Export ("deleteDocumentsAtIndexes:error:")]
- bool DeleteDocumentsAtIndexes (NSIndexPath [] indexPaths, out NSError outError);
+ bool DeleteDocumentsAtIndexes (NSIndexPath [] indexPaths, out NSError outError);
[Export ("deleteDocuments:error:")]
bool DeleteDocuments (Document [] documents, out NSError outError);
@@ -880,6 +872,8 @@ public partial interface CBLCollectionDelegate {
void WillUseCell (CBLUICollectionSource source, UICollectionViewCell cell, QueryRow row);
}
+ //public partial interface ICBLUITableSource {}
+
[BaseType (typeof (NSObject))]
public partial interface CBLUITableSource : UIDataSourceModelAssociation {
@@ -920,7 +914,9 @@ public partial interface CBLUITableSource : UIDataSourceModelAssociation {
bool DeleteDocuments (Document [] documents, out NSError outError);
}
- [Model, BaseType(typeof (UITableViewDelegate))]
+ public interface ICBLUITableDelegate : IUITableViewDelegate {}
+
+ [Protocol, Model, BaseType(typeof (UITableViewDelegate))]
public partial interface CBLUITableDelegate {
[Export ("couchTableSource:cellForRowAtIndexPath:")]
View
10 Couchbase/samples/CouchbaseSample.iOS/CouchbaseSample.iOS.csproj
@@ -23,9 +23,11 @@
<MtouchLink>None</MtouchLink>
<ConsolePause>false</ConsolePause>
<MtouchDebug>true</MtouchDebug>
- <MtouchI18n />
+ <MtouchI18n>
+ </MtouchI18n>
<MtouchArch>ARMv7s</MtouchArch>
<MtouchSdkVersion>7.0</MtouchSdkVersion>
+ <MtouchExtraArgs>--registrar:static</MtouchExtraArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>full</DebugType>
@@ -47,8 +49,10 @@
<MtouchDebug>true</MtouchDebug>
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
- <IpaPackageName />
- <MtouchI18n />
+ <IpaPackageName>
+ </IpaPackageName>
+ <MtouchI18n>
+ </MtouchI18n>
<MtouchArch>ARMv7</MtouchArch>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
View
2  Couchbase/samples/CouchbaseSample.iOS/RootViewController.cs
@@ -148,6 +148,7 @@ void InitializeCouchbaseView ()
void InitializeCouchbaseSummaryView ()
{
+
var view = Database.ViewNamed ("Done");
var mapBlock = new MapBlock ((doc, emit) => {
@@ -171,6 +172,7 @@ void InitializeCouchbaseSummaryView ()
});
view.SetMapBlock (mapBlock, reduceBlock, "1.1");
+
}
void InitializeDatasource ()
Something went wrong with that request. Please try again.