scottkawai / sendgrid-swift

A library that allows you to quickly and easily send emails through SendGrid using Swift.
MIT License
56 stars 23 forks source link

Xcode 8 GM Swift 2.3 Compilation errors #4

Closed digidhamu closed 8 years ago

digidhamu commented 8 years ago

When use Xcode 8 GM Swift 2.3, I am getting below 3 errors but I can correct 2 error myself. I request your advise on this.

pod entry pod 'SendGrid', :git => 'https://github.com/scottkawai/sendgrid-swift.git'

Error .../Pods/SendGrid/Sources/Classes/APIV3.swift:73:49: Value of optional type 'String?' not unwrapped; did you mean to use '!' or '?'?

.../Pods/SendGrid/Sources/Classes/APIV3.swift:45:99: '.dynamicType' is deprecated. Use 'type(of: ...)' instead

.../Pods/SendGrid/Sources/Classes/APIV3.swift:73:17: Expected 'let' in conditional

digidhamu commented 8 years ago

This issue can be closed as Xcode automatically provided the fix