Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added new and cleaned up file types

  • Loading branch information...
commit b019ef90b8a91fe33a6b92d3a5ce626d43e8795a 1 parent 4c1c355
Alexander List alist authored
Showing with 17 additions and 1 deletion.
  1. +10 −0 libSwyp/swypFileTypeString.h
  2. +7 −1 libSwyp/swypFileTypeString.m
10 libSwyp/swypFileTypeString.h
View
@@ -66,6 +66,16 @@
+(id) swypContactFileType;
+
+/**
+ Specifies calendar events in swyp's special json format including an array of objects in 'events'.
+
+ MIME: "swyp/calendarEvents"
+ */
+
++(id) swypCalendarEventsFileType;
+
+
/**
Specifies a mapable address in swyp's special json format.
8 libSwyp/swypFileTypeString.m
View
@@ -38,10 +38,16 @@ +(id) textPlainFileType{
}
+(id) swypContactFileType{
- static NSString * type = @"text/contact";
+ static NSString * type = @"swyp/contact";
return type;
}
++(id) swypCalendarEventsFileType{
+ static NSString * type = @"swyp/calendarEvents";
+ return type;
+}
+
+
+(id) swypAddressFileType{
static NSString * type = @"text/address";
return type;
Please sign in to comment.
Something went wrong with that request. Please try again.