On 19 Sep 2013, at 17:37, Rick Mann wrote:
>
> On Sep 19, 2013, at 17:36 , Kyle Sluder wrote:
>
>> Is IB changing the *values*, or the *numbers* that appear on the constraints?
>>
>> If a view’s frame is out of whack with its constraints, the constraints in
>> conflict will be drawn in oran
To get the new Xcode 5.0 auto layout workflows, check to make sure that you
don't have your development target for the nib set to 4.6.
You can check this by selecting the document, opening the file inspector, and
under "Interface Builder Document" make sure "Opens In" is set to "Default
(5.0)"
Exactly right.
And you can use the simplex behavior to your advantage. For example that's how
you can build a "fitting size" method (or in other words this is how the system
fitting size method works). Add a constraint with constant 0 with a lower
priority and the system will crush the view as
All top level views in XIBs and storyboards have
translatesAutoresizingMaskIntoConstraints=YES. This is because most UIKit and
AppKit view and controller subclasses are not yet using constraints to layout,
so the default of translatesAutoresizingMaskIntoConstraints=YES is least
unexpected.
As
Michael,
The issue here is that you are overriding one of several delegate methods that
puts split view in "compatibility mode". Essentially some of the delegate
methods on NSSplitView duplicate the functionality of what you can do with auto
layout. In order to keep existing applications workin
> Autolayout does not work with NSSplitView on 10.7.
Auto layout does not work well with NSSplitView on 10.7. You can still have an
NSSplitView in your UI and it will function, with the caveat that the min/max
split positions will ignore what the constraints determine. So if you have a
subview t
The default value of translatesAutoresizingMaskIntoConstraints for top level
views in IB is YES on both Lion and Mountain Lion. But this can be disabled
using the Attributes Inspector and uncheck "Translates Mask Into Constraints"
Kevin
On Jul 9, 2012, at 12:09 PM, Rick Mann wrote:
>
> On Ju
> BTW, if the NSSplitView hasn't been updated to use constraints in its own
> layout, then why does it and up changing the size at runtime? For that matter
> it seems like IB is expressly forbidding adding constraints to the
> NSSplitView's panes.
There are known bugs with NSSplitView and auto l
Antonio, please file a bug, this sounds like a system issue, not an issue in
your code.
Kevin
On 16 May 2012, at 09:31 , Antonio Nunes wrote:
> I should add that all the reports I have received come from 10.7.4 systems,
> so it looks like 10.7.4 may have introduced a new issue in the auto lay
Yes, this is a bug in IB.
Kevin
On 14 May 2012, at 01:23 , Rick Mann wrote:
> I have a split view with an NSView in the top part, and inside that are a
> couple of buttons with layout constraints to the bottom and left edge
> (standard distance).
>
> If I move the split bar in IB, the NSView
This should "just work", of course that depends on the project. Please file a
bug and attach the project you're seeing this with.
Kevin
On 3 Apr 2012, at 18:11, douglas welton wrote:
> Hi All,
>
> [I've read the Cocoa Autolayout release notes and googled for "NSView
> autolayout fullscreen"
Jonathan,
>viewController = [[RemindersViewController alloc]
> initWithNibName:@"RemindersViewController" bundle:nil];
>self.window.contentView = viewController.view;
>[[viewController view] setFrame: [myView bounds]];
Did you mean do make the content view of the window the view contr
Hi Patrick,
Currently, there is no API to accomplish this. Please feel free to file an
enhancement request.
Kevin
On 3 May 2010, at 05:33, Patrick Mau wrote:
> Dear list members
>
> I have created in IB Plugin based on the Xcode template and everything works
> fine.
> If you need the complet
Kyle has suggested the best approach.
We try to make things easier to read by parsing the class name. However if you
use the outline view, you can still always see the original type (GPSManager).
Kevin
On 7 Apr 2010, at 20:34, Kyle Sluder wrote:
> On Apr 7, 2010, at 3:44 PM, "Patrick M. Rutkow
Chuck,
By "bindings", do you mean "Cocoa Bindings" or a standard IBOutlet?
If you mean "Cocoa Bindings" using the Bindings Inspector, then your control
will only be accessible from code if you have made a standard outlet connection
with it. Different types of connections (outlets, actions, bind
Not necessarily true. While you are free to specify a delegate as NSObject
, it is not standard convention. The convention for delegates is:
id.
Kevin
On 13 Mar 2010, at 07:39, Alexander Spohr wrote:
>
> Am 13.03.2010 um 16:25 schrieb Joanna Carter:
>
>> My reason for using id is because I
The IBLibraryObjectTemplate is part of InterfaceBuilderKit, the framework used
to create plugins for Interface Builder. Each IBLibraryObjectTemplate
corresponds to an entry that appears in the library at runtime. For more, see:
http://developer.apple.com/mac/library/documentation/DeveloperTools/C
I would recommend everyone read the Interface Builder 3.2 Release Notes. These
highlight the new features in Interface Builder 3.2 on Snow Leopard, as well
some of the issues we've addressed.
I think these might clear up many of the confusions I've seen cropping up on
the mailing lists.
http:/
> Although Interface Builder 3 is supposed to automatically sync with header
> files in your project, it seems to have trouble with headers in frameworks.
Which version of Interface Builder were you seeing this on? IB 3.2.x will parse
the headers for all frameworks you've linked against in your X
> It shows the correct outlet name, but nothing to indicate the outlet is
> hooked up to this View.
In the connections display (right-click on your blue-cube), if an outlet is
connected, it will have a gray rounded rectangle clearly marking the outlet as
connected. On the right hand side it will
1. In any of your project's nib files, go to the Library window (not
the Inspector window) and select the Classes tab. Using the pop-up
menu at the top, select one of your project's classes in the very
long and awkward hierarchical menu. For example, your class
MyDocument would appear in th
CAAnimation has a delegate you can use to be notified when an
animation is complete:
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Reference/CAAnimation_class/Introduction/Introduction.html#jumpTo_14
For more, see previous posts on the mailing list.
Kevin
__
You might be able to get more help on the quartz-dev mailing list.
Kevin
On 28 Aug 2009, at 02:32, Jean-Daniel Dupas wrote:
Le 28 août 2009 à 03:31, Kevin Cathey a écrit :
(1) Is there a way for me to create the animations with
CoreAnimation Layers (CALayer and sublayers) and simply tell
(1) Is there a way for me to create the animations with
CoreAnimation Layers (CALayer and sublayers) and simply tell some
object to write to file? If so, how?
Yes, check out CARenderer. This will require some knowledge of OpenGL
to do it completely correctly. See rendering to a framebuffer:
Have you enabled "wants layer" for the view?
Kevin
------
Kevin Cathey
On 22 Aug 2009, at 22:21, Evan M wrote:
So, it isn't Garbage Collection + Core Animation that is breaking
the transition, I just refactored my entire project to remove GC
support (bi
Quincey and Graham have hit it exactly: as of IB 3, we encourage you
to manage all of your classes in Xcode. Interface Builder always stays
in sync with your Xcode project files. (however, we still support the
ability to do this in IB, so if you do find a bug with that workflow,
please file
Michael,
In IB, Bind the textField's and Slider's values to the model Key
Path "selection.number".
What are you binding to here? The object controller?
Connect the NSOjectController's outlet ( cntrl-drag to foo).
You have an outlet on "Foo" for the Object Controller?
Another question, for
Any of Peter's solutions is what I would recommend as well. There is
no built-in way to just "hide" an object from IB's design canvas while
still having be in the document. If you feel this should not be the
case, please file a bug.
Kevin
On 25 Jun 2009, at 01:21, Peter N Lewis wrote:
S
You should not under any circumstances modify a XIB file outside of IB.
Kevin
On 24 Jun 2009, at 16:10, WT wrote:
Hi Doug,
I don't have any experience in designing and implementing IB
plugins, but I thought I'd pass along an observation that has served
me well on occasions when I needed t
Doug,
Normally IB plugins are intended to
provide ways to add custom views (objects) and matching inspectors to
configure those views (objects) not so much intended to do what I
think you are trying to use it for.
It sounds like you should instead create a xib/nid that contains the
shared objec
Alternatively you could use NSNib which allows you to explicitly
specify the bundle. In addition, when instantiating the nib using
NSNib, you can get the top level objects to send a release message to
match the implicit retain. For more info, check out the resource
programming guide:
http:
dLoad
Since the behavior of awakeFromNib differs between iPhone OS and Mac
OS X, using windowDidLoad or viewDidLoad will ensure you only receive
that message once: when the window or view is loaded.
Kevin
--
Kevin Cathey
On 10 Jun 2009, at 09:56, Micha Fuhrmann
.
Check out the Mac OS X OpenGL Programming Guide:
http://developer.apple.com/documentation/graphicsimaging/conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW5
Kevin
--
Kevin Cathey
On 5 Jun 2009, at 21:33
ntiate this nib
as many times as you needed. For information on how to do this, see
the Resource Programming guide:
http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/1051i-CH4-SW8
Kevin
------
Kevin Cat
Check out the Accelerate framework. It includes standard libraries
like LAPACK, BLAS, vDSP, and vImage:
http://developer.apple.com/performance/accelerateframework.html
Kevin
--
Kevin Cathey
On 17 Apr 2009, at 11:56, Chris Goedde wrote:
Hi,
I'm lookin
Unfortunately, yes. Make sure your +defaultPixelFormat has the
attributes NSOpenGLPFASampleBuffers set to 1, and NSOpenGLPFASamples
set to something like 4, 8, or 16.
Kevin
--
Kevin Cathey
On 15 Apr 2009, at 15:31, rqtikk wrote:
I'm doing as described i
Constraints are immutable objects, once you create them, you cannot
change them. This is a limitation of the constraint layout manager. If
you need more fine-grain control, use a custom layout manager.
Kevin
--
Kevin Cathey
On 10 Apr 2009, at 12:15, Rama Krishna
do a clean of your project and
rebuild, and also unload old versions of your plugin from IB. Then you
should be fine.
[3] THE DEFAULT IMAGE
I think the reason this wasn't working might be related to the
response to [2] above.
Hope that clears some stuff up.
Kevin
-
3.1.2
Kevin
------
Kevin Cathey
Namaste!
Just want to pass on some further information.
After that last post, the assertion error really bothered me. So,
after a while of careful inspection (to the limits of what I know),
I decided to and "clean[ed] all targets" of both the debug an
39 matches
Mail list logo