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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:19:44+00:00 2026-05-24T02:19:44+00:00

I am using https://github.com/st3fan/iphone-bitly classes and as the example i want to do something

  • 0

I am using https://github.com/st3fan/iphone-bitly classes and as the example i want to do something for which i want your help.

- (void) demo
{
   URLShortener* shortener = [[URLShortener new] autorelease];
   if (shortener != nil) {
      shortener.delegate = self;
      shortener.login = @"LOGIN-REPLACE-ME";
      shortener.key = @"KEY-REPLACE-ME";
      shortener.url = [NSURL URLWithString: @"http://stefan.arentz.ca"];
      [shortener execute];
///// I want to get result on here not in the delegate for further usage in my function
   }
}

any help or suggestion

  • 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-24T02:19:44+00:00Added an answer on May 24, 2026 at 2:19 am

    What you’re requesting would block the current thread. If you ran that on the main thread, you’d hang your app. The framework you’ve linked only provides an asynchronous interface for that reason.

    If you’re already running this on a background thread, you can re-implement execute to use [NSURLConnection sendSynchronousRequest:returningResponse:error:]. But never run that on your main thread.

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

Sidebar

Related Questions

I am using the MWFeedParser (found here: https://github.com/mwaterfall/MWFeedParser ). I followed his example app,
maybe someone can help me: i'm using the rest server from here: https://github.com/philsturgeon/codeigniter-restserver .
I am using https://github.com/feelinglucky/php-readability and I am able to get the author's example to
I'm using https://github.com/akzhan/jwysiwyg/ and i want to implement pasting from Word, but I'm not
I want to use the zsh-git-prompt, from this repo https://github.com/olivierverdier/zsh-git-prompt , I've been using
I'm using clearance ( https://github.com/thoughtbot/clearance/wiki ) for authentication in my rails app. But I'm
I followed this tutorial: https://github.com/EllisLab/CodeIgniter/wiki/PDF-generation-using-dompdf However, I can't seem to set the path right.
I am using this plugin: https://github.com/augustl/live-validations/wiki to check if the form field entered is
I have been using https://github.com/Redth/APNS-Sharp to send push notification message to all devices where
I was using https://github.com/RestKit/RestKit/wiki/Using-Multiple-Base-URLs-%28and-Multiple-Object-Managers%29 as a guide. I know it's possible to create multiple

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.