draw
shadows.
Ian.
On 26/07/2008, at 7:36 AM, Jonathan Dann wrote:
How odd I came across this yesterday on my travels! The site for
this source is
http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html
Jonathan
www.espresso-served-here.com
On 25 Jul 2008, at 11:13, Ian Jackson wrote:
Hi Graham,
if I understand your question, then I wanted to do something like this
a while back. I got something off the internet, though I can't
remember where. Here's the source that I incorporated into my code.
It's been ages since I added it in, so I can't remember whether this
takes
Thanks for your responses.
Looks like stringWithContentsOfFile:encoding:error: does what I need.
Jens, at least I know not to pursue the NSScanner thing any further in
this case.
Thanks,
Ian.
On 23/07/2008, at 3:39 AM, Jens Alfke wrote:
On 22 Jul '08, at 2:09 AM, Ian Jackson
Hi,
I'm looking for some help parsing a string from a file.
Firstly, getting the string is causing some issues. I read the String
Programming Guide for Cocoa, and got this:
NSString *path = ...;
NSData *data = [NSData dataWithContentsOfFile:path];
// assuming data is in UTF8
NSString *strin
I've found that trashing the build folder is often a worthwhile step,
and one other thing someone pointed out to me, is that you should do
it when Xcode is not running. Otherwise it can still mysteriously
remember some things that it's cached.
Ian.
On 27/04/2008, at 9:47 PM, Graham Cox wr
Whitespace is preserved, not ignored. But in your example, the new
line is in the attribute value, so I don't suppose XML cares too much
what's between the quotation marks.
So if you can obtain the value of the data attribute, and print the
value to the console, does it come out with a space
Perhaps you have a good reason, but from your description, and being
used to using Mail, I'd expect the lower part to display the content
with a single click.
Have you used setTarget: and setAction: to coordinate this double
click event?
Ian.
On 23/04/2008, at 8:33 PM, Ewan Delanoy wrote:
ILEGED OR CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE
IS STRICTLY PROHIBITED.IF YOU HAVE RECEIVED THIS MESSAGE IN ERROR,
PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT THE RECORDS.
PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
-Original Message-----
From: Ian Jackson [mail
Does this mean that you want to create a new object and add it to the
array, by typing a new string into the combo box (and pressing enter)?
My feeling is you'd need to write a bit of code yourself for that.
Ian.
On 1/04/2008, at 9:44 AM, David Springer wrote:
All,
I'm having trouble sett
Ah OK, I see. But I can't help.
However the business of saving before you start happens with
Garageband and iMovie. So on the plus side, it's not unheard of. On
the downside, I agree it's a bit odd.
Ian.
On 2/04/2008, at 10:26 PM, Quincey Morris wrote:
On Apr 2, 2008
Have you done the tutorial?
http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/NSPersistentDocumentTutorial.pdf
You can add in the data as you like, and save when you've finished.
Ian.
On 2/04/2008, at 9:42 PM, Quincey Morris wrote:
It appears that a new (u
Following on from a previous question (Core Data/IB questions), I am
seeking advice again on how I should accomplish the following:
I need to select an arbitrary number (i.e. not necessarily 1 or all)
of objects from a set of all objects belonging to another entity. I
assumed this was a job
you are describing similar to the "To Dos" example at:
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
Adam
On Thu, Mar 27, 2008 at 5:33 AM, Ian Jackson <[EMAIL PROTECTED]>
wrote:
If I may be so bold, I'd like to jump in on this question. I have a
similar s
If I may be so bold, I'd like to jump in on this question. I have a
similar situation, but I want to have a table representing a to-many
relationship for entity1, which the user can populate by choosing any
number of entries from a entity2.
e.g. entity2 has 50 entries.
entity1 1st
I'd like to have my XML file read by my app, and save the file, or
display it in a NSTextView, as RTF (with the appropriate formatting
etc).
So I have been trying to use:
- (id)objectByApplyingXSLTAtURL:(NSURL *)xsltURL arguments:
(NSDictionary *)argumentserror:(NSError **)error
Which is
I assumed that fullNameAndID would be available among the choices
presented in the bindings pane. That not being the case, I tried
typing it in, and it worked. Yay!
Ian.
On 13/03/2008, at 1:20 AM, Adam P Jenkins wrote:
On Mar 12, 2008, at 5:15 AM, Ian Jackson wrote:
I was happily
I was happily plugging through the NSPersistentDocument Tutorial, when
I got to the "Creating a Custom Class" chapter. The first strange
thing is that when I created the files, the next instruction is to
change the class name for the Employee entity from NSManagedObject to
Employee, but thi
17 matches
Mail list logo