iPhone SDK - what is this control? Is it custom? - iphone

What is this control? Or is it something that has been custom made? I see it in the Twitter and several other applications. I'm referring to the two triangles, and if you've ever used them, they refresh the view below them, usually going through a list of content items.
(I'm not referring to the navigation controller with a back button)

They are UISegmentedControls with custom images and the style set to UISegmentedControlStyleBar.

Its right there in Apple's NavBar sample code. You have the entire source code for the project. Search for NavBar within the Documentation and API reference item under the Help menu of Xcode 4.

Related

Flip from one ViewController to another iBooks Style

I'm trying to load in content from a database and allow the user to flip through it like pages, then at the end of the content, give them options to go to another section of content (probably with buttons). The content is currently just formatted with html, but how do I implement the buttons to navigate? I'm a little new to Xcode so maybe I'm not even looking in the right direction.
refer a this opensource: https://github.com/devindoty/iBooks-Flip-Animation
this is very little code and perfectly works.

Adding outlets dynamically in MonoTouch

Is it possible to generate buttons and outlets dynamically from e.g. data. I am used to developing web-applications where I can generate the links from the data, but I can't see how this can be done in MonoTouch?
I basically want to create a UINavigationController and fill the layout from data I receive from a database or a-like, and then link the button to a page displaying some information about the topic. Can this be done in MonoTouch?
I suggest you to look at the MonoTouch.Dialog library (scroll down for documentation and screenshots). It comes with a sample application that shows you how you can, very easily, create UI based on code, reflection...

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

Help with Application Settings

I'm developing the settings page for an iPhone application I'm working on. The basics are simple enough but there are some interesting things I've seen in the settings for some of the default iPhone and I was wondering if they are easy to create.
Two things in particular are having a UITextView as a child pane (an example of this is the signature in the Mail app settings) as well as having settings appear and disappear based on a switch (an example would be in the Wifi settings).
Any ideas if these are somewhat easily achievable?
EDIT: I'm aware I can achieve a similar effect by creating a custom settings page. What I want to know is if the things I mentioned are possible for application creators.
Use UITableView and build your custom subclasses of UITableViewCell class for various settings. You can easily manipulate a table view for making things appear and disappear dynamically.
As #Kakosquid suggested you can try a table view with custom cells. You can go through this tutorial for more info on custom cells

iPad breadcrumb control?

I am looking for a breadcrumb style navigation controller for iPad. Specifically I would like to know if the control in this picture actually exists or is made with custom images:
http://iconlibrary.iconshock.com/wp-content/uploads/2010/04/ipad-vector-buttons-GUI.jpg
The control I'm talking about is towards the top of the image with the home icon followed closely by buttons with the text "label". The closest thing I can think of is a UISegmentedControl, but that doesn't have the borders that point backwards.
There is no UIKit framework for that particular behavior, and I'm not aware of any open source software that would do so.
Depends on how exactly you'd like to implement it, but you could use a UINavigationController with a custom toolbar at the top.