Can we create a Circular/ Rounded Shape UITableview ?
I know that we can rounded the corners of table view or by transform we can rotate table view but is need UITableview to scroll in clock wise or anti-clock wise direction.
Can we use some other custom control to implement this.
Check these links.. https://www.cocoacontrols.com/controls/circleview and https://iphone2020.wordpress.com/tag/circular-tableview/. It may help you.
For anybody who has trouble with the above links, you can get the code directly from GitHub here https://github.com/bharath2020/UITableViewTricks. It is a drag and drop solution that you can implement and have working in your project in minutes.
Related
I want to implement a UITableView with vertical header something like the following image
as you can see the Test word will be the section header , can I create a custom header like that.
No, You cant do this in UITableview controller. You can use custom horizantal table view for https://github.com/TheVole/HorizontalTable
I dont think it is possible...you may use a UIScrollView with multiple tableviews if you know the no of header in advance.
If you want to display complex UI Components the best way to do this is a UICollectionView. If you need to Support iOS 5 you can use PSTCollectionView. UICollectionView have a very common API to UITableView.
With UICollectionView you can create very complex User Interfaces like the one you need. And the best about this is that you can completely cutting lines between Model / View / Controller.
A good start is to watch the Videos from WWDC 2012 with UICollectionView as the topic. They explain very good how to build complex CollectionViews and why they are better to create horizontal tables like you want to build.
I think you should take use UILabel, add Title to it, Rotate it to 90 Degrees and then place it to the left of UITableView.
I was wondering how to make image display through a table like the application Pulse on iPhone. I used UIScrollView but it did not help much. It only displayed images in a nice array-like manner but you could not produce an event or click on the image.
What's the best way to produce a Pulse like application for displaying images and heading information in an array-like style?
use Ray Wenderlich tutorial about THIS topic
tutorial
The Ray Wenderlich pulse tutorial does have an issue where if the horizontal table view has not been scrolled (or its first element is aligned with the left of the screen) you can't drag right and have the content pull that way and then bounce back. This makes the scrolling experience feel pretty bad.
The simple solution though is to put the horizontal table view inside a scroll view and then everything just works.
It looks like a UITableView with rows that are composed of UIImageViews. Its got a nice touch where you can scroll horizontally within a row, like with Twitter's app. That's most likely done with a UIScrollView (scroll bars removed, with end bounce). Peter Boctor wrote a web blog post on how to do something similar, if I recall.
It's a UITableView with each row containing a UITableView that is rotated by 90°. The cells for the UITableView in each row are custom views that are likely either subclasses of UIImageView or just plain UIView.
Does anyone understand how Apple manipulated the regular UIPickerView to look like the image below? Instead of two rows, I only need one in the middle. If anyone can point me in the right direction or show me a tutorial I'd really appreciate it.
Try making a narrow picker view.
Set it atop an image view.
Fill the image view with a screenshot of the picker background.
I'd like to replicate the iOS 4.x ABNewPersonViewController UI layout (see link text) in a custom view but I'm unsure about the best way to achieve this. I was thinking of a single grouped UITableView, but what about the first section? How do I achieve the smaller cells (first,last,company)? And finally the "add photo canvas" is it just a sub UIView with a background image for the shadow and the rounded border or can this be done programmatically?
Many thanks in advance!
your idea about a single grouped UITableView could work. The way to get the smaller cells as well as the photo cell would be to subclass UITableViewCell and create it like that. and yes the photo canvus is just a custom UIView added on top of the UITableView. I'm not sure i see the point of rolling your own here, but thats how i'd start. Also i think i recall seeing a tutorial on how to build this page..try googling for it.
So I want to change the UIPickerView background to add a black rectangle next to the white part of the scroller, a la the Convert app.
However I'm not sure how to go about doing that. I know there's no direct way to do it, but I've also looked at trying to write my own UIPickerView from scratch using UIScrollView. This didn't seem very promising.
Do you have any suggestions or tips? Really appreciate it.
Just create a UIImageView that contains the left portion of your graphic above. Add that UIImageView to the same view that contains your UIPickerView-- so it will draw on top of your UIPickerView.