OfficeDev / Office-365-SDK-for-iOS

Microsoft Services SDKs for iOS Preview produced by MS Open Tech.
https://dev.office.com/
Other
96 stars 49 forks source link

Make O365 SDK enums Swift friendly #21

Closed ghost closed 10 years ago

ghost commented 10 years ago

Use NS_ENUM to declare the enums ( https://developer.apple.com/library/ios/documentation/swift/conceptual/buildingcocoaapps/InteractingWithCAPIs.html ).

We ran into trouble with MSOutlookContentType and "@property MSOutlookBodyType *ContentType;" in MSOutlookItemBody. You probably don't want that to be a pointer anyway, but the enums should also be declared with NS_ENUM.

greathansen commented 10 years ago

Fixed v0.6.0