Comments (6)
Thanks Nick. I have no clue about this iOS jazz :) I'll see if Walker can
fix that
On Mon, Sep 26, 2016, 8:59 AM Nick Iliev [email protected] wrote:
The pod file MaterialCard https://github.com/NathanWalker/MaterialCard
should be converted to SWIFT 3.0 and updated on the CocoaPods site in order
for this plugin to work with XCode 8.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhBbAXjlairUN5KLi_4CAtJsAd5liks5qt8-0gaJpZM4KCpcK
.
from nativescript-cardview.
I was able to locally convert ti to Swift 3.0 and apply it to my test project the following way.
- Open the Pod in XCode 8 ( _Pods.xcodeproj file )
- Convert to Swift 3.0 (will prompt right away or Edit > Convert >> To Currrent Swift Syntax)
Now to apply the converted pod I had to add this in the plugin Podfile
pod 'MaterialCard', :local => "/Users/niliev/Desktop/test/MaterialCard" // I've changed this only to use my local coverted pod
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
Still I am not pretty sure if this way will have backwards compatibility or maybe there is a most human way to force convertion
from nativescript-cardview.
The pod file MaterialCard should be converted to SWIFT 3.0 and updated on the CocoaPods site in order for this plugin to work with XCode 8.
from nativescript-cardview.
@NathanWalker ^^^
from nativescript-cardview.
as a workaround you can add this to app/AppResources/iOS/build.xconfig
:
...
SWIFT_VERSION = 2.3
from nativescript-cardview.
closes via #31
Published Swift 3.0 compatibility with 1.2.0
👍
from nativescript-cardview.
Related Issues (20)
- Card not working in Tabview in Nativescript-vue HOT 1
- minimum android sdk version HOT 2
- How to get rid of whitespaces ios
- Cardview radius working differently for big screen resolutions HOT 1
- Cannot read property 'obtainStyledAttributes' of undefined HOT 1
- Feat: Add new android shadow color properties HOT 2
- No Shadow/Elevation Android API 28
- Tap event stops working after orientation change or navigation HOT 1
- How to import CardView in a module HOT 1
- How to get height of CardView element?
- CardView shadow multiplying issue on Android HOT 11
- Not able to migrate app to nativescript 6 which supports only webPack work flow. HOT 3
- Radius is not working on iOS HOT 4
- Nativescript Vue instructions are wrong HOT 1
- Support for tns-core-modules > 6.2
- iOS Issue: No border box and show wrongly applied HOT 3
- App crashes after update HOT 2
- Release/document 2.0.1
- Disable Object is Cardview HOT 1
- Pressed item look HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-cardview.