Skip to content

Commit

Permalink
update to swift 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Usbergo committed May 11, 2017
1 parent 7925137 commit 3f7f4ac
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 189 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <img src="docs/logo.png" width="431" alt="Buffer" />

[![Swift](https://img.shields.io/badge/swift-3-orange.svg?style=flat)](#)
[![Swift](https://img.shields.io/badge/swift-3.1-orange.svg?style=flat)](#)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Platform](https://img.shields.io/badge/platform-ios|macos|tvos|watchos-lightgrey.svg?style=flat)](#)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://opensource.org/licenses/MIT)
Expand Down
Binary file modified bin/Buffer.framework.dSYM/Contents/Resources/DWARF/Buffer
Binary file not shown.
Binary file modified bin/Buffer.framework/Buffer
Binary file not shown.
19 changes: 18 additions & 1 deletion bin/Buffer.framework/Headers/Buffer-Swift.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
// Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
#pragma clang diagnostic push

#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
Expand Down Expand Up @@ -68,6 +68,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_NOESCAPE
#endif
#if defined(__has_attribute) && __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
Expand Down Expand Up @@ -114,6 +119,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if defined(__has_feature) && __has_feature(modules)
@import UIKit;
#endif
Expand Down
Binary file modified bin/Buffer.framework/Info.plist
Binary file not shown.
Binary file modified bin/Buffer.framework/Modules/Buffer.swiftmodule/arm.swiftdoc
Binary file not shown.
Binary file modified bin/Buffer.framework/Modules/Buffer.swiftmodule/arm.swiftmodule
Binary file not shown.
Binary file modified bin/Buffer.framework/Modules/Buffer.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified bin/Buffer.framework/Modules/Buffer.swiftmodule/i386.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified bin/Buffer.framework/Modules/Buffer.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified samples/BufferDemo/Buffer.framework/Buffer
Binary file not shown.
24 changes: 23 additions & 1 deletion samples/BufferDemo/Buffer.framework/Headers/Buffer-Swift.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38)
// Generated by Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
#pragma clang diagnostic push

#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
Expand Down Expand Up @@ -63,6 +63,16 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_METHOD_FAMILY(X)
#endif
#if defined(__has_attribute) && __has_attribute(noescape)
# define SWIFT_NOESCAPE __attribute__((noescape))
#else
# define SWIFT_NOESCAPE
#endif
#if defined(__has_attribute) && __has_attribute(warn_unused_result)
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else
# define SWIFT_WARN_UNUSED_RESULT
#endif
#if !defined(SWIFT_CLASS_EXTRA)
# define SWIFT_CLASS_EXTRA
#endif
Expand Down Expand Up @@ -109,6 +119,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#if !defined(SWIFT_UNAVAILABLE)
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
#endif
#if !defined(SWIFT_UNAVAILABLE_MSG)
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
#endif
#if !defined(SWIFT_AVAILABILITY)
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
#endif
#if !defined(SWIFT_DEPRECATED)
# define SWIFT_DEPRECATED __attribute__((deprecated))
#endif
#if !defined(SWIFT_DEPRECATED_MSG)
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
#endif
#if defined(__has_feature) && __has_feature(modules)
@import UIKit;
#endif
Expand Down
Binary file modified samples/BufferDemo/Buffer.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
186 changes: 0 additions & 186 deletions samples/BufferDemo/Buffer.framework/_CodeSignature/CodeResources

This file was deleted.

0 comments on commit 3f7f4ac

Please sign in to comment.