New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift 3 Support is missing ? #26
Comments
Hi @YHSX88. The master branch actually support swift 2.3. If you need swift 3.0, you have to use this https://github.com/Codeido/PMAlertController/tree/swift3 You can use it via cocoapods:
|
Hi Codeido [!] Invalid |
Ops, try again now, I modified the string of my previous comment. |
Porting to swift 3 is not yet 100% complete. |
Thank you, and you know sorry for this but in the description is saying Support of Swift 2.3 and 3 Thank you in advance. |
Hi @YHSX88, try now. Thanks |
And this is the podfile text platform :ios, '9.0' target 'PM_SW3' do pod 'PMAlertController', :git => 'https://github.com/Codeido/PMAlertController', :branch => 'swift3' end |
I think that another reason can be the settings of Cocoapods (i tryed now the library on another project and is working). Try to insert in your podfile this:
|
Anyway thanks a lot :) |
Excellent 👍 Thanks for your contribution @YHSX88 ;) |
Aaah just to ask you, for anybody out there when do you plan to move swift 3 on the master branch ? |
Barring unforeseen circumstances, tomorrow, and i want to integrate this #15 as a new feature. |
Great :) |
The new version compatible with Swift 3 is now on master branch and is available on cocoapods. |
Hi thanks for this ! I just tried to install via podfile -> pod 'PMAlertController' then I tried to get it from the master and I got it like you said:
Then it gave me many errors like 64 in count, but I just recompiled and it is working JUST FINE now. This is for anybody out there. |
Hi
I love the library but I don't think it has Swift 3 support as Xcode 8 is telling me that I need to do a lot of changes.
for example:
//MARK: - Customizations
@objc private func setShadowAlertView(){
alertView.layer.masksToBounds = false
alertView.layer.shadowOffset = CGMake(0,0) and should be CGSize(width: 0, height: 0)
alertView.layer.shadowRadius = 8
alertView.layer.shadowOpacity = 0.3
}
What I'm missing ?
The text was updated successfully, but these errors were encountered: