practicalswift
9a8bbe0014
[gardening] Fix recently introduced typos.
2016-07-07 13:14:25 +02:00
Tony Parker
b5db69ff24
Add a fix-it for bytes/mutableBytes, to help migrate from NSData to
...
struct Data.
<rdar://problem/26246299> Missing fixit for Data.bytes
2016-07-06 16:45:46 -07:00
Tony Parker
29baf4818d
Add RangeReplaceableCollection conformance to struct Data.
...
This also addresses a TODO in the code, now that we can access the base
of a slice.
2016-07-06 16:05:25 -07:00
practicalswift
e78e7e4c3c
[gardening] Fix recently introduced typos.
2016-06-23 16:42:48 +02:00
Philippe Hausler
c1ab18e3e7
[gardening] add .self to recent changes for struct Data
2016-06-22 13:11:11 -07:00
Tony Parker
7c0910a2ec
Address review feedback
2016-06-22 09:55:59 -07:00
swift-ci
bd2091fd85
Merge pull request #3098 from austinzheng/az-gardening
2016-06-21 11:03:27 -07:00
Tony Parker
11e85d73a4
Add a new set of initializers to Data to aid efficiency and clarity when wrapping NSData.
...
addresses:
rdar://problem/26385078 Data() really needs a init(length:) and replaceBytes(in:withBytes:)
rdar://problem/26508250 Add more specific init method to Data to indicate keeping a ref type
2016-06-21 10:42:31 -07:00
Austin Zheng
6d385b80ed
[gardening] Adding .self suffixes to suppress warnings
2016-06-20 21:46:13 -07:00
Ollie Hayman
bf92f0c983
Corrected initialiser to use Base64DecodingOptions
...
Initialising with a base64 encoded string was using Base64EncodingOptions rather than Base64DecodingOptions - this means strings with unknown characters cannot be decoded properly as the .ignoreUnknownCharacters option is unavailable
2016-06-15 23:00:03 +01:00
Mishal Shah
87b7bcfd3e
Update master to build with Xcode 8 beta 1, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs.
2016-06-14 14:53:55 -07:00