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 6686827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:13:01+00:00 2026-05-26T05:13:01+00:00

Possible Duplicate: Understanding @Protocols in Objective-C Could somebody explain what a protocol is in

  • 0

Possible Duplicate:
Understanding @Protocols in Objective-C

Could somebody explain what a protocol is in Objective C.

The reason is that on apples
MPMediaPlayback Protocol Reference f
has methods to control the video play back, ie I’m trying to get stop to work. The apples documentation at
ttp://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocProtocols.html
says it declarers a interface for others to create. So I was assuming this would mean MPMoviePlayerController would have all the methds in Mpmmediaplayback? Well I try the following [mp stop] and it did nothing. I tried other functions declered in MPM and non of nthem work.

Could somebody explain how a protocol works?

  • 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-26T05:13:01+00:00Added an answer on May 26, 2026 at 5:13 am

    Protocols are a design pattern to allow the developer to customize some appearance/behavior or act on an event. When you implement a protocol’s methods, you have the power to control the associated behavior. The foremost example is the UIApplicationDelegate protocol. If you implement the applicationDidFinishLaunching: method, you can define the actions you want to perform when the app has finished launching. As it is an optional method, if you don’t implement it, only the default actions are performed.

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

Sidebar

Related Questions

Possible Duplicate: Objective-C - When to use 'self' I am having problem understanding the
Possible Duplicate: How do I calculate someone's age in C#? Maybe this could be
Possible Duplicate: Interface vs Base class I am not understanding the difference between an
Possible Duplicate: C# int, Int32 and enum's It could be a rather basic /
Possible Duplicate: Understanding asp.net Eval() and Bind() <asp:DataList ID=DataList1 runat=server DataKeyField=CustomerID DataSourceID=SqlDataSource1> <ItemTemplate> CustomerID:
Possible Duplicate: Understanding Classes in PHP I pretty often see extends in classes, like
Possible Duplicate: Streaming large file uploads to ASP.NET MVC To my understanding, when a
Possible Duplicate: Undefined, unspecified and implementation-defined behavior I'm trying to deepen my understanding of
Possible Duplicate: Understanding Python decorators I was reading a django app source code where
Possible Duplicate: Rails - Help understanding how to use :dependent => :destroy I have

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.