In my app, I created question label and four custom buttons [options]. Ex:- Who is the king of Forest? is question label and options are like a. Tiger b. Elephant c. Lion and d. Deer in UIView. and two buttons to change the contents of next view to another question with options and to open up previous question. how to create multiple instances of same view with one label and four buttons in iphone sdk. request you to help me to over come this problem with sample apps or with code. thank you in advance...
i can explain the logic but not sure hw it can be reached , so check this Example , Link
Go to This link, downlaod the code samples , find flag quiz example - there you finished your quiz app.
http://deitel.com/Books/iPhone/iPhoneforProgrammersAnAppDrivenApproach/tabid/3526/Default.aspx
Hope this Helps!
Related
In my application, I want to implement a drop down view when selecting every row in the table view.Can u give me an easy solution for implementing this functionality.
Thanks in advance
this type of functionality for that visits following link Please visit here.
You can also consider using navigation. That is how it is usually done in iPhone. On selecting a row in a table, push another table with the values you want to show in the drop down.
Apple has a sample code of TableView which deals with this issue. https://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40010139 is the link to download the sample code from Apple developer library. Hope it helps.
It seems that you are requiring a popover on selecting a tableview cell.
Download and run the sample application provided here.
I hope this is the one you required.
I am new to bada programming and I am facing some problems. I am currently creating an app that consists of 6 tab bar item, each of which have a different form and have different controls in each form. I have tried following the example on http://www.badadev.com/forms-management-in-bada-part-3-managing-forms/ , however, I have set up all the controls in the form, but it does not respond and does not AppLog when I clicked on the button. Can someone please help me on this???
It is very hard to solve your problem that way(without seeing your code). Take look on a XmlParserApp example. It is using FormMgr and maybe you can get some good ideas. Or it is important that you have base class tabsForm that all the forms inherit?
A new bie here...
I am using a segmentController..in that there are three segments...Say segment A,B,C
Now I want this functionality...
when I press Segment A..Table A comes up..
when I press Segment B..Table B comes up..and
when I press Segment c..Table C comes up
well I know all the label change and that stuff...but what about the tables?? and again when I press the row elements they navigates me to another views and I want segment control to be displayed in navigated view also..
well ... can anyone please tell me how to do this??
any suggestion..any tutorial..any example code...any logic...anything....:)
Here is the link shows the simple Segment control. And when you want to add a Table , it is having the sample process , connect the delegates and data source. HERE is the descussion on the kind of similar question as your one.
This is the Class Reference of Segment control, which provides you a lot many examples this shall help you.
Hope this will help you.
I have been checking video tutuorials on playing the use of a sound in an iPhone app. As I am building one and found a few tips, I am stuck with two questions regarding the Interface builder:
After bringing a new button in the View, I am looking at the button's View Identity, but there is no Class Actions item under the Class Identity (in the video tutorials there is). Is there something I needed to add or is just the newer version? Mine only has the Class Identity and Interface Builder Identity. How do I add an action in View Identity? In the videos there are + buttons that generate Class actions.
If i have a menu with 250 buttons (let's say a tips list menu) and I want the same sound generated every time the user touches any of the buttons, should I connect the sound file manually to each of the 250 buttons or is there a way of gathering all 250 in one place and connected only once? How do i gather them all together for that?
I really appreciate the answers. Thank you!
Sorin
The answer to the first question is that - due to the newer changes - the Action class could be found under "Classes" tab in the library panel (select the object from the top half you wish to inspect and the lower half of the screen has tabs for Lineage, Definitions, Outlets and Actions.)
I've now put all night and tried to get my iPhone program to perform as intended, it has also succeed me sometimes but now I have pages with a problem I simplehen can not get resolved.
've tried this video guide that makes it I want it to but I stare my project up with NSObject (Windows Based) for my program.
Has anyone any. can help me a little further here? or link to come there can get me on track again
link: http://www.youtube.com/watch?v=2GeazgOqKJ4
U can change that NSObject to UIView while selecting the view itself,
Just Right click classes-->Add Files-->in that dialog box, the bottom section contains a dropdown list box from there u can select ur required Type....