delegation Questions
1
Solved
I'm trying to transform one method call into another dynamically (at runtime).
For instance, I'd like the following:
[obj foo]
to delegate to:
[obj getAttribute: @"foo"]
(I'd like to do thi...
Lenitalenitive asked 7/1, 2011 at 22:18
3
Solved
We've recently released the latest version of our intranet application, which now uses windows authentication as standard, and needs to be able to connect to a configured SQL server with the end-us...
Closefitting asked 1/11, 2010 at 18:36
4
I am fairly new to Objective-C, but experienced in Java. Is there the equivalent concept of Objective-C "delegation" in Java, so that I may understand this notion better? Would there be a way to em...
Pointdevice asked 14/1, 2009 at 20:35
1
Solved
I'm creating a class which will contain a list of IP addresses, as Net::IP objects.
I've wrapped the Net::IP object as a subtype (IPAddress), and defined a coercion from a string to IPAddress. The...
Moving asked 20/10, 2010 at 14:57
2
Solved
I know that there is @inheritDoc, but it's only for methods which override others.
I have several classes with many delegate methods (which do not override others).
Can their Javadoc be "inherite...
Chiropractor asked 1/9, 2010 at 12:54
2
i have an object which delegates implementation of a particularly complex interface to a child object. This is exactly i think is the job of TAggregatedObject. The "child" object maintains a weak r...
Sprint asked 14/8, 2010 at 14:13
3
I'm dealing with some asynchronous communication situations (Event-driven XML parsing, NSURLConnection response processing, etc.). I'll try to briefly explain my problem:
In my current scenario, t...
Paulapauldron asked 22/12, 2009 at 17:15
1
Solved
I'm used to using Objective-C protocols in my code; they're incredible for a lot of things. However, in C++ I'm not sure how to accomplish the same thing. Here's an example:
Table view, which has...
Caviar asked 28/6, 2010 at 6:58
3
Solved
Sometimes, C++'s notion of privacy just baffles me :-)
class Foo
{
struct Bar;
Bar* p;
public:
Bar* operator->() const
{
return p;
}
};
struct Foo::Bar
{
void baz()
{
std::cout <...
Afro asked 1/6, 2010 at 18:21
3
Solved
Is there any difference in terms of implementation as how a composition design can be different from delegation. For example the code below seems to be doing delegation since the user cannot access...
Endocrinology asked 26/1, 2010 at 2:36
1
Solved
I've got an ASP.NET web application which uses Windows Authentication. This application needs to connect to another ASP.NET web service (which also uses Windows Authentication) and use the same cre...
Bathurst asked 21/10, 2009 at 12:35
1
Solved
I am used to that Python allows some neat tricks to delegate functionality to other objects. One example is delegation to contained objects.
But it seams, that I don't have luck, when I want to de...
Taxiway asked 20/6, 2009 at 20:39
6
Solved
One problem in large C++ projects can be build times. There is some class high up in your dependency tree which you would need to work on, but usually you avoid doing so because every build takes a...
Salomesalomi asked 9/6, 2009 at 23:24
2
I'm currently using ClaimID and have the following data on my website to allow delegation:
<link rel="openid.server" href="http://openid.claimid.com/server" />
<link rel="openid.del...
Nonjoinder asked 20/5, 2009 at 21:1
© 2022 - 2024 — McMap. All rights reserved.