> On 4 Nov 2016, at 2:00 AM, Konidaris Christos wrote:
>
> The problem was that my NIBs also contained NSViewController objects for some
> of their subviews. Changing these controllers to plain NSObjects eliminated
> the crashes.
>
> Thank you for pointing me to the correct
>> crash happens at the following point in the program:
>>
>> activityPaneController = [[ESC_ActivityPaneController alloc]
>> initWithNibName: @“ESC_ActivitySideBox" bundle: nil];
>> [superV addSubview: activityPaneController.view];
>
> To be precise, thi
;> crash happens at the following point in the program:
>>
>> activityPaneController = [[ESC_ActivityPaneController alloc]
>> initWithNibName: @“ESC_ActivitySideBox" bundle: nil];
>> [superV addSubview: activityPaneController.view];
>
> To be precise, this i
lloc] initWithNibName:
> @“ESC_ActivitySideBox" bundle: nil];
> [superV addSubview: activityPaneController.view];
To be precise, this is two points in the program (or more than two, if we
decide to be pedantic).
> Thread 0 Crashed:: Dispatch queue: com.apple
Zombie objects and Malloc Scribble are checked in Diagnostics.
– Chris
> On 2 Nov 2016, at 19:05, Jens Alfke wrote:
>
> Have you run with Zombies enabled? Or with the address sanitizer?
>
> —Jens
___
Cocoa-dev mailing list
Have you run with Zombies enabled? Or with the address sanitizer?
—Jens
___
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
Hi All,
Our application crashes inside AppKit when compiled with any SDK > 10.9. The
crash happens at the following point in the program:
activityPaneController = [[ESC_ActivityPaneController alloc] initWithNibName:
@“ESC_ActivitySideBox" bundle: nil];
[superV ad
On Apr 20, 2012, at 9:19 AM, koko wrote:
Here is the code that creates and adds the subview The method
-makeAndWrapViews is in the custom class of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called.
When the tab is clicked I do get viewdidMoveToWindow
On Apr 20, 2012, at 12:13 PM, Keary Suska wrote:
On Apr 20, 2012, at 9:19 AM, koko wrote:
Here is the code that creates and adds the subview The method
-makeAndWrapViews is in the custom class of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called
On Apr 20, 2012, at 1:02 PM, koko wrote:
Does this code work when you substitute NSPDText with a canned cocoa UI
object?
Yes. I created an NSButton in the same method, added it and it
displays.
Then it is most likely the case that the issue is with the NSPDText, that it is
not
I have searched high and low and can find no reason for a subview to not
display. Is this a trivial problem not worthy of list comment or is it truly
a difficult problem that cannot be dealt with as easily as more mundane
topics found here?
You've waited only about 90 minutes since your
On 2012 Apr 20, at 09:49, koko wrote:
Is this a trivial problem not worthy of list comment or is it truly a
difficult problem … ?
When no one replies, it's usually the latter, but it might be something easy.
When a programmatically-created subview doesn't show for me, it's usually
because
On Apr 20, 2012, at 10:49 AM, koko wrote:
I have searched high and low and can find no reason for a subview to not
display. Is this a trivial problem not worthy of list comment or is it truly
a difficult problem that cannot be dealt with as easily as more mundane
topics found here?
Are
.
On Apr 20, 2012, at 9:23 AM, koko wrote:
Here is the code that creates and adds the subview The method
-makeAndWrapViews is in the custom class of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called.
When the tab is clicked I do get viewdidMoveToWindow
-viewDidMoveToSuperview when addSubview is called.
When the tab is clicked I do get viewdidMoveToWindow
But I never see thev iew!
- (void)makeAndWrapViews
{
NSRect frame = [self frame];
frame.size.width = 288;
frame.size.height = 259;
m_text = [[NSPDText alloc] initWithFrame:frame
a great, modern (85?) environment.
-koko
On Apr 20, 2012, at 9:23 AM, koko wrote:
Here is the code that creates and adds the subview The method
-makeAndWrapViews is in the custom class of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called
On 21/04/2012, at 2:49 AM, koko wrote:
Ah, ain't Cocoa a great, modern (85?) environment.
Don't blame the framework for your own incompetence.
But I never see thev iew!
- (void)makeAndWrapViews
{
NSRect frame = [self frame];
frame.size.width = 288;
frame.size.height = 259;
Good questions.
As an experiment, in the same method in which I create and add the subview
which is not displaying I create an NSButton using the same frame as for the
subview. I add the NSButton and it displays.
So, I am sure the NSTabviewItem view is correct.
As to the subview, I added a
Here is the code that creates and adds the subview The method
-makeAndWrapViews is in the custom class of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called.
When the tab is clicked I do get viewdidMoveToWindow
But I never see thev iew!
- (void
of the NSTabViewItem view.
I do get -viewDidMoveToSuperview when addSubview is called.
When the tab is clicked I do get viewdidMoveToWindow
But I never see thev iew!
- (void)makeAndWrapViews
{
NSRect frame = [self frame];
frame.size.width = 288;
frame.size.height = 259;
m_text
I get the view for an NSTabViewItem.
To this view I add a subview.
In the debugger displaying the subviews of view I see the subview.
When the NSTabViewItem displays the subview is not being shown. The view
does display.
The subview is not set hidden in IB.
Why would I not see the
On Apr 19, 2012, at 5:34 PM, koko wrote:
I get the view for an NSTabViewItem.
To this view I add a subview.
How do you (in code) identify the correct NSTabViewItem, retrieve the view and
add the subview? What is the frame of the subview?
In the debugger displaying the subviews of view I
On Fri, 04 Mar 2011 14:30:12 +0100, Andreas Grosam agro...@onlinehome.de said:
So it seems, there is a problem performing UIViewAnimationOptionTransition...
animations for the UIView transitionWithView:... class method, and possibly
for transitionFromView:... invoked from -viewWillAppear: and
On Mar 3, 2011, at 8:16 PM, Matt Neuburg wrote:
Except that as Robert Vojta told you (and as Luke Hiesterman has clearly
stated on other occasions) it is wrong to assume that viewDidLoad means that
the view is now in the *interface*, or even that it is *about* to be put into
the
Thanks for your replies guys - that makes a lot of sense now 8)
On 2 Mar 2011, at 12:06, Andreas Grosam wrote:
On Mar 2, 2011, at 12:42 PM, Andreas Grosam wrote:
- (void) viewDidLoad {
[super viewDidLoad];
// Create the button:
// ...
[self
On Thu, 03 Mar 2011 10:32:18 +, Martin Linklater mslinkla...@gmail.com
said:
Thanks for your replies guys - that makes a lot of sense now
Except that as Robert Vojta told you (and as Luke Hiesterman has clearly stated
on other occasions) it is wrong to assume that viewDidLoad means that the
Thanks Luke
I did manage to find a solution. I was creating and calling the transition from
within 'viewDidLoad'. If I move the call to 'transitionWithView' out of
'viewDidLoad' and into a different method the transition works fine. Animating
properties work when called from 'viewDidLoad', but
That's because viewDidLoad doesn't mean it's going to be displayed now. It just
informs you that view was loaded. You have to use
viewWillAppear/viewWillDisappear or any other method where you know that view
is visible = you'll see animations.
Sent from my iPhone
On 2.3.2011, at 10:44, Martin
I meant viewWillAppear/viewDidAppear, not disappear ... Sry ...
Sent from my iPhone
On 2.3.2011, at 11:36, Robert Vojta rob...@izyapps.com wrote:
That's because viewDidLoad doesn't mean it's going to be displayed now. It
just informs you that view was loaded. You have to use
On Mar 2, 2011, at 11:37 AM, Robert Vojta wrote:
I meant viewWillAppear/viewDidAppear, not disappear ... Sry ...
This might not work also. If the boolean parameter 'animation' in
viewWillAppear equals NO, no animation will be started.
This is especially true when the view will appear
On Mar 2, 2011, at 12:42 PM, Andreas Grosam wrote:
- (void) viewDidLoad {
[super viewDidLoad];
// Create the button:
// ...
[self performSelector:@selector(addButtonWithAnimation) withObject:nil
afterDelay:0.0];
}
or - possibly more efficient:
- (void)viewDidLoad {
Hi - I'm having trouble getting Core Animation to animate a UIButton appearing
on my parent view. My old code did this:
create button
[self.view addSubview:newButton];
The button appeared straight away and works fine. Now, I'm trying to animate
the appearance of this button and I just can't
You can only animate properties documented as animatable. Try adding your
subview to its superview with an alpha of 0.0 and then animating the alpha to
1.0.
Luke
On Mar 1, 2011, at 8:32 AM, Martin Linklater mslinkla...@gmail.com wrote:
Hi - I'm having trouble getting Core Animation to
Hello,
I'm trying to do something simple, I have a NSWindow containing a
NSTableView that resizes with the with the window. When I click on one
element I want to display additional information in a subView that I'm
adding with [[theWindow contentView] addSubview:infoView];
The problem is
Consider using NSDrawer. It can contain a content view (i.e. your info
view) and can be attached to any side of a parent window, and be shown
or hidden.
If you don't want to use this, however, just grab the content view's
frame,
NSRect r = [[window contentView] frame]
and then call:
On Sat, Jan 24, 2009 at 5:29 PM, Twisted Theory
twisted.theory.co...@gmail.com wrote:
Hi,
I am constructing an application that draws rooted trees (graphs with a
distinguished 'first' node) by creating an NSView subclass for each node and
adding them as subviews of the graph view.
There is
Hi Josh,
I would echo Andreas' advice and tell you to not use NSViews to
accomplish this task.
I would suggest that you take a closer look at the problem domain and
re-factor along the lines of the data you manage and the drawn
representation of that data. NSViews are great containers
Hi,
I am constructing an application that draws rooted trees (graphs with a
distinguished 'first' node) by creating an NSView subclass for each node and
adding them as subviews of the graph view.
There is a big problem when the number of nodes in the tree is large: adding
the subviews takes a
Am 24.01.2009 um 23:29 Uhr schrieb Twisted Theory:
I am constructing an application that draws rooted trees (graphs
with a
distinguished 'first' node) by creating an NSView subclass for each
node and
adding them as subviews of the graph view.
There is a big problem when the number of
39 matches
Mail list logo