Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A view that can be torn out of a window, or dropped into another window again.
Objective-C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
English.lproj
UKDockableWindow.xcodeproj
Info.plist
NSApplicationWindowAtPoint.h
NSApplicationWindowAtPoint.m
NSBezierPathRoundRects.h
NSBezierPathRoundRects.m
NSViewViewIntersectingRect.h
NSViewViewIntersectingRect.m
README
UKDockableView.h
UKDockableView.m
UKDockableWindow-Info.plist
UKDockableWindow-Prefix.pch
grippy.psd
grippy.tiff
main.m

README

UKDOCKABLEVIEW

This is currently a study of how one could implement a view that can be moved from one window to another or can be torn out of a window and made another window of its own.

This technique could be used to e.g. implement Safari-style tabs where you can move them inside the tab bar, drop one tab into the tab bar of another window, or make a tab its own window.

This code is about 7 years old and was made available upon request. I am not currently using it in any projects, but if someone wants to update this to suit the tabs use-case better, I'd be happy to take submissions.

WARNING:

The dragging code needs to be rewritten before this is suitable for use in a shipping product.

LICENSE:

As always, this is under a zlib-style license, but (c) Copyright 2004 M. Uli Kusterer.
Something went wrong with that request. Please try again.