Hello,
I have a WebView where I am loading html like this:
NSString *baseContextFile = [[NSBundle mainBundle]
pathForResource:@"base"
ofType:@"html"];
Hello,
What is the best way to get access to the file that is dropped on an
NSTextView. I don't want to embed the file in the view, but I'd like to copy
the file somewhere else and add arbitrary text in its place. I'm thinking I
should be looking at NSTextAttachment, but I'm not sure if I'm b
Well, before this goes any further, I'm going to go ahead and answer my own
question here.
The problem is that in the code below, I'm actually instantiating two
AppController objects, one in each NIB. So, one AppController doesn't have any
idea about the other AppController, and can't get to i
> I must agree with this paragraph whole-heartedly - my single favorite thing
> about OS X is the way so many applications can be installed by dragging a
> simple icon somewhere, and can be uninstalled by dragging that same icon to
> the Trash. No need to worry about an installer dumping crap where
> NSManagedObject *hostObj = [NSEntityDescription
> insertNewObjectForEntityForName:@"Host" inManagedObjectContext:[[NSApp
> delegate] managedObjectContext]];
>
Ahhh... there's what I was missing: the [NSApp delegate] part of
declaring a new entity. I'm not at my Mac right now, but I'll give
tha
Hello,
I have a problem with my app that is most likely very simple for
someone with experience. I have a core data based application that I
would like to be able to add objects to via a sheet that drops down
when the user clicks the + button (or presses Command-N). On the
sheet are two
Thanks for your help everyone! I wound up taking a look at someone else's
code that is working, and basing my code off their example. (Thanks Aron!)
I don't have it working just yet, but I've got a little more reading to do
on NSMutableArray. My app is not adding the NSBezierPath object to my ar
On Tue, Jul 15, 2008 at 3:00 AM, Antonio Nunes <[EMAIL PROTECTED]>
wrote:
> On 15 Jul 2008, at 04:53, Jon Buys wrote:
>
> I'm working through the challenge app at the end of Chapter 18 of Cocoa
>> Programming, Third Edition. I've got my app to the point where it
Hello All,
I'm working through the challenge app at the end of Chapter 18 of Cocoa
Programming, Third Edition. I've got my app to the point where it can draw
ovals, but each time I click in the window it seems like the view redraws
itself. I'm sure that this is a very simple question with a very
I'm in the same boat. The best thing I can recommend is to buy the Cocoa
Programming book by Hillegass:
http://www.amazon.com/exec/obidos/ASIN/0321503619/bignerdranch-20
I'm halfway through, working on the chapter 18 challenge. Between that
book, Apple's developer web site, and this mailling lis
10 matches
Mail list logo