eclared and implemented, and
you do that like this:
@interface ClassIWantToUseSomeProtocolMethodIn : NSObject
Bye
Mario Kušnjer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
ew
to be displayed.
Correct ? Wrong?
Thanks for suggestions.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
mariokusnjer (at) Skype
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments t
that but I don't know to make a use of them.
If any one knows something which could point me to the solution it
will be much appreciated.
Thanks in advance. Bye.
P.S. example picture in attachment
<>
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
marioku
[okButton setBezelStyle:11];
[[[NSApp mainWindow] contentView] addSubview:okButton];
[okButton release];
}
- (void)dealloc
{
[NSApp setDelegate:nil];
[super dealloc];
}
- (void)okButtonAction:(id)sender
{
NSBeep();
}
@end
Thanks.
Mario Kušnjer
mario.kus
r the action, and from the AppDelegate to the control
for the outlet.
Sorry if you already know this.
Ian.
On 9/02/2010, at 5:03 PM, Jonathan Chacón wrote:
Please, read first post. He specifically said that he is blind.
Obviously, he can't control-drag.
Mario Kušnjer
mario.kusn...@s
ow to implement these protocols in my Cocoa application.
Thanks in advance.
Bye
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
Thank you for your explanations, Clark, Jeff and Graham.
I think i will go now and read a C book (yes, I know I should have
read it by now) because it seems to me I have been missing something.
Bye
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
cell->image is semantically identical to (*cell).image. That is, it's
directly accessing the instance variable "image" of the object "cell"
This part is what trouble's me.
cell->image = [image retain];
This could not be like this, right ?
[cell imag
ng for a child-like explanation of this
implementation.
Thanks for your answers in advance. Bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator c
chive at http://www.box.net/crowebster-public.
Bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
than it is indented (default in IB is 14), but
when I add child object to it,
root object indentation gets reset to zero (0).
How do I fix that ?
Bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
___
Cocoa-dev mailing list (Cocoa-dev
Disregard that last question.
I have just checked online documentation on Apple Dev site.
It's Snow Leopard feature, not available in Leopard.
So, I should subclass NSOutlineView to solve my problem (on Leopard) ?
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+3859570
Question for Jean-Daniel and Dave
Is that delegate method in Snow Leopard ?
Because I don't see it in Leopard !
- (BOOL)outlineView:(NSOutlineView *)outlineView
shouldShowOutlineCellForItem:(id)item;
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+3859570
On 2009.11.25, at 17:20, Jens Alfke wrote:
On Nov 25, 2009, at 5:49 AM, Mario Kušnjer wrote:
How to hide the disclosure triangle in front of the Root object and
remove indentation for it, and just that object (and later if there
is more Root objects for them too) ?
I think what you
implest possible way) ?
Notice: All objects are instances of NSMutableDictionary.
That problem is also in the same project.
Any suggestions are appreciated.
Thanks in advance. Bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
___
Cocoa-dev mai
ForItem:parent]] byExtendingSelection:NO]; <---
select row according to index from indexSet created with row index of
outline view for item - parent
[parent release]; <--- release Parent object
}
Again this works fine.
Ok, that's it.
Bye !
Mario K
mething useful) post a
link to the list for the entire source code so anyone interested to
review it (and point out my mistakes) will
be most welcome.
Since I have no idea how to use Instruments (and until I do) this will
be very helpful to me in future learning.
Thanks again.
By
help
Bye
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
mariokusn...@skype
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-a
subject of outline view and
probable about nesting another level of children in the data tree.
So you will hear from me soon. Until then, thanks again and bye.
Mario Kušnjer
mario.kusn...@sb.t-com.hr
+385957051982
mariokusn...@skype
___
Cocoa-dev mailing
SOutline[287:10b] 4 - item for key
"nameOfShow" is NEWS AT 10 <---And again the second time.
2009-09-18 22:48:33.062 LSOutline[287:10b] 4.1 - item is WEDNESDAY
<--- Now I hovered mouse pointer over the item and this gets called
first time.
2009-09-18 22:48:33.064 LSOutline[287:10b] 4.1 - item is WEDNESDAY
ew delegate methods
//- (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item
//{
// if ([item isKindOfClass:[NSDictionary class]])
// {
// if ([item objectForKey:@"nameOfShow"])
// {
// NSLog(@"5 - item is group");
// return YES;
// }
// }
//
Hello everyone!
So I have a little problem that I don't know how to fix so if somebody
would be kind to help and explain the solution.
Problem is that splitView displays subviews that are rendered outside from the
visible area
of the window so therefore are clipped (not visible). They are clippe
On 2009.04.23, at 04:23, Kyle Sluder wrote:
So you're asking "what API should I be using?" Break it down a bit.
Think about what resources SubEthaEdit uses:
1. General application type stuff (windows, etc.)
2. Text
3. Network
Then search from there.
I realize that everything gets interconn
On 2009.04.23, at 04:08, Chris Hanson wrote:
You shouldn't always show a log-in panel in your application either;
Mac OS X has the Keychain for secure storage of user credentials,
you should only ask the user to log in to your service if there's no
stored credential or they've done somethi
On 2009.04.23, at 04:02, Greg Guerin wrote:
Use the internet. The two simplest things to try are:
1. Google.
2. Wikipedia.
Searching Wikipedia for the keyword "SubEthaEdit" finds a nice
article about the product itself:
http://en.wikipedia.org/wiki/SubEthaEdit
The first link on that p
On 2009.04.23, at 03:20, Greg Guerin wrote:
Seriously, though, it's not an easy problem, and if you have to ask
"How to" without even describing What Have You Tried, then it
probably means it's too hard for you to solve simply by asking
someone else "How to".
Maybe you should consider
Hello everyone !
Again me with another bizarre question
So I am interested how to implement a possibility that many users can
edit same file (text, XML, sheet, database entry) at the same time ?
Forget the networking part for now and focus on the part of what to
use for file: txt file, xml f
On 2009.04.22, at 08:55, Benjamin Dobson wrote:
Although I'd appreciate it if you could in any way avoid the latter.
I have always found them extremely annoying on OS X. If you're app
takes a long time to load, something small and simple like what
iWork does seems
better.___
Greetings everyone !
So the question is how to make a window that doesn't have a title bar
and borders ?
Actually I would like it to be just like user login window of OS X.
This could also go for a so called "Splash Screen" on app launch.
Thanks to all in advance.
Mario
On 2009.04.13, at 11:15, Quincey Morris wrote:
Not exactly. Make your application delegate (let's say its class is
MyAppDelegate) separate from your window controller. So, the steps
are:
-- write a MyAppDelegate class (subclass of NSObject)
-- in IB, drag an object into MainMenu.xib, and
On 2009.04.13, at 05:40, Quincey Morris wrote:
It's not wrong at all. Separate nibs are the recommended way of
doing this.
You may just need to tell your window controller to display its
window. Trying adding:
[myWindowController showWindow: nil];
after you've initialized your
My regards to all on the list
My name is Mario and I am now to Cocoa and Objective-C so I have some
questions which will sound trivial
to those with more experience.
Please don't refer me to documentations because I have read them and
looked for an answer and I tried
to do it according to d
32 matches
Mail list logo