Marc Respass | 1 Mar 2005 06:53
Picon

Re: Help with help

Thanks! This article, http://cocoadevcentral.com/articles/000072.php, 
has the most important line which is probably in the documentation but 
not nearly as conspicuous as it should be!

"The value of the CFBundleHelpBookName key should be the "content" 
value that you entered in the meta tag of your title page."

That's what was wrong. I had a different name.

Thanks everyone. I now have official Apple help.

Marc

On Feb 28, 2005, at 4:44 PM, Power Mac User wrote:

> Greetings and Hello!
>
> Perhaps you should check out this site at 
> http://cocoadevcentral.com/articles/000072.php (CocoaDevCentral: 
> Implementing A Basic HTML Help System Under Cocoa).
>
> I used in on one of my own apps and believe it lists everything you 
> need to create a Help Book.
>
> As stated on some of the posts, I don't believe an exact file named 
> "index.html" is absolutely necessary as I got mine to work by naming 
> it's launch page MyAppHelp.html.
>
> Regards,
>
(Continue reading)

Aaron Wallis | 1 Mar 2005 07:41
Picon

Square Toggle Buttons [like in finder]

Hey there,

Im trying to find the buttons like those you can find in the finder 
toolbar i.e. finder view, columns, tree and list view...
are there ones like this in Cocoa?

Cheers
Dudes !
j o a r | 1 Mar 2005 07:58

Re: Square Toggle Buttons [like in finder]


On 2005-03-01, at 07.41, Aaron Wallis wrote:

> Im trying to find the buttons like those you can find in the finder 
> toolbar i.e. finder view, columns, tree and list view...
> are there ones like this in Cocoa?

NSSegmentedControl

j o a r
Daniel Eggert | 1 Mar 2005 10:51
Picon

Re: Trouble With NSTabView

If you delete that extra NSTabView, does the error go away?

The error suggest you're initializes an NSApplication object. Are you 
doing anything to NSApplication? Did you change your main.m?

May also be due to some memory management issues, i.e. if you're using 
a stale pointer that points inside some data of either the NSApp 
instance or data is uses.

/Daniel

On 25 Feb 2005, at 23:16, jerry porter wrote:

> Hello All,
>
> I am resurrecting my cocoa skills after a lapse of a
> couple of years.
> I have gone through most of the tutorials and example
> apps from a number of the cocoa books out there. I
> have created a number of small apps and I am pretty
> comfortable again with the api's.
>
> However, I am having a problem using NSTabView I drag
> one off the palette and place it in a window, I don't
> configure the NSTabVIew, I then save, build and run my
> app.
> I get the following error:
>      2005-02-25 10:09:18.890 PeriodicTable[2850] ***
>     Assertion failure in -[NSApplication init],
>     AppKit.subproj/NSApplication.m:932
(Continue reading)

Daniel Eggert | 1 Mar 2005 10:58
Picon

Re: MacOSX-dev Digest, Vol 14, Issue 38

I think, that the point you're missing, is that your NSTextClass 
subclass is initialized inside Interface Builder -- not while your 
application is running. So the NSCell inside it gets init'ed while IB 
is running.

There are two possible sollution (as far as I recall):

1) The "nice" way of doing it: Create an interface builder palette. 
This can be a challenge by itself, but this way you get to hook up 
inside -init...

2) Inside -awakeFromNib replace the NSCell with the kind, that you want 
it to be.

/Daniel

On 27 Feb 2005, at 23:25, Eric Morand wrote:

> I've already tried this and it didn't work.
>
> But thanks for the input. :o)
>
>
>
>
>
> Le 27 févr. 05, à 23:07, Power Mac User a écrit :
>
>> Perhaps you should try to use NSTextField's (inherited from 
>> NSControl) setCellClass: method.
(Continue reading)

jerry porter | 1 Mar 2005 16:37
Picon
Favicon

Re: Trouble With NSTabView

Daniel,

Thanks for the reply

The only thing I did was just drag the NSTabview from
the palette and place it on my window.

I did not alter the main.m file I used what was
generated by xcode
I did make a subclass of NSApplication, but I am not
otherwise creating another application object (that I
am aware of). I even tried to change my application
class to be a delegate and not an NSApplication
subclass but no difference.

my main.m class looks like this:
#import <Cocoa/Cocoa.h>

int main(int argc, char *argv[])
{
    return NSApplicationMain(argc,  (const char **)
argv);
}

Jerry

--- Daniel Eggert <deg@...> wrote:

> If you delete that extra NSTabView, does the error
> go away?
(Continue reading)

Bob Frank | 1 Mar 2005 20:12
Picon
Favicon

CANCELLED CAWUG MEETING (Chicago)

Hi All,

Sorry for the late notice, but due to family issues I will not be able 
to attend and present at tonight's meeting and no one else was able to 
fill in at the last minute.  Please feel free to congregate at 
O'Toole's and mutter bad things about last minute notice :-)

Once again sorry for the late notice and I hope to see you next month.

-Bob
Knud Möller | 1 Mar 2005 22:29

Binary Search Tree

Hi,

is there a nice binary tree implementation out there? One that would 
take arbitrary objects, similar to Cocoa's collection classes, based on 
the compare method?

Cheers,
Knud
-------------------------------------------------
Knud Möller, MA
+353 - 91 - 512624
Digital Enterprise Research Institute
   National University of Ireland, Galway
Institiúid Taighde na Fiontraíochta Digití
   Ollscoil na hÉireann, Gaillimh
DougFM | 2 Mar 2005 06:07
Picon

Re: General programming/Cocoa problem

Thanks,

I took a look at your modifications and made a few more of my own.  I 
still haven't been able to get it quite right though.  It's supposed to 
start out with a default string and when clicking add/more, put that 
string or one typed in into an object and then fill in the textField 
with another default string.

For example, it might start up with "Text 1" in the textField.  Than 
you might type you name in the textField and hit add. A new object is 
created and your name is put into it. Then the textField will say "Text 
2". But that text is not yet put into an object until add/more is 
clicked.

I really underestimated how difficult this would be!  For now I'll use 
a tableView just to get something working and then get back to it 
later.

Doug

On Feb 28, 2005, at 5:38 AM, Jonathon Mah wrote:

> Hi,
>
> On 28 Feb 2005, at 09:57, DougFM wrote:
>
>> I have a window with a textField in it along with a button labeled 
>> "More" and another labeled "Back". When the window loads the 
>> textField is set with a default value. Each time the More button is 
>> pressed an object that contains a string variable (among other stuff) 
(Continue reading)

Paul | 2 Mar 2005 08:12

Custom NSCell - iTunes Source List

Hi everyone,
I have a seemingly huge challenge for a newbie such as myself. I am trying
to create an editable "Source List" ala itunes. Apple is using this a lot
and I have seen a few people asking but have found few answers.

My Question:
I am working towards this - I have a NSCell subclass that draws an image -
but how on earth do I draw a NSTextField into the same custom cell. And
control the size of the edit frame all programatically.

The Goal:
1 custom NSCell (that I can attach to a tableview) with an Image and with an
editable NSTextField.

The text field must have an edit rectangle the same size of the text(which
varies). (just like itunes if, a playlist name consists of 1 char then the
edit box is really tiny).

Granted I can do this with 2 separate cells (although I would love to learn
how to "compose" a control out of multiple elements, but I still have no
idea how to control the edit frame for the text field.)

I have looked into field editors & setting up field editors and have been
barking up the wrong tree (IMHO) it seems I need standard field editor
behavior - just the size of the frame of what is being edited is my problem.

Any help/comments/info will be rewarded 1000000 karma credits (redeemable in
your next life). Bonus points for a link to sample code somewhere on the
dang web.
:-)
(Continue reading)


Gmane