• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebKit & MiniBrowser: Document Tail Wagging the Dog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebKit & MiniBrowser: Document Tail Wagging the Dog


  • Subject: Re: WebKit & MiniBrowser: Document Tail Wagging the Dog
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 30 Jun 2005 05:32:13 -0700

on 05/06/29 22:15, Seth Willits at email@hidden wrote:

> On Jun 29, 2005, at 9:13 PM, Jerry Krinock wrote:
>
>> I thought it would be cool to incorporate Apple's "MiniBrowser"
>> (/Developer/Examples/WebKit) into my app.
>>
>> So, I did it.  It works, just like Apple's example.  When my app
>> launches,
>> apparently through the magic of AppKit or WebKit, the "mini
>> browser" window
>> loads and shows.  But I don't want it to load until later!
>
> Turn off the "Visible at Launch Time" property for the window in IB.

Thank you, Seth, but I'd already done that.  That box is UNchecked but the
window still loads anyhow.

_I_ do not execute any of the NSDocument code; like I said, it looks like
all callbacks.   As far as I can see, the only clue it gets to that nib is
its mention in the CFBundleDocumentTypes dictionary in Info.plist.  Is there
something in here which causes it to load?

    <key>CFBundleDocumentTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeExtensions</key>
            <array>
                <string>html</string>
                <string>htm</string>
            </array>
            <key>CFBundleTypeMIMETypes</key>
            <array>
                <string>text/html</string>
            </array>
            <key>CFBundleTypeName</key>
            <string>HTML Document</string>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>LSTypeIsPackage</key>
            <false/>
            <key>NSDocumentClass</key>
            <string>BrowserDoc</string>
        </dict>
    </array>


 _______________________________________________
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

References: 
 >Re: WebKit & MiniBrowser: Document Tail Wagging the Dog (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Doc problem? File mgmt...
  • Next by Date: Categories in plugins
  • Previous by thread: Re: WebKit & MiniBrowser: Document Tail Wagging the Dog
  • Next by thread: Re: WebKit & MiniBrowser: Document Tail Wagging the Dog. Solved
  • Index(es):
    • Date
    • Thread