21-Mar-11 16:08, Vyacheslav Karamov пишет:
Hi All!
I'm writing IB 3.2 plug-in for NSTabView descendant.
After adding new tab
CLTabViewItem * item = [[CLTabViewItem alloc] init];
[item setLabel: @"new Item"];
[tabView addTabViewItem: item];
I'm trying to sel
on XCode version 3 I was able to launch IB and edit the text of a
NSScrollView. On XCode 4 I can't. And even if I modify this text, which is
saved within the file MainMenu.nib/keyedobjects.nib
when I relaunch XCode 4 and open my project file, the change doesn't show
up. I always see the old text.
Your code worked! Thanks! The main difference between our snippets
was that you added the MPMoviePlayerController's view directly to the
UIViewController's view rather than putting it in a holder view (which
I doubt would matter) and that you aren't using the embedded controls.
I'll post back wh
I was able to replicate my issue. In my original code, I was only
allowing the movie to be played with the embedded controls. When I
set the contentURL a second time, my embedded controls were not
showing, so I couldn't play the movie again. As I mentioned
previously, Matt's code worked great.
On Mar 21, 2011, at 10:24 PM, Chris Hanson wrote:
> Ultimately, the solution will be to modify HessianKit -- or any other
> framework that presents an RPC-style interface[1] -- to follow the Cocoa
> convention of returning BOOL (or a non-nil/nil object reference) to indicate
> success or failu
On Tue, Mar 22, 2011 at 1:22 AM, Vyacheslav Karamov
wrote:
> I have no idea how to do this.
http://bugreport.apple.com
Also, please post on the Xcode 4 Developer Forums. http://devforums.apple.com
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@l
On Tue, Mar 22, 2011 at 8:07 AM, A.M. wrote:
> I am curious as to how you would propose to add error: handlers to DO calls
> considering that DO is meant to transparent and cannot modify method
> signatures. For example, assuming you were designing a new DO framework, how
> would you propose ch
Thank you for the quick reply.
Implementing 'tableView:willDisplayCell:forTableColumn:row:' is
exactly what I needed. Just want to change cell attributes. I
thought the only way to do this was to subclass 'dataCellForRow:',
especially since it was 'pointed out' in the documentation. Bu
___
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-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/
On 20/04/2009, at 5:01 PM, Joe Yi wrote:
hello all:I have no way to get the app window 's
coordinate>
。please
show me the detail method.
RTFD.
[window frame];
--Graham___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
Hi everyone:
When I use QTMovie to play movies. I want to custom myself progress slider
instead of the NSSlider.
How to custom the progress slider?
thks!
Bright
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reque
Is the contentsScale property set correctly? For CALayers it defaults to 1.0,
UIKit ensures that it is set correctly for layers that it creates, but it is
your responsibility to do this for layers that you create yourself.
--
David Duncan
On Jul 11, 2010, at 4:03 PM, Carter Allen wrote:
> I
Hi,
I have never use it, and never look into this. Maybe a class method instead.
Op 21 mrt 2011, om 09:45 heeft Kevin Bracey het volgende geschreven:
> Hi there,
>
> I hope that I could "register class descriptions lazily", I like doing most
> things lazily.
>
> But I can't find where or ho
Subclass NSSliderCell and override the appropriate methods:
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSSliderCell_Class/Reference/Reference.html
Then change the cell type of you NSSlider to your custom subclass.
Cheers,
Dave
On May 7, 2009, a
Hi,
can someone look at and say is a returning of immutable objects necessary or
no?
@interface XMLElement : NSObject {
NSString *_name;
NSMutableString *_text;
NSMutableDictionary *_attributes;
NSMutableArray *_children;
XMLElement *_parent;
}
@implementation XMLElement
- (NSArray *
I've got a sample project at:
http://ericgorr.net/cocoadev/tooltip.zip
What I would like to do is define a single tooltip rect for an entire view but
be able to change the tooltip as the cursor moves inside of the view.
Is there a way to do that? Is there a way to force it to hide the current
On 23/03/2011, at 6:29 AM, Ariel Feinerman wrote:
> Hi,
>
> can someone look at and say is a returning of immutable objects necessary or
> no?
>
> @interface XMLElement : NSObject {
>
>
> NSString *_name;
>
> NSMutableString *_text;
>
> NSMutableDictionary *_attributes;
>
> NSMutableArray
On Mar 22, 2011, at 16:53, Graham Cox wrote:
> That's because a) NSMutableArray IS a NSArray, and b) your method has told
> its clients it is returning an NSArray, so the client has no right to go any
> further than the methods of NSArray with that object, that is, it cannot make
> use of knowl
On 23/03/2011, at 11:58 AM, Quincey Morris wrote:
> 1b. The property is a to-many relationship.
>
> If #1a, then the return value should be unchangeable, in the sense that it
> should never change after being returned (regardless of whether the returned
> object is of a mutable class or not).
Hi,
I am trying to write a unit test for a class that inherits from
NSOperation. And I've implemented this class just as I did in my
application (which works) and the test case is running, but when the
'addOperation:myClass' on the NSOperationQueue is called within the
test method, I don't see tha
Your NSOperation is probably running on a background thread managed by
the NSOperationQueue. Your test needs to wait until the
NSOperationQueue has processed all its tasks.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Tue, Mar 22, 2011 at 10:3
21 matches
Mail list logo