On Sat, Jul 7, 2012 at 6:30 AM, Ken Thomases wrote:
> >
> > Thank you. And please, can you explain to me why is it that case? Is it
> simply because AppKit includes the definition of NSTextViewDelegate
> protocol and not includes one for NSApplicationDelegate?
>
> Correct.
>
> > Is it somewhere d
On Jul 6, 2012, at 1:01 PM, Stephen J. Butler wrote:
> On Fri, Jul 6, 2012 at 4:35 AM, ecir hana wrote:
>> Sorry I should've said that before: no, I'm on 10.6.
>>
>> But thanks for the reply!
>
> You're positive you're linking against the 10.6 SDK? Even if you're on
> 10.6 you might be linking
On Fri, Jul 6, 2012, at 10:00 PM, ecir hana wrote:
> On Fri, Jul 6, 2012 at 8:01 PM, Stephen J. Butler
> wrote:
>
> >
> > You're positive you're linking against the 10.6 SDK? Even if you're on
> > 10.6 you might be linking against the 10.5 SDK and that would explain
> > your problem perfectly.
> >
On Fri, Jul 6, 2012 at 8:01 PM, Stephen J. Butler
wrote:
>
> You're positive you're linking against the 10.6 SDK? Even if you're on
> 10.6 you might be linking against the 10.5 SDK and that would explain
> your problem perfectly.
>
>
NSAppKitVersionNumber says "1038.36" which is 10.6.
On Fri, Jul 6, 2012 at 4:35 AM, ecir hana wrote:
> Sorry I should've said that before: no, I'm on 10.6.
>
> But thanks for the reply!
You're positive you're linking against the 10.6 SDK? Even if you're on
10.6 you might be linking against the 10.5 SDK and that would explain
your problem perfectly
On Fri, Jul 6, 2012 at 11:56 AM, Ken Thomases wrote:
> > Is there a way to get NSApplicationDelegate protocol besides the
> > compile-time "@protocol()"?
>
> No. The run-time information about the protocol is obtained from
> information that would have to have been baked into the executable at b
On Jul 6, 2012, at 3:30 AM, ecir hana wrote:
> I'm trying to get the methods a protocol specifies and just stumbled upon
> one problem: the following code returns NULL:
>
>Protocol *protocol = objc_getProtocol("NSApplicationDelegate");
>
> I saw (
> http://stackoverflow.com/questions/1021211
Sorry I should've said that before: no, I'm on 10.6.
But thanks for the reply!
On Fri, Jul 6, 2012 at 11:14 AM, Stephen J. Butler wrote:
> On Fri, Jul 6, 2012 at 3:30 AM, ecir hana wrote:
> > I'm trying to get the methods a protocol specifies and just stumbled upon
> > one problem: the followi
On Fri, Jul 6, 2012 at 3:30 AM, ecir hana wrote:
> I'm trying to get the methods a protocol specifies and just stumbled upon
> one problem: the following code returns NULL:
>
> Protocol *protocol = objc_getProtocol("NSApplicationDelegate");
Are you trying this on 10.5? Or are you building thi
Hello,
I'm trying to get the methods a protocol specifies and just stumbled upon
one problem: the following code returns NULL:
Protocol *protocol = objc_getProtocol("NSApplicationDelegate");
I saw (
http://stackoverflow.com/questions/10212119/objc-getprotocol-returns-null-for-nsapplicationde
10 matches
Mail list logo