Recent

Author Topic: Objective Pascal delegates problem?  (Read 5415 times)

MISV

  • Hero Member
  • *****
  • Posts: 783
Re: Objective Pascal delegates problem?
« Reply #15 on: January 22, 2020, 11:18:07 am »
I figured out what was suddenly causing problems. Own fault
« Last Edit: January 22, 2020, 11:32:25 am by MISV »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Objective Pascal delegates problem?
« Reply #16 on: January 22, 2020, 12:11:02 pm »
I figured out what was suddenly causing problems. Own fault

:)

Thanks for posting - I might try delegates myself now you've done all the hard work ;)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Objective Pascal delegates problem?
« Reply #17 on: October 25, 2020, 05:04:13 am »
I did finally get a round TUIT and come to grips with delegates.

See the Wiki example for NSURLConnection,  Retrieving data asynchronously using a custom delegate_object.

Late to the party and probably just in time to ignore the deprecated NSURLConnection and use its replacement NSURLSession - see the Wiki example Retrieving data using system-provided delegates. The NSURLSession Retrieving data using a custom delegate example is next on my ToDo list.

 

TinyPortal © 2005-2018