Skip to content
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

Trying to compile demo code,but tons of compiler errors #3

Closed
liuxuan30 opened this issue Mar 23, 2015 · 9 comments
Closed

Trying to compile demo code,but tons of compiler errors #3

liuxuan30 opened this issue Mar 23, 2015 · 9 comments

Comments

@liuxuan30
Copy link
Member

I just synced latest code and tries to run the demo, but I get tons of compiler errors. What configuration I need to set for compiling your demo code?

@danielgindi
Copy link
Collaborator

In the README it specifies Swift 1.2, Xcode 6.3

@liuxuan30
Copy link
Member Author

@danielgindi I do recommend you consider using Objective-C, not Swift.

@danielgindi
Copy link
Collaborator

Using ObjC for what?

On Tue, Mar 24, 2015 at 11:38 AM, Xuan notifications@github.com wrote:

@danielgindi https://github.com/danielgindi I do recommend you consider
using Objective-C, not Swift.


Reply to this email directly or view it on GitHub
#3 (comment)
.

@danielgindi
Copy link
Collaborator

And... What is your recommendation based on? :-)

Swift is a new language yes, and I chose to write the library in it. Nobody force my hand.

Swift has major performance gains, and is compatible with ObjC. Most of my libraries are written in ObjC so you can see I have nothing against it. Event the ChartsDemo project is written in ObjC.

So... ?

@wbish
Copy link

wbish commented Mar 27, 2015

It is unfortunate you are using the swift syntax introduced in Xcode 6.3 as it is still in beta. Any apps that actually want to use your library are SOL until 6.3 gets out of beta.

@danielgindi
Copy link
Collaborator

It's fine by me, as this library has only been online for a few days, and
should considered beta for at least a few days...

Anyway, Swift 1.2 is a must if you want to fully cooperate with ObjC.

@wbish
Copy link

wbish commented Mar 27, 2015

Sounds good. Thanks for your work -- looks cool and I look forward to using it in the future.

@emartynov
Copy link

I see a lot of warning like 'var' parameters are deprecated and will be removed in Swift 3. Can I somehow disable it?

@danielgindi
Copy link
Collaborator

You can try to compile the latest code - on the latest Xcode.

evgenButurlia pushed a commit to evgenButurlia/Charts that referenced this issue Apr 15, 2021
kscheff pushed a commit to kscheff/Charts that referenced this issue Jul 16, 2021
…ght_fails

Fixes 4647 edge case resulting in OOB
huy-ras pushed a commit to huy-ras/Charts that referenced this issue Feb 9, 2023
…ighted-when-touch-released

feat: add removeHighlightedWhenTouchReleased property to BarLineChartViewBase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants