How to draw pie chart with animation in iOS 7? [closed] - ios

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 was finding some good stuff for my app.
Actually i need to draw pie chart with animation if any one have an idea about it then please help me.

hi you can find many custom controls from www.cocoacontrols.com
here some examples like
1) https://www.cocoacontrols.com/controls/xypiechart
2) https://www.cocoacontrols.com/controls/sspieprogressview
3) https://www.cocoacontrols.com/controls/magicpie
you can use one of them as per your requirements.

For simple pie charts, Look at this open source project CERoundProgressView
You'll need to include these 4 files in your project:
CERoundProgressView.h and .m
CERoundProgressLayer.h and .m
See methods for displaying pie chart. You can edit animation duration and change background and track colors of pie chart as well..

Look at this framework CorePlot
It is a plotting framework for OS X and iOS. It provides 2D visualization of data, and is tightly integrated with Apple technologies like Core Animation, Core Data, and Cocoa Bindings.
and also you may find this tutorial useful.

you can try this tutorial link...
https://github.com/tildeio/OCD3

Related

In Swift 4, how do you create bright/shiny/glowy views? [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 4 years ago.
Improve this question
Im trying to create a view that glows very intensely and in the dark even, kind of like what this app here has accomplished (https://itunes.apple.com/us/app/mood-colors/id545822095?mt=8). I tried adding a sprite kit particle to the view and started messing with that but it really didn't take me anywhere and I couldn't get the results I wanted. Any help would be greatly appreciated. Also, incase you want to know, I am working with Swift 4 on a regular single view app and I am a bit of a beginner.
Thanks in advance.
This is only images showed with bright colors. If the images have very vibrant colors this could be achieved. It also looks like there are several shapes that the user can set a color to themself. But please bear in mind that phones using OLED (as iPhone X) can burn the image in and destroy the screen if something is shown very statically.
If you like to draw shapes (like a star) there is a solution That can be found here
Happy coding!

Create realistic clouds in Xcode [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 want to dynamically create realistic clouds including their movement and multiplication (density). I found this link which seem to explain more than I can understand. I cannot find a way to replicate the clouds and there is practically no other tutorial online. Does anyone know how can I achieve this result? Thank you in advance!
use scene kit you can make a dynamic particle effect:
https://developer.apple.com/library/prerelease/ios/samplecode/SceneKitVehicle/Introduction/Intro.html
in this example you can find, after the vehicles code, the smoke animation. You can gat all the stuff you need from there, like smoke.scnp, smoke.png.
You need to change some row of code like the smoke color, the light color and the camera position.
But with that i guess you can have one of the best result possible, as real time cloud simulation, in iOS.
(other solution would be using openGL but trust me this is a ton easier)
maybe this guide can also be useful to understand the basis (you just need them to achieve your clouds) :
http://www.raywenderlich.com/83748/beginning-scene-kit-tutorial

iOS and Basic offline app [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
I know about mapxbox/routeme and routeme but I need something basic. I need a basic map with all the countries and the only details it would be the name of the countries and the borders.
Can I do that with mapbox? Is there any easier way to do that?
The app should be offline and preload the maps.
iOS 7 support offline maps.
You just need to add tiles for specific area.
Tile contains overlay of map so we just need to add that overlay on the map.
For tiles you need to calculate area for which you need offline map and then get that area from OpenStreetMaps.
That's it.
Here is detailed Link tutorial for this.
After getting idea from tutorial you can easily understand the map structure and move ahead.
Cheers.

Parsing powerpoint into one Image per slide [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 would like to convert a powerpoint presentation into a series of images. One per slide specifically so they can be uploaded as an image gallery to a blog. Does anyone know of any libraries that can convert a .ppt into images. Any language is fine as long as it can run on a *nix server, so no C# or .Net dependent libraries.
Even if one existed, and I would guess one does, it can't address animations in a meaningful way. I see more and more ppt presentations making good use of animations to get their points across. Many of these animations will overlap one another. How could such a slide be turned into a single image? How would you prioritize which animated image segments should overlap the others? You may want to keep an eye on this thread: Converting ppt to png using Apache poi
This might get you a solution via php How to work with powerpoint in php?
This might work with python: https://stackoverflow.com/q/4995877/657003
This is a good discussion of the problem you face: http://www.joelonsoftware.com/items/2008/02/19.html

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