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

  • Home
  • SEARCH
  • 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 8413215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:52:32+00:00 2026-06-10T00:52:32+00:00

I have been using different methods that are used in Objective-C. Can any one

  • 0

I have been using different methods that are used in Objective-C. Can any one give a good explanation of the difference between following methods?

void append(NSString *msg);
-(void) append:(NSString *)msg;
+(void)append:(NSString *)msg)
  • 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-06-10T00:52:32+00:00Added an answer on June 10, 2026 at 12:52 am

    void append(NSString *msg) is a C function. Unlike Objective-C methods, C functions are called using parentheses rather than the Objective-C bracket notation. C functions are often seen in iOS in lower-level components and frameworks, such as the graphics libraries.

    -(void) append:(NSString *)msg is an instance method. This means, that the method must be called on an instance of whatever class it has been written into.

    This differs from +(void) append:(NSString *)msg, which is a class method. This means that the method must be called on the class itself, not on any single instance of the class. Class methods are usually reserved for utility methods that are general in nature, and not instance-specific.

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

Sidebar

Related Questions

I have been trying to parse the bottom table on this site using different
I have been using play 1.2.5rc4 for development of one app and I have
I've used NUnit for years but have always been annoyed that you're forced to
we have model helper (used by several different models) called set_guids that sets self.theguid
I have been writing some Web services to be used by a few different
Lately, I have been using Automatic Reference Counting in my Objective-C/iOS programs, and have
I have been using TortoiseSVN for some time and I really like it. I
I have been using Stanford POS Tagger to tag parts of speech in a
I have been using an API to do some work. This is how I
I have been using some Javascript to create a text field once an certain

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.