Charles Srstka wrote:
It’s a little disturbing that private instance variables can be
altered so easily, but then I suppose the same thing could just as
easily be done by a third-party monkeying with the ivar in a category.
No programming language with direct memory access is ever entirely
On 24.09.2011, at 08:02, G S wrote:
> So is it not practical to have a view controller that can be
> instantiated either way? If it is practical, how would one do it?
> Explicitly load from a previously specified XIB in loadView?
I think you may be conflating two things here:
1) The *view contr
It's easy to lock an NSWindow aspect ratio with setAspectRatio: or
setContentAspectRatio: but is there a way to unlock it? Documentation
for contentAspectRatio states that the default content aspect ratio is
(0, 0), so you might think setting to the "default" would work, but it
doesn't — it makes t
On Sat, Sep 24, 2011 at 6:10 PM, Arbit Richardi wrote:
> It's easy to lock an NSWindow aspect ratio with setAspectRatio: or
> setContentAspectRatio: but is there a way to unlock it? Documentation
> for contentAspectRatio states that the default content aspect ratio is
> (0, 0), so you might think
I have a document based app which can change the appearance of it's documents
(which changes do *not* alter the disk representation at all),
and also make real changes of the data.
Both kind of actions are un-doable.
The problem:
When I open some old document (without any intention to change it)
Look up discardable actions in the NSUndoManager reference.
--Kyle Sluder
(Sent from the road)
On Sep 24, 2011, at 6:57 PM, "Gerriet M. Denkmann" wrote:
> I have a document based app which can change the appearance of it's documents
> (which changes do *not* alter the disk representation at al
The underlying open() system call can open documents read-only. See
man 2 open. Does Cocoa have a way to specify read-only document open
that passes the right flag to open()?
--
Don Quixote de la Mancha
quix...@dulcineatech.com
Custom Software Development for the iPhone and Mac OS X
http
On 25 Sep 2011, at 09:01, Kyle Sluder wrote:
> Look up discardable actions in the NSUndoManager reference.
Thank you very much. This was exactly what I was looking for.
Kind regards,
Gerriet.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)