Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
Objective Pascal delegates problem?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
System.Now gives timestam...
by
alpine
[
Today
at 06:58:15 pm]
Demo Scene Bitmap Font Sc...
by
circular
[
Today
at 06:53:32 pm]
Your best UI design - con...
by
circular
[
Today
at 06:48:12 pm]
Web Applications with Pas...
by
1HuntnMan
[
Today
at 06:44:00 pm]
splitting an image
by
Dzandaa
[
Today
at 06:40:45 pm]
Converting a string/index...
by
1HuntnMan
[
Today
at 06:35:19 pm]
Debugger error
by
Martin_fr
[
Today
at 06:06:12 pm]
Drawing grid lines on a t...
by
KodeZwerg
[
Today
at 05:42:19 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[
Today
at 05:29:03 pm]
Lazarus features in a non...
by
Lutz Mändle
[
Today
at 05:26:34 pm]
what's difference between...
by
egsuh
[
Today
at 05:24:24 pm]
Lazarus for Windows on aa...
by
msintle
[
Today
at 05:03:57 pm]
AI, NLP and CAI: Text Gen...
by
indydev
[
Today
at 04:51:00 pm]
Parameter passing odditie...
by
KodeZwerg
[
Today
at 03:41:49 pm]
How to: create DLL file f...
by
KodeZwerg
[
Today
at 03:24:20 pm]
Surf Units in Text Mode I...
by
mosquito
[
Today
at 01:58:21 pm]
Ho Ho Ho IntraWeb in Laza...
by
Thaddy
[
Today
at 01:55:52 pm]
Generics - correct syntax
by
Thaddy
[
Today
at 01:48:32 pm]
FpDebug questions
by
440bx
[
Today
at 01:22:53 pm]
leetcode doesn’t support ...
by
codeninja
[
Today
at 01:16:43 pm]
Can function be used for ...
by
Joanna
[
Today
at 12:48:19 pm]
Access violation when ope...
by
Чебурашка
[
Today
at 12:14:30 pm]
Access violation when re-...
by
Chris Osborne
[
Today
at 11:43:49 am]
how to tweek fpmake to co...
by
marcov
[
Today
at 10:35:11 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Objective Pascal delegates problem? (Read 5640 times)
MISV
Hero Member
Posts: 792
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
»
Logged
trev
Global Moderator
Hero Member
Posts: 2023
Former Delphi 1-7, 10.2 user
Re: Objective Pascal delegates problem?
«
Reply #16 on:
January 22, 2020, 12:11:02 pm »
Quote from: MISV on January 22, 2020, 11:18:07 am
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
Logged
trev
Global Moderator
Hero Member
Posts: 2023
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.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
Objective Pascal delegates problem?
TinyPortal
© 2005-2018