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

Swift and Obj-C Discrepancy? #41

Closed
yuentung19 opened this issue Feb 5, 2017 · 4 comments
Closed

Swift and Obj-C Discrepancy? #41

yuentung19 opened this issue Feb 5, 2017 · 4 comments

Comments

@yuentung19
Copy link

I'm working on an iOS app in Swift 3 and I'd like to get the MTMathUILabel and MTEditableMathLabel (from MathEditor) to display Matrices. I tried following the EXAMPLES.md file and even your example ViewController.m. When I set label.latex to be a "\begin{pmatrix} a & b\\ c & d \end{pmatrix}", I always just get "invalid command begin" on my label.

Since it works well in your example app, I'm wondering if this is caused by the fact I'm programming in swift. If not, looking for any advice to make this work. Thank you!

@yuentung19
Copy link
Author

Just realized that this was caused by me having an old version of iosMath. I needed version 0.9.0 while MathEditor needs version 0.7.3

@kostub
Copy link
Owner

kostub commented Feb 8, 2017

Yes, I need to update the MathEditor to use the latest version.

@yuentung19
Copy link
Author

Is this something you're working on now?

If not, is there a way I can include both versions (0.9.0 and 0.7.3) in my xcode project?

@kostub
Copy link
Owner

kostub commented Feb 9, 2017

I updated the MathEditor project to use the latest version.

@kostub kostub closed this as completed Feb 9, 2017
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

2 participants