Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 731561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:02:27+00:00 2026-05-14T07:02:27+00:00

How should I correctly reference protocols on a UML class diagram? For example my

  • 0

How should I correctly reference protocols on a UML class diagram?

For example my ListViewController conforms to the UITableViewDataSource and UITableViewDelegate protocols… where do I put the cellForRowAtIndexPath or numberOfRowsInSection methods? … in ListViewController where they are implemented or in something like this:

         <<Protocol>>
    UITableViewDataSource 
    ---------------------

    ---------------------
    -numberOfRowsInSection 

If I did the latter what would be the association between the ListViewController class and the protocol box be? All I have to show is how I hook into Cocoa Touch some how.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:02:28+00:00Added an answer on May 14, 2026 at 7:02 am

    Protocols are sort of equivalent to interfaces in java, so you can find a java UML diagram and work off that.

    Also, from http://en.wikipedia.org/wiki/Class_diagram:

    In UML modeling, a realization
    relationship is a relationship between
    two model elements, in which one model
    element (the client) realizes the
    behavior that the other model element
    (the supplier) specifies. A
    realization is indicated by a dashed
    line with an unfilled arrowhead
    towards the supplier
    .

    …

    A realization relationship between
    classes and interfaces and between
    components and interfaces shows that
    the class realizes the operations
    offered by the interface.

    So if I’m reading that correctly, ListViewController would have a dashed line with an unfilled arrowhead pointing to UITableViewDataSource.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please show me how i should correctly execute system proccess in java. I would
How should I correctly store IP address list with addresses which are subnets to
Why does the following step pass: page.has_css?(doesnt exist) when this correctly fails: page.should have_css(doesnt
I'm having trouble figuring out how to correctly reference the 'right' 'this' in a
Unsure if I've phrased this correctly, but in the callback how do I reference
I have a class with a property which is a weak reference to a
According to this it should be possible to reference projects outside solution and have
I'm currently working on a script which should analyze a dataset based on a
I am currently working on a project that should be implemented as a WCF
We are currently having a discussion if dataset should go in the data or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.