瀏覽代碼

Reorganize folders layout to satisfy Swift Package Manager and Xcode at the same time

Marcin Krzyżanowski 10 年之前
父節點
當前提交
8430c7ba60
共有 44 個文件被更改,包括 403 次插入416 次删除
  1. 399 411
      CryptoSwift.xcodeproj/project.pbxproj
  2. 0 0
      Package.swift
  3. 0 0
      Sources/CryptoSwift.h
  4. 0 0
      Sources/CryptoSwift/AES.swift
  5. 0 0
      Sources/CryptoSwift/Array+Extension.swift
  6. 0 0
      Sources/CryptoSwift/ArraySliceUInt8+Bytes.swift
  7. 0 0
      Sources/CryptoSwift/Authenticator.swift
  8. 0 0
      Sources/CryptoSwift/BitExtension.swift
  9. 4 4
      Sources/CryptoSwift/BytesSequence.swift
  10. 0 0
      Sources/CryptoSwift/CRC.swift
  11. 0 0
      Sources/CryptoSwift/CSArrayType+Extensions.swift
  12. 0 0
      Sources/CryptoSwift/ChaCha20.swift
  13. 0 0
      Sources/CryptoSwift/Cipher.swift
  14. 0 0
      Sources/CryptoSwift/CipherBlockMode.swift
  15. 0 0
      Sources/CryptoSwift/Foundation/AES+Foundation.swift
  16. 0 0
      Sources/CryptoSwift/Foundation/ArrayUInt8+Foundation.swift
  17. 0 0
      Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift
  18. 0 0
      Sources/CryptoSwift/Foundation/NSData+Extension.swift
  19. 0 0
      Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift
  20. 0 0
      Sources/CryptoSwift/Foundation/String+FoundationExtension.swift
  21. 0 0
      Sources/CryptoSwift/Foundation/Utils+Foundation.swift
  22. 0 0
      Sources/CryptoSwift/Generics.swift
  23. 0 0
      Sources/CryptoSwift/HMAC.swift
  24. 0 0
      Sources/CryptoSwift/Hash.swift
  25. 0 0
      Sources/CryptoSwift/HashProtocol.swift
  26. 0 0
      Sources/CryptoSwift/Info.plist
  27. 0 0
      Sources/CryptoSwift/IntExtension.swift
  28. 0 0
      Sources/CryptoSwift/IntegerConvertible.swift
  29. 0 0
      Sources/CryptoSwift/MD5.swift
  30. 0 0
      Sources/CryptoSwift/Multiplatform.swift
  31. 0 0
      Sources/CryptoSwift/Operators.swift
  32. 0 0
      Sources/CryptoSwift/PKCS5.swift
  33. 0 0
      Sources/CryptoSwift/PKCS7.swift
  34. 0 0
      Sources/CryptoSwift/Padding.swift
  35. 0 0
      Sources/CryptoSwift/Poly1305.swift
  36. 0 0
      Sources/CryptoSwift/Rabbit.swift
  37. 0 0
      Sources/CryptoSwift/SHA1.swift
  38. 0 0
      Sources/CryptoSwift/SHA2.swift
  39. 0 0
      Sources/CryptoSwift/String+Extension.swift
  40. 0 0
      Sources/CryptoSwift/UInt32Extension.swift
  41. 0 0
      Sources/CryptoSwift/UInt64Extension.swift
  42. 0 0
      Sources/CryptoSwift/UInt8Extension.swift
  43. 0 0
      Sources/CryptoSwift/Utils.swift
  44. 0 1
      SwiftPackageManager/Sources/CryptoSwift

File diff suppressed because it is too large
+ 399 - 411
CryptoSwift.xcodeproj/project.pbxproj


+ 0 - 0
SwiftPackageManager/Package.swift → Package.swift


+ 0 - 0
CryptoSwift/CryptoSwift.h → Sources/CryptoSwift.h


+ 0 - 0
CryptoSwift/AES.swift → Sources/CryptoSwift/AES.swift


+ 0 - 0
CryptoSwift/Array+Extension.swift → Sources/CryptoSwift/Array+Extension.swift


+ 0 - 0
CryptoSwift/ArraySliceUInt8+Bytes.swift → Sources/CryptoSwift/ArraySliceUInt8+Bytes.swift


+ 0 - 0
CryptoSwift/Authenticator.swift → Sources/CryptoSwift/Authenticator.swift


+ 0 - 0
CryptoSwift/BitExtension.swift → Sources/CryptoSwift/BitExtension.swift


+ 4 - 4
CryptoSwift/BytesSequence.swift → Sources/CryptoSwift/BytesSequence.swift

@@ -8,11 +8,11 @@
 
 //TODO: func anyGenerator is renamed to AnyGenerator in Swift 2.2, until then it's just dirty hack for linux (because swift >= 2.2 is available for Linux)
 private func CS_AnyGenerator<Element>(body: () -> Element?) -> AnyGenerator<Element> {
-#if os(Linux)
+ #if os(Linux)
     return AnyGenerator(body: body)
-#else
-    return anyGenerator(body)
-#endif
+ #else
+     return anyGenerator(body)
+ #endif
 }
 
 struct BytesSequence: SequenceType {

+ 0 - 0
CryptoSwift/CRC.swift → Sources/CryptoSwift/CRC.swift


+ 0 - 0
CryptoSwift/CSArrayType+Extensions.swift → Sources/CryptoSwift/CSArrayType+Extensions.swift


+ 0 - 0
CryptoSwift/ChaCha20.swift → Sources/CryptoSwift/ChaCha20.swift


+ 0 - 0
CryptoSwift/Cipher.swift → Sources/CryptoSwift/Cipher.swift


+ 0 - 0
CryptoSwift/CipherBlockMode.swift → Sources/CryptoSwift/CipherBlockMode.swift


+ 0 - 0
CryptoSwift/Foundation/AES+Foundation.swift → Sources/CryptoSwift/Foundation/AES+Foundation.swift


+ 0 - 0
CryptoSwift/Foundation/ArrayUInt8+Foundation.swift → Sources/CryptoSwift/Foundation/ArrayUInt8+Foundation.swift


+ 0 - 0
CryptoSwift/Foundation/ChaCha20+Foundation.swift → Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift


+ 0 - 0
CryptoSwift/Foundation/NSData+Extension.swift → Sources/CryptoSwift/Foundation/NSData+Extension.swift


+ 0 - 0
CryptoSwift/Foundation/Rabbit+Foundation.swift → Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift


+ 0 - 0
CryptoSwift/Foundation/String+FoundationExtension.swift → Sources/CryptoSwift/Foundation/String+FoundationExtension.swift


+ 0 - 0
CryptoSwift/Foundation/Utils+Foundation.swift → Sources/CryptoSwift/Foundation/Utils+Foundation.swift


+ 0 - 0
CryptoSwift/Generics.swift → Sources/CryptoSwift/Generics.swift


+ 0 - 0
CryptoSwift/HMAC.swift → Sources/CryptoSwift/HMAC.swift


+ 0 - 0
CryptoSwift/Hash.swift → Sources/CryptoSwift/Hash.swift


+ 0 - 0
CryptoSwift/HashProtocol.swift → Sources/CryptoSwift/HashProtocol.swift


+ 0 - 0
CryptoSwift/Info.plist → Sources/CryptoSwift/Info.plist


+ 0 - 0
CryptoSwift/IntExtension.swift → Sources/CryptoSwift/IntExtension.swift


+ 0 - 0
CryptoSwift/IntegerConvertible.swift → Sources/CryptoSwift/IntegerConvertible.swift


+ 0 - 0
CryptoSwift/MD5.swift → Sources/CryptoSwift/MD5.swift


+ 0 - 0
CryptoSwift/Multiplatform.swift → Sources/CryptoSwift/Multiplatform.swift


+ 0 - 0
CryptoSwift/Operators.swift → Sources/CryptoSwift/Operators.swift


+ 0 - 0
CryptoSwift/PKCS5.swift → Sources/CryptoSwift/PKCS5.swift


+ 0 - 0
CryptoSwift/PKCS7.swift → Sources/CryptoSwift/PKCS7.swift


+ 0 - 0
CryptoSwift/Padding.swift → Sources/CryptoSwift/Padding.swift


+ 0 - 0
CryptoSwift/Poly1305.swift → Sources/CryptoSwift/Poly1305.swift


+ 0 - 0
CryptoSwift/Rabbit.swift → Sources/CryptoSwift/Rabbit.swift


+ 0 - 0
CryptoSwift/SHA1.swift → Sources/CryptoSwift/SHA1.swift


+ 0 - 0
CryptoSwift/SHA2.swift → Sources/CryptoSwift/SHA2.swift


+ 0 - 0
CryptoSwift/String+Extension.swift → Sources/CryptoSwift/String+Extension.swift


+ 0 - 0
CryptoSwift/UInt32Extension.swift → Sources/CryptoSwift/UInt32Extension.swift


+ 0 - 0
CryptoSwift/UInt64Extension.swift → Sources/CryptoSwift/UInt64Extension.swift


+ 0 - 0
CryptoSwift/UInt8Extension.swift → Sources/CryptoSwift/UInt8Extension.swift


+ 0 - 0
CryptoSwift/Utils.swift → Sources/CryptoSwift/Utils.swift


+ 0 - 1
SwiftPackageManager/Sources/CryptoSwift

@@ -1 +0,0 @@
-../../CryptoSwift

Some files were not shown because too many files changed in this diff