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
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
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
How do I get the name of ...
by
Leledumbo
[
Today
at 05:09:26 am]
TProcess without freezing...
by
Ericktux
[
Today
at 04:53:18 am]
Runtime error 216 when lu...
by
trev
[
Today
at 04:42:23 am]
threading question
by
anonymousstranger
[
Today
at 04:42:08 am]
MOVED: Runtime error 216 ...
by
trev
[
Today
at 04:35:11 am]
Multiple forms
by
rwebb616
[
Today
at 01:08:39 am]
Needing help with Sqlite ...
by
speter
[
Today
at 12:59:19 am]
FPLite? (An alternative e...
by
FlierMate
[
Today
at 12:17:03 am]
Translated Textbook
by
dbannon
[January 23, 2021, 11:54:56 pm]
trying to make a Windows ...
by
SA.Blackmon
[January 23, 2021, 11:38:46 pm]
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Objective Pascal delegates problem? (Read 3674 times)
MISV
Hero Member
Posts: 711
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: 1213
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
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM
trev
Global Moderator
Hero Member
Posts: 1213
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
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
macOS / Mac OS X
»
Objective Pascal delegates problem?
TinyPortal
© 2005-2018