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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:49:06+00:00 2026-06-12T10:49:06+00:00

ByDefault NSURLConnection is synchronous or asynchronous What should be the answer for the same.

  • 0

ByDefault NSURLConnection is synchronous or asynchronous

What should be the answer for the same. And one more question is:

What is the difference between delegate and notification.

I know the difference, but I’m confused, the notification is local or Apple notification. Or there is some other feature in iPhone. Becuase i have read about NSNotificationCenter also.

  • 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-12T10:49:08+00:00Added an answer on June 12, 2026 at 10:49 am

    Q:
    ByDefault NSURLConnection is synchronous or asynchronous

    A:
    It depend which method you calling in NSURLConnection. But most of the method are related asynchronous. Except one that is sendSynchronousRequest:returningResponse:error:

    Loading Data Synchronously

    + sendSynchronousRequest:returningResponse:error:
    

    Loading Data Asynchronously

    + connectionWithRequest:delegate:
    – initWithRequest:delegate:
    – initWithRequest:delegate:startImmediately:
    + sendAsynchronousRequest:queue:completionHandler:
    – start
    

    Q:
    What is the difference between delegate and notification.

    A:
    Use delegate for one to one object communication. e.g Event received from objA call it’s delegate objB to execute it.
    Use notification for one to many object communication. e.g. ObjA, ObjB registered as observer on ObjA Event. When event occur, it will send the message to both ObjA and ObjB.

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

Sidebar

Related Questions

I want to know that 100MEDIA folder in the DCIM is created byDefault or
How can i create universal apps using xcode 3.2.6 in Landscape mode bydefault?I need
I'm using NSURLConnection and NSURLRequest to do a HTTP POST of some XML data
NSURLConnection by default performs a GET request with HTTP v1.1. How do I get
i have a question regarding the vertical scrollpane in jdialog.when i run My application
I have a combobox that has following items inserted public void SetOperationDropDown() { //ByDefault
In my ComboBox there are items like A B C D and bydefault the
I have a UIDatePicker on my view,I have set DatePicker in time mode. bydefault
iTunes files are bydefault stored to document directory. What if i want to create
i design one form for registration of users. in that i use tag in

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.