NSLog(@"%@", [NSUnarchiver
unarchiveObjectWithFile:@"/Users/facelap/Sites/Work/Data.archive"]);
Outputs: (null)
NSLog(@"%@", [NSDictionary dictionaryWithContentsOfURL:fileUrl]);
outputs:
{
"$archiver" = NSKeyedArchiver;
"$objects" = (
"$null",
{
Correction: I meant NSKeyedArchiver / NSKeyedUnarchiver
On 23/07/64 7:59 AM, Michael Robinson wrote:
Hi List,
I'm wondering if it is possible to extract all keys from a
Data.archive file that was saved with an NSArchiver?
Note I no longer have the source code that saved this file, hen
yes, it's noise...
Also it's not just one, they're save files for an old program I made -
I'd like to be able to extract the data so I can save it in the format
used for more recent versions
Here's the contents of one of the files when opened with TextEdit:
bplist00‘
Hi List,
I'm wondering if it is possible to extract all keys from a
Data.archive file that was saved with an NSArchiver?
Note I no longer have the source code that saved this file, hence my
desire to extract the keys & information stored there.
Thanks
Mike
__
Hi List,
I'm attempting to create a bunch of png or jpg images based on user-set
options.
I'm getting images with a lot of noise in them, I was wondering if
anyone has any ideas why this would be? I've attached a screenshot of
the noisy images I've been getting. The shot is of four images that
Hi list,
I stupidly lost the source code to a program I wrote a long time ago,
and now have enough spare time to re-write it.
The program stored data with NSCoder.
The re-written program needs to be able to read the same data.
As I lost the source code, I would like to know if there is a way
Greetings List,
A month ago my main hard disk failed, and I lost some development files
that were not backed up. Yes I know I am stupid.
Unfortunately the disk is too damaged for any recovery.
I have the latest version of the project I was working on, but it is in
a compiled, releasable for
I was wondering if anyone had any ideas on how to do this?
Thanks
Michael Robinson wrote:
Hi list,
I'd like to be able to use an NSImageView to display a default
animated GIF image. The image may be replaced by the user.
I have been using the code below to save / load images from /
(I really did intend for this to reach the list, but I hurriedly pressed
the "reply to sender" hotkey)
Hi Jean-Nicolas
I too had a horrible time implementing this.
Below I've pasted the code that handles dnd re-ordering in my table.
Basically it just makes a copy of the dragged row, deletes i
Hi list,
I'd like to be able to use an NSImageView to display a default animated
GIF image. The image may be replaced by the user.
I have been using the code below to save / load images from / into the
image view. I would like to know how, if it is possible, one saves an
animated gif, pres
rmany doesn’t want to go to war, and the three most
powerful men in America are named ‘Bush’, ‘Dick’, and ‘Colon.’ Need I
say more?”
-- Chris Rock
On 4/10/2008, at 7:55 PM, Graham Cox wrote:
On 4 Oct 2008, at 2:17 pm, Michael Robinson wrote:
Now I'd like to replace this:
On 2/10/2008, at 5:29 AM, David Duncan wrote:
On Oct 1, 2008, at 5:46 AM, Michael Robinson wrote:
Unsurprisingly, I need my hand held again.
1. how do I initialize a CGShading object, with my two colours
(left right/top bottom)
See the Quartz 2D Shadings sample at <h
Hello again
I would like to draw one path, which is used as a border.
I naively assumed I could change the colour of the path as it is
constructed, but it seems this is not the case.
If I change the colour (using [[NSColor blackColor] set]; for
example), this changes the colour for the ent
I'm making a plugin for Rapidweaver, and need to create a background
image that has rounded corners + a border, an optional gradient, an
optional background colour (that may show through the gradient
depending on gradient's opacity).
When I've got the image drawing correctly, depending on t
our help
On 1 Oct 2008, at 11:55, Michael Robinson wrote:
On 1/10/2008, at 11:44 PM, Alastair Houghton wrote:
The CSS could be something like
div.box { position: relative }
div.box div.tl { position: absolute; top: 0px; left: 0px; z-index:
100 }
div.box div.tr { position: absolute; top: 0px
On 1/10/2008, at 3:23 AM, Alastair Houghton wrote:
On 30 Sep 2008, at 12:59, Michael Robinson wrote:
Thanks for your incredibly swift replies!
changing "float retVal" to "double retVal", using "return
lround(retVal);" and casting ints as doubles in the form
Thanks for your incredibly swift replies!
changing "float retVal" to "double retVal", using "return
lround(retVal);" and casting ints as doubles in the formula gave me
some real values, which is wonderful!
I could have saved myself two hours by asking the list when I first
ran into this p
Hello,
I am trying to convert the following from Javascript to Cocoa ObjC:
var retVal = Math.round(cornerSize*(1-Math.cos(Math.asin(i/
cornerSize;
return retVal;
Now retVal _must_ be an int, because the value is used as a margin
attribute ("rounding" corners of divs).
This is what I'
Hi
I need to use a NSTableView to control data input by the user. The
table has two columns, labeled "Title" and "Content". The number of
columns is fixed.
I've read what I can find on the internet, but a lot of it goes way
over my head (I'm fairly new at ObjC and xCode -- coming from J
Hi
I need to use a NSTableView to control data input by the user. The
table has two columns, labeled "Title" and "Content". The number of
columns is fixed.
I've read what I can find on the internet, but a lot of it goes way
over my head (I'm fairly new at ObjC and xCode -- coming from J
20 matches
Mail list logo