FW: WebKit not there
FW: WebKit not there
- Subject: FW: WebKit not there
- From: Mark Thomas <email@hidden>
- Date: Tue, 08 Mar 2005 16:10:49 +0000
- Organization: Coderus Ltd
Hi,
I was wondering if anybody had any Cocoa tricks in doing, as I'm very much
new to this way of doing of things. (Also any idea why the checkbox next to
framework in Xcode is there for ???)
Thanks
Mark.
------ Forwarded Message
From: Mark Thomas <email@hidden>
Organization: Coderus Ltd
Reply-To: email@hidden
Date: Thu, 03 Mar 2005 20:20:10 +0000
To: Apple WebKit List <email@hidden>
Subject: Re: WebKit not there
Hi,
I tried removing the Webkit from my project to see what symbols I was
actually linked againist and to my surprise there weren't any. I guess
objective-c did this for me ???. (Is there anything on how system frameworks
work with objective-c runtime calls, How does this all work ???)
but when my app entered the NSApplication in main(), it barfed on trying
to resolve my main.nib file where I have webcontrol and a window, where I
have setup a connect to my control object via an outlet connection
So I wondered if I do
webKitBundle = [NSBundle
bundleWithPath:@"/System/Library/Frameworks/WebKit.framework"];
[webKitBundle load];
Would that make nib file code work, if WebKit is there of course, as I'm
wonder if I should move my webkit resources into a separate nib file ???, as
well as a separate objective-c object, where I could attach my outlets to
???. Does this make sense to anybody or am I going to the wrong way and
missing a trick here ???.
Thanks in advance,
Mark.
-----------------------------------------------------------
> On Mar 2, 2005, at 3:56 PM, Mark Thomas wrote:
>
>> How does one deal when the WebKit SDK is not there, as I think that
>> 10.3
>> WebKit is always there as Safari was bundled with the OS, but when in
>> 10.2
>> land will depend on whether the user has installed it.
>>
>> I have got my application and works great when WebKit is there,
>> when I try
>> running it on 10.2 without WebKit being there, I get a startup link
>> resolve
>> problem because it cannot find it, which makes sense. So when I was
>> in CFM
>> land I would weak link in this library, so my application could still
>> launch, so being in Mach-o land what should one do with a Cocoa
>> application.
>> I'm guessing that the Cocoa message calling mechanism doesn't create
>> hard
>> connection to webkit library.
>>
>> I have added a code path looking for the WebKit framework, and do
>> something without WebKit, but how should I do get my application to
>> execute
>> and get it pass the OS launcher.
------ End of Forwarded Message
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden