Display Mathematics in swift [closed] - ios

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How do I display Mathematics in the iphone app that I am making in swift?
For example, I can use MathJax to display mathematics in wordpress, thus is there a program that I can import mathematics to use in swift or how else can I do that?
So far, mine is very simplistic.

If all you're after is a higher baseline for the exponent and a lower baseline for the subscripts, use NSAttributedString and NSBaselineOffsetAttributeName.
Or if you really like MathJax, you could use MathJax (and UIWebViews instead of UILabels).

Related

Detect hand using CIDetector [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is there any way to detect hand or palm using CIDetector? I have googled but only face detection is found, is there any way to do it? please help.
In iOS 8 you can detect QR codes and rectangles too, but alas, not hands or palms.

Direct2D and custom shaped window [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Does Direct2D support custom shaped windows? Say, drawing a circle over all other windows. If yes, could anyone give a link to an article or sample of such technique? Thanks.
Yep, it does.
Here is an article with examples, unfortunately, it goes in Russian, so use an online translator:
http://teran.karelia.pro/articles/item_5710.html

Create word cloud (word mosaic) programmatically [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm writing an ios app that can create a word cloud or word mosaic with a pattern selected by user. My question is, how can I calculate the coordinates of each word, considering the sizes of each word is randomly calculated? Or any other approach?
Note that the pattern I want to work on is like this
but, rather like that, my app will fill the white areas with word mosaic, while preserving the photo of the user.
[EDIT]
my algorithm right now is to randomly set the size and position of each words and just put them there. How can I check if each word that I'm putting doesn't intersect with each other and the photo?
Reference: http://www.imagechef.com/ic/word_mosaic/

Any Suggestions for designing Memory Game in Objective c [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am a beginner to Objective c and I am designing a memory game in objective c where I have 5x5 button grid.
I am unable to decide on how to design the application.
If I use OpenGL I need to program a lot.
Should I use OpenGL to design the game or do you have any suggestions of using a UIView or any existing controls?
I have a limit of displaying 3 x 3 buttons on a view and when the user scrolls/swipes I have to display next/previous buttons in the grid with animation.
Any Help would be appreciated.
You can develop it in native iOS using gestures with views. I had made a demo game with the same idea. Tiles puzzle and combining parts of an object to complete shape (i.e. car shape from parts). You can take help from here.

How can you draw candlestick charts on iOS? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to Quartz, and I would like to draw a candlestick chart in iOS, but I don't know how.
How can I draw charts like this? Are there any good examples for iOS?
Core Plot may be able to do it. If not, it's probably a pretty easy thing to add to the Core Plot library.
http://code.google.com/p/core-plot/
You can do it with SwiftCharts, there are 2 candle sticks examples ready to use - one interactive and other not-interactive (with less overhead, in case you don't need interactivity)
(Disclosure: I'm the author)

Resources