Custom Controll like Dock menu of Mac os in ios - iphone

I want to create a custom controll like Dock of Mac os.
in which i want to display all items horizantally with shadow, and on select to the perticular item display focusing Dot like DOck in mac os and display perticular view corresponding to perticular selected item with genie effect or popup like view.
simple view is displayed in image above.
any help will be appericiated.
Thanks.

This tutorial from Nichchenakolla meets all your requirement, there is just no focusing dot but you can easily add that as you are free to provide any image there.

Related

MacOS Swift - GUI Programming

https://snag.gy/iuDznR.jpg
What's the name of this widget on the left in xcode? Or something similar?
is it a scrollview ? im trying to create a list of images just like it on my program.
Also, while i'm here I might as well explain the desired functionality. I'd like a user to be able to drag images from the desktop or finder etc into my app and that it adds a thumbnail to the list. also, when clicked on, it should show the image in an imageview. I also need to maintain the lists traits, like the path to every file and their image name.
That UI is not from Xcode, it's from Preview.app.
And the functionality you're describing along the left edge is a NSCollectionView. To do what you're describing, you'd need to create custom (subclassed) NSCollectionViewCells in which you can save the file path (or URL), the image name, a NSImage, ec.

How to make select button like Apple Pages app

I can select multiple font styles in Apple Pages app, orange colored box on the screen.
How to make it?
I can't find any ui component in the iOS SDK like this, multiple select. UISegmentControl is only for one select like radio button.
use a UISegmentControl in momentary mode to have the bar :)
set custom background images for the cells
there is no stock control but this is quite basic using this approach
No default thing is available you have to do it by yourself. You set tags for each button and only one selector. By checking the selected button tags execute you specific code.
For that, yon need to take UISegment Control and make it's background images custom. Also you can set the width of the each segment.
Then you will achieve your goal.
Cheers!

How to create a combo box for the iPhone without using UIPickerView

I want to create a combo box for an iPhone application like we have on our website. I have searched a lot, but everybody says to use a picker. I want to use the same UI as a web combo box, so is there any way to do that in an iPhone app?
Just create a custom view with button and below that tableview. Set width of tableview similar to the width of button.
On button's event select or un-select tableview. And load the required data in tableview.
Using CALyer and other Core-graphics API, you can customize UI of table view as per your requirement.
Here's an open-source implementation of what you're looking for. That site has a lot of useful, open source controls.
You can use a TableView and expand/collaps the Cells.
Here are some Examples...
Expand collapse UITableViewCell
and here...
http://www.cocoanetics.com/2011/03/expandingcollapsing-tableview-sections/

What UI elements (objects) are used in livingsocial iPhone app?

I am new to iPhone development. I am using Titanium for developing but I guess that hardly concerns my question.
What UI elements where used to develop the certain pages of livingsocial? There are hardly 5-6 windows in the whole app.
a) For eg: if you see the main page(daily deals,escapes,purchases,settings) - did they use a window with a black background image & then added tableview to it for the four options? each tableviewrow has different images. Is that how it could be done?
Also if you notice the four options are scrollable but the heading livingsocial stays static & looks different from the native UI. How was that done?
b) If you look at sign in page (in settings) - they have two textfields & a sign in button inside a window. For the last element (Don't have an account?), is that again a tableview inside a scrollableview?
It would be great if someone can give a general outline as to how they developed their app & what UI objects we used.
edit: please find the screen shots :
a)http://dl.dropbox.com/u/9556373/IMG_0616.PNG b)http://dl.dropbox.com/u/9556373/IMG_0620.PNG
a) For eg: if you see the main page(daily deals,escapes,purchases,settings) - did they use a window with a black background image & then added tableview to it for the four options? each tableviewrow has different images. Is that how it could be done?
Also if you notice the four options are scrollable but the heading livingsocial stays static & looks different from the native UI. How was that done?
That app uses a custom made UINavigationController (for the static bar at the top, that can accommodate the title of the view and different buttons depending on the view currently showing, namely a back button for returning to the main view) and UITableView with custom made cells.
b) If you look at sign in page (in settings) - they have two textfields & a sign in button inside a window. For the last element (Don't have an account?), is that again a tableview inside a scrollableview?
No, I think that's a UIButton, that just happens to look like an isolated cell. Also, that view doesn't look like its scrollable.
I'm not familiarized with Titanium, so I can't give you any directions there. But keep in mind that using custom controls usually takes more effort than simply using apple's own default.
In answer to your first question:
I'd use a tableview for that, with custom made cells to create that look. If it is not a main window on your tab you'll have to remove the 'back' button, otherwise it'll be fine.
In answer to your second question
The first 2 are textfields. The rest are all buttons (and the text above facebook button is a label).
If you're using titanium you could take a look at the kitchensink example.
Hope this helps!
Tjellekes

iPhone panel control

In my iPad application there are many buttons (around 50), and I want to make a group box which contain buttons arranged by category.
I am looking for something like a C# or .NET GroupBox/Panel.
There is no Group Box / Panel Box in iPhone.
You need to manage by your self.
Use the UITableView to put all the button in on category.
http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UITableView_Class/Reference/Reference.html
It may be worthwhile to look into UIPopoverController views. These are the little popup views that appear when you click stuff. YOu could easily break your menu system into smaller parts with these.
You may draw a group panel by making two views. make a view of frame say 20,20,280,199 and then another one with frame 21,21,278,197. now put the 2nd view on the last one and change the color of last to some dark than later one. enjoy :)
remember that the should be in same hierarchy. that no one should be parent or child of any of these.