Saving NSFonts and changedFont: trouble

2008-04-08 Thread Thomas Backman
Hey everybody. I'm working on a small app - to make the post shorter, lets just say that it displays (plain) text, but I want the user to be able to pick the font used (the same font should be used for all the text). Right now, I have a changedFont: method in my controller class, that

Re: Saving NSFonts and changedFont: trouble

2008-04-08 Thread Thomas Backman
or controls start to get confused. May or may not solve your problem though. On Apr 8, 2008, at 8:41 AM, Thomas Backman wrote: Hey everybody. I'm working on a small app - to make the post shorter, lets just say that it displays (plain) text, but I want the user to be able to pick the font used

Re: Saving NSFonts and changedFont: trouble

2008-04-09 Thread Thomas Backman
fundamentals, but: could somebody give me a hint how to intercept/receive the message sent directly to the textview? TIA /Thomas On Apr 8, 2008, at 4:41 PM, Thomas Backman wrote: Hey everybody. I'm working on a small app - to make the post shorter, lets just say that it displays (plain) text

Re: Saving NSFonts and changedFont: trouble

2008-04-09 Thread Thomas Backman
with these methods at all, just write a method that will save the new font and apply to the text view. Todd Ransom Return Self Software http://returnself.com On Apr 9, 2008, at 10:25 AM, Thomas Backman wrote: Hmm, I just noticed that if I do [mainWindow makeFirstResponder:textView]; It never

NSSearchField and NSArrayController filtering

2008-04-11 Thread Thomas Backman
Hi everybody, I've got a small app with two tableviews; one with iTunes playlists, and one with the tracks in the selected playlist. (Just doing this to learn) I added a NSSearchField to the program, but can't get it to work. Am I right that it's meant to be possible to, with 0 lines of

Re: to write to file except NSData*

2008-04-15 Thread Thomas Backman
Sorry to duck your question, but are you sure you don't want NSKeyedArchiver and similar classes? /Thomas On Apr 15, 2008, at 4:38 PM, Nick Rogers wrote: Hi, I am creating a file with: NSFileManager *fileManager = [NSFileManager defaultManager]; [fileManager createFileAtPath:path

Frameworks in bundles?

2008-04-15 Thread Thomas Backman
Hi everybody. I'm writing a plugin architecture for my app. I just moved a class from the main project to a new Bundle project, and got 18 errors because of a few missing frameworks. I'm using two frameworks that I ship with the app, since they're not included in OS X. To start with, I'll

Re: Implementing fast enumeration

2008-05-03 Thread Thomas Backman
Hmm, your previous message/thread made it and has two answers. Regards, Thomas On May 2, 2008, at 10:41 AM, Ben wrote: I have been reading the documentation for implementing the NSFastEnumeration protocol and am having some difficulties following it. For completeness, here is the