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

Added new InfoPList.strings

It's now UTF-8 and recognized as a text file. Shuts up a build warning.
latest commit 9d111c03ab
@uliwitness authored
Failed to load latest commit information.
English.lproj Added new InfoPList.strings
UKDockableWindow.xcodeproj Upgraded NIB to XIB
Info.plist Initial check-in of UKDockableView. Project not openable by Xcode 4.
NSApplicationWindowAtPoint.h Initial check-in of UKDockableView. Project not openable by Xcode 4.
NSApplicationWindowAtPoint.m Take into account window order when dropping
NSBezierPathRoundRects.h Initial check-in of UKDockableView. Project not openable by Xcode 4.
NSBezierPathRoundRects.m Initial check-in of UKDockableView. Project not openable by Xcode 4.
NSViewViewIntersectingRect.h
NSViewViewIntersectingRect.m Initial check-in of UKDockableView. Project not openable by Xcode 4.
README Wrote Readme
UKDockableView.h
UKDockableView.m Add note of bad window-dragging code
UKDockableWindow-Info.plist
UKDockableWindow-Prefix.pch Updated project to Xcode 4
grippy.psd Initial check-in of UKDockableView. Project not openable by Xcode 4.
grippy.tiff Initial check-in of UKDockableView. Project not openable by Xcode 4.
main.m Updated project to Xcode 4

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.