-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Cannot subscript a value of type '[String : AnyObject]' with an index of type 'NSAttributedStringKey' #2777
Comments
I found the same issue, and I think that's because the new swift 4 gramma. I changed the swift version from 4.0 to 3.2 in the build settings page, and that solves my problem |
Charts is not currently updated for Xcode 9 and Swift 4. This issue has already been resolved in the Swift 4 branch if you would like to see the solution. |
yes. Use swift 4 branch or migrate yourself. We are waiting for Xcode 9 final release to bump our code base. |
I am new here, Can you please show when I can find swift 4 branch? |
it's merged |
I just upgraded to XCode 9 and Swift 4. Charts won't build.
I unistalled the Pod and reinstalled to insure I had the most up to date branch. Please advise. |
Cannot subscript a value of type 'Dictionary<String, AnyObject?>' with an index of type 'Int' I am getting an error when handling json, Please help me to solve it?
|
@kiraninfogird This is not the appropriate forum for this. |
Thanks...!
…On Thu, Dec 14, 2017 at 7:52 PM, jjatie ***@***.***> wrote:
@kiraninfogird <https://github.com/kiraninfogird> This is not the
appropriate forum for this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2777 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMib4npUxyB7FjpIoL9gm5boruVrDBEtks5tAS89gaJpZM4PQvdT>
.
|
I am getting such errors when I convert to current swift version in Xcode 9 beta
Cannot subscript a value of type '[String : AnyObject]' with an index of type 'NSAttributedStringKey'
ChartViewBase.swift
attrs[NSAttributedStringKey.font] = description.font
attrs[NSAttributedStringKey.foregroundColor] = description.textColor
The text was updated successfully, but these errors were encountered: