Never mind, I missed a call to super. I will look into the guide in more
detail. Thank you.
On Aug 27, 2014, at 10:43 PM, Brandon Peters wrote:
> Kyle,
>
> I noticed the guide mentioned overriding setFrameSize. In a test run I
> noticed that overriding this method did away with the view size
Kyle,
I noticed the guide mentioned overriding setFrameSize. In a test run I noticed
that overriding this method did away with the view size constraints I setup in
IB. Is that expected behavior for overriding such method?
On Aug 27, 2014, at 9:56 PM, Kyle Sluder wrote:
> On Wed, Aug 27, 2014,
On Wed, Aug 27, 2014, at 08:17 PM, Peters, Brandon wrote:
> Devs,
>
> I have a NSScrollview with and NSImageView as its document view. I have a
> sublayer for the scrollview that serves my selection rect. When I load an
> image I can pressed down and draw the selection rect, but as soon as I
> res
Devs,
I have a NSScrollview with and NSImageView as its document view. I have a
sublayer for the scrollview that serves my selection rect. When I load an image
I can pressed down and draw the selection rect, but as soon as I resize the
window, the rect disappears but the image remains. As the w
On Aug 27, 2014, at 5:03 AM, Daryle Walker wrote:
> But I saw something weird one time running my app through the Xcode debugger
> after a previous crash. I saw an NSLog message complaining about app restore
> data. I think NSDocumentController does app-restore actions even without an
> NSDocu
Hello,
I have implemented a custom view as the documentview of a scrollview. I have
also subclassed the scrollview's contentview, so my documentview is always
centered in the scrollview, for instance when I set the scrollview's
magnification for zooming purposes. I have also implemented methods
On 8/27/14, 12:32 PM, "Kyle Sluder" wrote:
>> On Aug 27, 2014, at 8:43 AM, edward taffel wrote:
>>
>>
>>> On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote:
>>> This seems to work in initial testing ‹ the alert displays ‹ but I get
>>>a message in the console telling me that ³NSAlert is being
Unfortunately, I must put this issue on indefinite hold because, upon creating
a new project to demo the problem, Xcode 6 beta 6 now crashes whenever I drag a
Tab View Controller out of the Library into a storyboard and touch it in the
Interface Builder. Even after a restart.
It is Apple Bug
I’m not entirely sure this crash is down to you nor that it’s calling
any methods on your correctly deallocated instance of NSURLConnection
or the delegate. To me it looks like the HTTP cache subsystem is
purging data and tripping over itself because of something it cleaned
up when the NSURLConn
On Aug 27, 2014, at 6:36 AM, Manoah F. Adams
wrote:
> On Aug 27, 2014, at 02:03:000, Daryle Walker wrote:
>
>> AFAIK, NSDocumentController has the only API for the “Open Recent” menu[1],
>> so I added it (back) to my project. I moved my app delegate’s actions for
>> the New and Open menu comm
> On 2014 Aug 27, at 09:36, Ken Thomases wrote:
>
> I don't think it makes any sense to make the view _controller_ return YES
> from -acceptsFirstResponder. You have to make your view accept first
> responder. That's the thing being clicked on. -acceptsFirstResponder is
> *not* sent up the
On Aug 27, 2014, at 12:32 PM, Kyle Sluder wrote:
worse & worse: very clever, kyle—thanks for pointing this out!
>> i had this problem too: you can show the alert on the main thread via e.g.
>> performSelectorOnMainThread. (as was kindly pointed out to me by, if i
>> remember correctly, graha
On Aug 27, 2014, at 11:23 AM, Jerry Krinock wrote:
> On 2014 Aug 27, at 09:05, Ken Thomases wrote:
>
>> And is the view the first responder? Does it return YES from
>> -acceptsFirstResponder?
>
> It doesn’t seem to matter. To answer your question, I put this code into my
> view controller:
> On Aug 27, 2014, at 8:43 AM, edward taffel wrote:
>
>
>> On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote:
>> This seems to work in initial testing — the alert displays — but I get a
>> message in the console telling me that “NSAlert is being used from a
>> background thread, which is not
On 2014 Aug 27, at 09:05, Ken Thomases wrote:
> And is the view the first responder? Does it return YES from
> -acceptsFirstResponder?
It doesn’t seem to matter. To answer your question, I put this code into my
view controller:
#if ACCEPT
- (BOOL)acceptsFirstResponder {
return YES ;
}
On 2014 Aug 27, at 06:56, Michael Babin wrote:
> Is the window which contains your view (and view controller) the key window?
Thank you, Michael. I think so. My app’s title is showing in the menu bar;
and this is its only window. It is frontmost in the z-direction, and the three
buttons in
On Aug 27, 2014, at 8:56 AM, Michael Babin wrote:
> On Aug 26, 2014, at 9:10 PM, Jerry Krinock wrote:
>
>> I was so excited after watching WWDC Session 212 "Storyboards and
>> Controllers on OS X” that I rewrote a little app I was working on to require
>> Yosemite. All of the new view contro
On Aug 27, 2014, at 11:30 AM, Matthew LeRoy wrote:
> This seems to work in initial testing — the alert displays — but I get a
> message in the console telling me that “NSAlert is being used from a
> background thread, which is not safe. This is probably going to crash
> sometimes. …” Presumabl
Good morning,
I’ve got a scenario where I need to prompt the user during reading of a
document in my OS X document-based application. There have been some minor
changes to the format of my document files, and I need to support opening
documents saved in the old format and prompting the user to
On Aug 26, 2014, at 9:10 PM, Jerry Krinock wrote:
> I was so excited after watching WWDC Session 212 "Storyboards and Controllers
> on OS X” that I rewrote a little app I was working on to require Yosemite.
> All of the new view controller and tab view controller magic works as
> advertised,
On Aug 26, 2014, at 7:59 PM, Daryle Walker wrote:
> When I put an NSOperation subclass instance into the main queue, is the task
> run on the main thread? Or just the scheduler? If the latter, that may have
> been my problem, running AppKit stuff on a non-main thread.
https://developer.apple.c
Hi,
I wonder if anybody can help me out here.
I have an animation where a view moves vertically up the screen when the user
presses and holds a UI element, and when the user lets go it drops down again.
I have it such that the user can interrupt the fall or rise - i.e. when rising
you can let
On Aug 27, 2014, at 02:03:000, Daryle Walker wrote:
AFAIK, NSDocumentController has the only API for the “Open Recent”
menu[1], so I added it (back) to my project. I moved my app
delegate’s actions for the New and Open menu commands to my
NSDocumentController subclass, but they wouldn’t ac
AFAIK, NSDocumentController has the only API for the “Open Recent” menu[1], so
I added it (back) to my project. I moved my app delegate’s actions for the New
and Open menu commands to my NSDocumentController subclass, but they wouldn’t
activate until I forced them with an override of the user-in
Ah, the *icons* are purple, not the constraints themselves.
Those definitely look like Xcode 4-era automatically-generated constraints. You
might want to rebuild your constraints.
--Kyle Sluder
> On Aug 26, 2014, at 11:52 PM, "Gerriet M. Denkmann"
> wrote:
>
>
>> On 27 Aug 2014, at 13:36, x
25 matches
Mail list logo