Re: Notifications on main thread

2010-11-02 Thread Jonny Taylor
I'm reviving an old thread I posted (sorry, I can't remember who the people were who replied, but thanks again...) because I've just read something that rather alarmed me and would appreciate peoples comments. An extract from the original thread is below, and here is the code I wrote based on

IKImageView vs sibling views as part of a window's contentView hierarchy

2010-11-02 Thread jpf
(my first post to the list in about 8 years!) i have a trivial subclass of IKImageView (which just overrides some NSView methods like acceptsFirstMouse:, etc.). an instance of this CustomImageView is set as the first subview of my application's window. all well and good so far ... previousl

Re: Is NSStreamEvent a bitfield or not?

2010-11-02 Thread Andreas Mayer
Am 01.11.2010 um 23:01 schrieb Sean McBride: > I'm just playing with NSStream for the first time, Me too. :) > If these things can be bitwised ORed, why is all the code out there > 'switch'ing? I'm confused. Good question. My test application seems to work fine with switch statements. Maybe

Re: Notifications on main thread

2010-11-02 Thread James Bucanek
Jonny Taylor wrote (Tuesday, November 2, 2010 3:01 AM -): So, can anybody comment on all this? It seems like pretty bad news. Is this what the release notes are saying, and if so, is there an alternative approach that still lets me take advantage of the coal

UITableView Selection

2010-11-02 Thread Phillip Mills
I have an application with a split view, master/detail design. The 'master' items are dynamically created and vary in number. When I start the application, I load these for use by the table view's data source during the root view controller's viewDidLoad and everything works quite well. Excep

Re: UITableView Selection

2010-11-02 Thread David Duncan
On Nov 2, 2010, at 9:15 AM, Phillip Mills wrote: > Suggestions for a cleaner approach would be appreciated -viewWillAppear: or -viewDidAppear: perhaps? -- David Duncan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Animated progress bar in custom menu item view

2010-11-02 Thread David Catmull
I'm looking a the MenuItemView sample code: http://developer.apple.com/library/mac/#samplecode/MenuItemView/Introduction/Intro.html This sample shows various views and controls in a menu, including an indeterminate progress bar - but it doesn't animate (even though startAnimation is called). I a

Source level debug config for OpenSSL 1.0.0a?

2010-11-02 Thread Scott Cherf
Hello - I'm trying to compile openssl with source level debugging enabled using the 1.0.0a distribution (of OpenSSL) and I'm not having any luck at all. I would appreciate a clue if there is one. Note that I'm attempting to build a fat binary for the i386 and x86_64 architectures under Xcode 3

Re: Notifications on main thread

2010-11-02 Thread Jonny Taylor
Thanks for your reply James. That is what I would have assumed, and your -performSelectorOnMainThread is equivalent to my: [NSOperationQueue mainQueue] addOperationWithBlock Empirically that does seem to behave in a common sense manner. However, if we examine the wording of the release note I

Re: Notifications on main thread

2010-11-02 Thread James Bucanek
Jonny Taylor wrote (Tuesday, November 2, 2010 11:07 AM -): Empirically that does seem to behave in a common sense manner. However, if we examine the wording of the release note I believe it is explicitly stating that this should NOT be relied on - i.e. posti

Best way to get outlet from one NIB to another NIB

2010-11-02 Thread koko
I would like to get a menu item in main mneu nib pointed to a outlet reference in another NIB. Is there a preferred pattern/method to do so -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator c

Re: Move UINavigationBar down?

2010-11-02 Thread Stephen Zyszkiewicz
What about using Interface Builder to do this? It seems I can drag in the navigation bar to any place in a view. I'm not sure if I can hook the navigation controller to this though. If I use the UINavigationController in IB, it puts it at the top of the view only. From the UINavigationControll

Re: Selection in NSCollectionView

2010-11-02 Thread Andrew Shamel
Hi there great and wise Cocoa-Dev! I am wondering if anyone knows if there has been any movement regarding how selection is handled in NSCollectionViews. I see there was some conversation on this subject a couple of years back (http://www.cocoabuilder.com/archive/cocoa/217489-selection-in-nsco

Re: Selection in NSCollectionView

2010-11-02 Thread Lee Ann Rucker
What I've done is have a custom NSView subclass that all my CollectionViewItems use, which subclasses hitTest: and mouseDown: - (NSView *)hitTest: (NSPoint)aPoint // IN { NSView *hitView = [super hitTest:aPoint]; if (hitView && ![hitView isKindOfClass:[NSTextField class]]) { hitView =

Joining App Developer Program

2010-11-02 Thread Chris Idou
Sorry if this is a little off topic, but I don't know who to ask and I can't get any sense out of Apple. I attempted to join the Mac dev program the day Steve Jobs announced it. A couple of days later I was asked to submit some company documents, which I did, and which was acknowledged. Now I'

Re: Joining App Developer Program

2010-11-02 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/2/10 4:00 PM, Chris Idou wrote: > take? When should I get worried? Is there any way to get access to technical > documentation without waiting? Is there any way to contact Apple since they > don't answer emails? Well, it is off-topic, but I'll

Re: Unhidable App

2010-11-02 Thread Gerriet M. Denkmann
On 2 Nov 2010, at 11:41, Kyle Sluder wrote: > On Nov 1, 2010, at 9:33 PM, "Gerriet M. Denkmann" > wrote: > >> 02/11/2010 09:18:20EnTeP[149]HIToolbox: ignoring exception >> '-[NSConcreteNotification invalidate]: unrecognized selector sent to >> instance 0x113b3b160' that raised inside

2 Beginner Bindings Questions

2010-11-02 Thread Peter Zegelin
I have two instances of the same tableview and controller that I am keeping synchronised via bindings to a common array. I have this working, in that I can add items via a button in one view and the other view instantly updates. Same with deleting selected items using [arrayController delete] v

Re: Joining App Developer Program

2010-11-02 Thread Remco Poelstra
Hi, I just enrolled into the iOS program and the "we are trying to contact the legal representative" took two weeks. The lady on the phone said there was a large queue causing the delay. Regards, Remco Poelstra Op 3 nov 2010, om 00:00 heeft Chris Idou het volgende geschreven: Sorry if th

Re: 2 Beginner Bindings Questions

2010-11-02 Thread Quincey Morris
On Nov 2, 2010, at 23:08, Peter Zegelin wrote: > I am having great difficulty showing the same selection of items using > bindings. I would basically like to select rows in one table and have the > selection updated in the other. > > Pretty well everything I have tried either causes an excepti