FROM : Uli Kusterer
DATE : Wed Jan 09 18:44:15 2008
On 03.01.2008, at 22:41, John Calhoun wrote:
> A workaround for Tiger might be to call the private -[setDocument:]
> call yourself after adding the page to a document. Something like:
>
> [someDocument insertPage: originalPage atIndex: i];
> [[someDocument pageAtIndex: i] setDocument: someDocument];
>
> This should have no ill effect on Leopard.
OTOH, you may as well check the system version and only do it on
Tiger. That way, you won't have to worry that it may break future
versions...
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
DATE : Wed Jan 09 18:44:15 2008
On 03.01.2008, at 22:41, John Calhoun wrote:
> A workaround for Tiger might be to call the private -[setDocument:]
> call yourself after adding the page to a document. Something like:
>
> [someDocument insertPage: originalPage atIndex: i];
> [[someDocument pageAtIndex: i] setDocument: someDocument];
>
> This should have no ill effect on Leopard.
OTOH, you may as well check the system version and only do it on
Tiger. That way, you won't have to worry that it may break future
versions...
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
| Related mails | Author | Date |
|---|---|---|
| Jerry LeVan | Dec 21, 20:56 | |
| Nick Zitzmann | Dec 22, 21:29 | |
| Jerry LeVan | Dec 23, 04:28 | |
| John Calhoun | Jan 2, 22:25 | |
| Jerry LeVan | Jan 2, 22:40 | |
| John Calhoun | Jan 3, 22:41 | |
| Uli Kusterer | Jan 9, 18:44 | |
| Jerry LeVan | Jan 9, 19:21 | |
| John Calhoun | Jan 15, 00:20 | |
| Jerry LeVan | Jan 15, 00:59 |






Cocoa mail archive

