Is there a visual guide to the UIKit components? - iphone

My Problem is this, I want to add some component to my App I saw in some other App. Everytime I wnat to do this, I start googling around for the name. It took me some time to find the name of UIActionSheet. Now I'm looking for that transparent overlay that appears when you turn the volume up and down.
So, is there a good visual guide to the UIKit components? As an example, see the visual guide to swing components or this visual guide which is way to short/incomplete. And secondly, what's the name of the component I'm looking for?

The iOS documentation has a section called iOS UIKit UI Catalog that shows the various UI features by name with links to the API docs and recommend how and when they should be used.

Apple has provided a sample iPhone application called UICatalog. It lists all (or most?) of the standard UIKit component in different variants.
You can download the sample from here.

i recently had the same problem. Googling a lot i came across the following page. This overlay works pretty well and is easy to use.
look at: http://github.com/jdg/MBProgressHUD
Hope this is what you were looking for.

Related

Dynamic Chart using Xamarin Forms

I am newbie in Xamarin; I know there must be ready components for what I need, already I searched but not yet found.
I need to create a dynamic graphic like this:
http://www.highcharts.com/demo/dynamic-update
I wore this in PhoneGap (html5 + JS), but now I'm moving to Xamarin forms and would like to know if any third component is what I need or I'll have to do everything from scratch.
Thank you.
I'm currently looking into graphing too and OxyPlots seems to be a pretty good line graph tool. I don't think it supports dynamic updating so you'd have to program it to update manually when new data points come available.
I've not gotten round to actually using this myself but I thought I'd post this here in case it works for you.
Edit: Here's a list of examples. Also you can add it to your project using nuget so it should be easy to set up.
I'm using Syncfusion controls for Xamarin.Forms and I'm satisfied with it. They also have a free license for individual developers and small businesses.
For dynamically updated Xamarin charts SciChart offers an extremely high performance solution. With the SciChart Xamarin Chart control you can draw up to a million points, zoom, pan and scroll big datasets interactively.
Check out performance demos here:
https://www.scichart.com/example/xamarin-chart-realtime-fifo-scrolling-chart-example/
https://www.scichart.com/example/xamarin-chart-performance-demo-example/
https://www.scichart.com/example/xamarin-chart-ecg-monitor-demo-example/
Disclosure: I am the tech lead on the SciChart Xamarin project

How to create chart application in iphone

I'm assigned with new task for creating chart application in iphone like.,(BarChart,PieChart,etc..,).But,i have no idea for chart application in iphone.Please anyone help me out to guide me to start chart application in iphone.If any of the frameworks or API used for this kind of chart application means please explain that also.
Give a shot to:
Core-Plot Framework
To get it working, read here.
You can also see the accepted answer of this SO question.
For a little bar-chart tutorial go here.
There is also:
s7graphview less features but It's an option.
If you can rely on the web, although it's a far from optimal solution, you can embed a UIWebView in your application, and use the Google Graph Visualization API or you can use a UIWebView with an HTML5 graph library lake rgraph. Look here for a jQuery based solution. Filament Group made also this one.
At the and some sample code from Apple (Accelerometer Graph).
A commonly used Cocoa "native" charting library is core-plot. Whilst I've yet to personally use it, it seems to be quite popular and is under active development.
Here you go, but next time please use the search function first:
http://code.google.com/p/core-plot/
Cocoa Graphing/Plotting Framework that Works on iPhoneOS
A popular one is core plot. http://code.google.com/p/core-plot/

Is there a good iphone sdk documentation site that provides good examples / common usage?

The problem? I look up stuff in the xcode documentation and find very useful lists of objects, methods, etc... But then I still have to go somewhere else to find useful example code of how to use that object. For example, I looked up NSNumber yesterday and found all of the neat stuff it can do, but I still had no clue how to use it. That's just an example. I'm sure I could read the objective c pdf front to back and learn something there (which I plan on doing) but what about later? When I'm looking up some UIKit object? Do I have to go find a tutorial each time (or lately, I just ask StackOverflow and you guys take care of me).
Is there a part of the apple website / xcode documentation that shows the example code I'm looking for?
Is there a wiki site out there or something that has what I'm looking for? (I just tried a simple google search "iphone sdk wiki". this site could be good. iphone sdk wiki . I'll check it out. Anyone else have one they like? )
This is also sort of a mild complaint to Apple. Why not a section on each code definition page that shows usage?
I've found the sample code section on Apple's iPhone Developer Connection be extremely useful not only for samples of complete applications but also a best practices source. Going through the code of The Elements, for example, will expose you to how to use particular classes as well as how to structure your code. It is a wonderful example of how to create a non-trivial iPhone app.
Look in developer.apple.com/iphone they have pretty good documentation (you can use the search bar there) on all the classes and have a lot of good sample code..
I really would emphasize the "Related sample code" section on many, if not most, of the documented classes.
But, IMHO, there isn't any easy way of acquiring the knowledge to develop in Cocoa/Cocoa Touch. The API's are so numerous that it simply takes a lot of time and experience. You just have to work on it, look at a lot of books and study the sample source code where available.
I've tried to take a purposeful approach by carving out some time every week to learning a new API/class irrespective of whether my current project needs it or not.
Alternatively, search Joe Hewitt. He's the developer for iPhone facebook. He has a project you can download that demonstrates all the features of facebook. It's an awesome open source project!
When you look something up in Xcode Developer Documentation, you sometimes get a Related Sample Code: text that tells you what Sample the method or property is used in. Too bad you can't click on it to see the code, but if you do click it takes you to the page to download the sample. – mahboudz 0 secs ago
Apple Developer site has all kinds of code examples. Try searching google for a UICatalog project, it will show you all the basic UI stuff you can do, like adding buttons and progressbars through using only code.

unable to use three20 iphone library

Well I am a newbie, developing an app. I want to use library 320 to display a set of thumbnails generated from a specific image directory .
When user clicks on an image a particular action shold take place. Unable to understand how to implement this library due to poor documentation. Can any body suggest me a better tutorial or source or piece of code to understand this .
I googled it but the outcome was not profitable.
Please enlighten me on this.
Thnx in advance.
Check out the TTCatalog example project that comes with the Three20 source, it shows a fairly standard implementation of photo thumbnails.
Barring that, you can check out the slowly growing Three20 documentation.
Articles and tutorials:
http://three20.info/
API documentation:
http://api.three20.info/

iPhone Coverflow

I need to implement cover flow functionality to our iPhone application. I tried to find sample code online to get started with it, but I didn't have any luck. Can anyone tell me how to implement cover flow functionality or give me a sample?
Thanks In Advance!
Try FlowCover at
http://www.chaosinmotion.com/flowcover.m
the source code provides you with a FlowCoverView realizing the coverflow effect.
You simply need to customize a few delegate methods. Take a look at the example source code, customizing it to suit your needs should be straightforward.
You might also want to check out a library I released at iPhoneDevCamp -- OpenFlow. http://apparentlogic.com/openflow
It is all core animation-based, so it's easy to understand and customize to your needs. AFOpenFlowView is a subclass of UIView.
I included a demo application, and check out the blog entry on my personal website for a bit more information about its use. fajkowski.com
Drop me a line if you have any questions or comments!
-Alex
This one looks promising:
https://github.com/nicklockwood/iCarousel
Seems to be more actively maintained than the other two suggested above.