How to create view like Facebook - Profile, Wall portion in my iphone apps

Hi,
I have to create same that type of view for my application. my requirement like that i have one question and user can give answer of my question with unlimited number of lines. SO obviously we have to use UITableView. Now problem is that how can i decide my table row height and if there is two lines then answer portion should be small and if answer portion is big then it should be large with unlimited answers.
Does anyone know how to create this type of table view.
Thanks.
Message was edited by: crazyiphony

Hi,
i suggest reading some documentation. First you nedd to "tell" the tableView that it's rows are of different height. So you need to implement "tableView:heightForRowAtIndexPath:"
To calculate the height needed for a specific text you can use one of the "sizeWithFont" methods of NSString class. (http://developer.apple.com/iphone/library/documentation/UIKit/Reference/NSStringUIKitAdditions/Reference/Reference.html)

Similar Messages

  • How to create and allocate authorization profiles?

    How to create and allocate authorization profiles? please issue step by step and usage of  TC:PFCG.

    Hi Srinivas,
    I would like to try to explain how to create an authorization profile.
    1. you have to create a user with the Tcode SU01 at first
    2. run Tcode /nPFCG.
    3. enter a name for the role (naming convention is here very important) which you want to create and then click on "create Role".
    4. enter a short description for the role and then click on Authorization tab.
    5. now you are required to save the role. Click on it and continue.
    6. click on the tab "change authorization data" and select the authorization template what you need.
    7.change the authorization field value.
    8.click on button "Generate".
    9.click on button Back
    10. click on Tab user to assign the role to the user which you created in step one
    11.click on button User comparison and then complete comparison
    Hope this helps

  • How to create a new facebook account in iphoto?

    How to create a new facebook account in iphoto?

    Instructions can be found by selecting iPhoto Help from the Help menu within iPhoto.

  • How to get my own facebook/twitter wall status using CS5.5?

    Hi,
    i'm trying to learn how to get my own facebook & twitter wall status into flash so that I can export it out and install it in my iPhone.
    After reading the facebook and twitter API documentation, I'm still very confussed on how to use them.
    I'm very new to this and hope to get a suitable tutorial/sample code for some reference.
    Help is appreciated. Thank you.

    Hi,
    i'm trying to learn how to get my own facebook & twitter wall status into flash so that I can export it out and install it in my iPhone.
    After reading the facebook and twitter API documentation, I'm still very confussed on how to use them.
    I'm very new to this and hope to get a suitable tutorial/sample code for some reference.
    Help is appreciated. Thank you.

  • How to create Service and response profiles

    Hello Gurus
              I have configured the IC Web Client in solution manager 4.0 system. But in sservice ticket i am not able to see the SLA info. Please tell me
      where to give these SLA parameters ?
      How to create service and response profiles?
      Shuold i use SLF1 instead of  SLFN to maintain SLA ?
    Please tell me how to do these it will be very helpful....

    Hi Naveen
    The Service and Response Profiles can be created in the easy access menu using the path
    SAP Menu> Service> Service Contracts and Service Plans--> Maintain availability and Response Time
    Availability time is also know as service profile
    And then assign these service and response profiles to your Servie Product Master which will be used in the service ticket.
    For the field to be available to enter teh service and response profile in the product master, assign the set types COMM_PR_SRV to the category in which the product will be created
    Hope this would help.
    Regards,
    Rekha Dadwal
    <b>
    You gain a point for every point that you reward. So reward helpful answers generously</b>

  • How to create view for xmltype table in oracle

    hi:
    Can some one help me how to create view for xmltype table in oracle?
    XMLType do not have column
    Sem

    Thank you !!
    I read it and become very hard to implement what I want to do.
    Can you give me example please?
    My main goal to create view for xmltype table is to XQuery the XML data?
    Do you have any other suggestion?
    Please help
    Ali_2

  • How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!

    How to create backup file on itunes for ipod touch 4g game apps data? Is there a way to do it? I want to try an app on my friend's computer, but you can't add apps on another computer without having your own ipod's data being deleted. Thx for any help!
    I want to know how to create a backup file (because I'm pretty new with itunes, and it's hard to use it for me still), how to store my app data/media/videos, etc. And how I can retrieve them back when I'm done with the app I tried on my friend's computer.
    If anyone can help, it'd be great! Thank you so much!

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • How to create a Web ADI template and save it in our apps?

    Hi all,
    I want to create a user enrollment template it Web ADI so that I can send the form to the client and they will just fillup the spreadsheet with all the users they want to add to the system then load it using Web Adi.
    For example this form is:
    I want to create a Web ADI template for the forms above, which is saved in the apps database. Just like the template sample below:
     1. Add Oracle WEB ADI you your responsibility. Explore how to create document etc
    2.  Using Oracle General Ledger, go to Enter Journal and click on Launch Journal Wizard..from there you can create document similar to attached
    Please help how to create templates like this.
    Thanks a lot,
    mk

    Hi Rajen and all,
    The sample tutorial you and Aj gave me seem for older version like 11i or 12.0. Can i still apply or follow it for 12.2?
    You also mentioned:
    My approach when I started was more like the "baby step" method ... started with something simple with these 2 responsibilities and a simple integrator and then continued by adding new features (like LOV, PopLists, Contents, playing with layouts, using FNDLOAD, etc....). It's  an interesting experience.
    Do you have the docs you follow to do the above process? What 2 responsibilities are you referring to? It is "Desktop Integration" & "Desktop Integration Manager"?
    I thought "Desktop Integration Manager" is the super-user and has all the "powers" needed for adi?
    What powers does "Desktop Integration Manager" have,  that "Desktop Integration" does not have? and vice-versa.
    Thanks a lot,

  • How to create an install cd with the final cut pro x app if the app comes from App.Store?

    How to create an install cd with the final cut pro x app if the app comes from App.Store?

    Just copy the Application FCPX to your CD. When you want to install drag the FCPX to the Application folder and you are done.

  • How to create view that has an update statement

    Tools: MS Management Studio SQL 2008 R2
    Code:
    Create View as Mocha
    UPDATE dbo.Cola
    SET Login_ID = Replace(PE15,RTRIM(Cast(Login_ID),'')
    UPDATE dbo.cola
    SET P4 = NullIf(P4,'')
    I would like to create a database object "View" to hand it over to a user and run the script. How I would create a a view that would accept an update statement. Are any work around to accomplish this goal

    Not quite sure what you want to achieve.
    However, if your view displays rows from a single table and each row relates to exactly one row in the source table (no aggregates, no join, no transformation) then you can update it.  The update will be executed on the table it refers to.
    If you view is more complex, contains joins, aggregates and such, you can create a trigger on it to update the base table(s).
    The conditions for a view to be updatable are a little more complex then what I wrote but you can find it here under "updatable view":
    http://msdn.microsoft.com/en-CA/library/ms187956.aspx
    In the end, you would have a view which displays rows and can be updated.
    If all you want is to modify rows without viewing them then HuaMin Chen's solution is the one for you, create a stored procedure instead.

  • How to create effects like this ...

    Dear webmates :
    I'd like to know how to create rollover menus like this :
    http://perfeccionate.urp.edu.pe/server/rumbo/index.php/comunidad/programa-tv
    As you can see it shows you more than one option and big rollover menus... what tools ca I use to achieve this ?  thanks in advance...

    Hi Sw Jiten,
    Check this cool Dreamweaver extension from DMXzone - Universal CSS Navigation Menu
    Regards,
    M.Zografski.
    DMXzone.com

  • How to CREATE VIEW to merge two tables each of which has CLOB-typed column

    I failed in creating a view to merge two tables that have CLOB-type column each.
    The details are:
    Database: Oracle 9i (9.2.0)
    Two tables "test" and "test_bak", each of which has the following structure:
    ID Number(10, 0)
    DUMMY VARCHAR2(20)
    DUMMYCLOB CLOB
    The following operation fails:
    create view dummyview (id, dummy, dummyclob) as
    select id, dummy, dummyclob from test
    union
    select id, dummy, dummyclob from test_bak;
    I was announced:
    select test.id, test.dummy, test.dummyclob
    ERROR in line 2:
    ORA-00932: inconsistent data type: required - , but CLOB presented.
    But if creating views from only ONE table with CLOB-type columns, or from two tables WITHOUT CLOB-typed columns, the creation will succeed. The following 1) and 2) will succeed, both:
    1) one table, with CLOB-typed column
    create view dummyview (id, dummy, dummyclob) as
    select id, dummy, dummyclob from test;
    2) two tables, without CLOB-typed columns
    create view dummyview (id, dummy) as
    select id, dummy from test
    union
    select id, dummy from test_bak;
    I want to merge the two tables all, with complete columns, how to write the CREATE VIEW SQL statement?
    many thanks in advance

    Dong Wenyu,
    No.
    But you could do this:
    SELECT source.*, nvl (tab1.clob_column, tab2.clob_column)
    FROM your_table1 tab1, your_table2 tab2, (
    SELECT primary_key, ...
    FROM your_table1
    UNION
    SELECT primary_key, ...
    FROM your_table2
    ) source
    WHERE source.primary_key = tab1.id (+)
    AND source.primary_key = tab2.id (+)
    In other words, do the set operation (UNION (ALL)/INTERSECT/MINUS) on just the PK columns before pulling in the LOB columns.
    d.

  • How to create view with schemabinding on cross datbases(partitioned views)

    Hello Everyone,
    Please help me to sort this issue. I know it is not possible bind the scheman in below example. But is there any solution to solve this issue.
    I've tables like below
    create database D1--First database
    create table dbo.t1(
    id int
    create database D2--Second database
    create table dbo.t2(
    id int
    i want to create a view with the schema binding option on this
    create database D3
    use d3
    create view vw_v1
    with schemabinding
    as
    select id from d1.dbo.t1
    union all
    select id from d2.dbo.t2
    I'm getting this below error
    Msg 4512, Level 16, State 3, Procedure vw_v1, Line 7
    Cannot schema bind view 'vw_v1' because name 'd1.dbo.t12' is invalid for schema binding. Names must be in two-part format and an object cannot reference itself.
    Many thanks
    A-ZSQL

    CREATE VIEW
    SCHEMABINDING
    Binds the view to the schema of the underlying table or tables. When SCHEMABINDING is specified, the base table or tables cannot be modified in a way that would affect the view definition. The view definition itself must first be modified or dropped to remove
    dependencies on the table that is to be modified.
    > When you use SCHEMABINDING,
    the select_statement must include the two-part names (schema.object)
    of tables, views, or user-defined functions that are referenced.
    >
    All referenced objects must be in the same database.
    José Diz     Belo Horizonte, MG - Brasil

  • How to create views in OBIEE?

    Hi everyone,
    I'm new to OBIEE. My requirement is i need to apply different filters to each columns in a report. But if i apply any filter it is applying to all the columns.
    For example, My report column is something like
    StudentsPassed || StudentsFailed || StudentsTrasnfered
    So i need to look up on a status column and need to show only a particular result based on the status column. But if i select for status=StudentsPassed then in all three column im getting only students passed.
    So what i did is i created individual views for each column. i.e View1 will hold the list Students Passed view2 will hold only list of Students Failed. But now i need to generate many reports of same type. So i don't think it is a best idea to create views for each columns in a report in the database level.
    Is there any method to do this?
    Is there any method to store only Students Passsed list in a logical column in the Administration level?
    Please provide some help.
    Thanks in advance,
    karthick

    What are you trying to get?
    This is normal error, you must use measure in FILTER (USING), you are using maybe foreign key in count distinct or some other columns that is not a measure.
    1. If you like to use FILTER (USING) go to RPD, BMM and make new measure, etc MEASURE2=count(distinct student_id), etc.
    Then applied this MEASURE2 in FILTER(MEASURE2 USING (VEE_TOTAL.STATUS = 3.00)
    or
    2. Use views as I explained before
    Regards
    Goran
    http://108obiee.blogspot.com

  • How to create view in oracle?

    Hi sir,
    i have a view created in sql server that i converted in sql developer through translation scratch editor.
    but when i am executing this it's not getting executed showing error insufficient privilege.
    here is my view below.
    CREATE OR REPLACE VIEW vwEmpMain
    AS
    SELECT Employee.Emp_ID ,
    Employee.Emp_FirstName || ' ' || Employee.Emp_LastName Emp_Name ,
    Comp_Master.Comp_Name ,
    Dept_Master.Dept_Name ,
    Desig_Master.Desig_Name ,
    Category_Master.Cat_Name ,
    Dept_Master.Dept_Desc ,
    Category_Master.Cat_Desc ,
    Desig_Master.Desig_Desc ,
    Comp_Master.Parent_ID HiredBy ,
    Employee.Card_ID ,
    Employee.Comp_ID ,
    Employee.Dept_Code ,
    Employee.Cat_Code ,
    Employee.Desig_Code ,
    Employee.ADDRESS ,
    Employee.Phone ,
    Comp_Master.STATUS Comp_Status ,
    Employee.DOJ Date_Of_Join
    FROM Comp_Master
    RIGHT JOIN Employee
    ON Comp_Master.Comp_ID = Employee.Comp_ID
    LEFT JOIN Desig_Master
    ON Employee.Desig_Code = Desig_Master.Desig_Code
    LEFT JOIN Dept_Master
    ON Employee.Dept_Code = Dept_Master.Dept_Code
    LEFT JOIN Category_Master
    ON Employee.Cat_Code = Category_Master.Cat_Code;
    could you check that.
    thanks

    Whenever you post provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
    >
    when i am executing this it's not getting executed showing error insufficient privilege.
    >
    Always provide the exact error code and message for questions like this.
    That error means the user does not have the CREATE VIEW or CREATE ANY VIEW privilege.
    The solution is to grant the user CREATE VIEW, for creating views in their own schema, or CREATE ANY VIEW to create views on objects in other schemas.
    As SYS 'REVOKE CREATE VIEW FROM SCOTT'. Then as SCOTT
    >
    create or replace view a_view as select * from emp;
    ORA-01031: insufficient privileges
    >
    It is a different error when the user does not have SELECT privilege on the underlying table or view
    As SYS 'GRANT CREATE VIEW TO SCOTT'. Then as SCOTT
    >
    create or replace view a_view as select * from hr.employees
    ORA-00942: table or view does not exist
    >
    Same if the object does not exist
    >
    create or replace view a_view as select * from no_such_table
    ORA-00942: table or view does not exist
    >
    But if the table does exist
    >
    create or replace view a_view as select * from emp;

Maybe you are looking for