>
> 5. Run
>
> iPhone- tapping on "Do & Back" prints:
> 2015-04-16 12:16:52.799 Dummi[28069:20737983] -[MasterViewController
> doSomethingAndBackToMaster:] did something with "2015-04-16 05:16:49 +",
> will do: [ perform]
>
> iPad - tapping on "Do & Back" prints:
> nothing.
>
>> Can this be done? Or is there a better way to make my button work both
>> for iPhone and iPad?
>
> Well, my first question is: can you just put your work in the
> implementation of the unwind selector?
That is the way the work is done.
> The unwind itself will be a no-op
> if the split view
>> I’m not sure how careful that monitoring is, though, whether it happens
>> continuously, or only at the moment the app or document regains focus.
>
> Even if it’s continuous, it can’t be continuous enough, since the OS is
> multithreaded. There’s always the possibility of a race condition whe
On Apr 15, 2015, at 14:54 , Jonathan Taylor
wrote:
>
> Am I right in thinking that when running under Xcode any drawing errors will
> be logged to the Xcode console?
No, not unless they’re actually exceptions. Messages from other processes are
only going to appear in the system log.
With puz
Thanks for the suggestions. Am I right in thinking that when running under
Xcode any drawing errors will be logged to the Xcode console? That's certainly
what I've seen in the past (but not in relation to this problem - haven't seen
anything in the Xcode console at all for this).
Any other idea
> On Apr 15, 2015, at 2:06 PM, Dave wrote:
>
>>
>> I recommend you switch to Auto Layout.
>
> AFAICT, Auto-Layout won’t let me do what I want to do.
>
> This is so simple. The NIB file is owned by the window controller. The window
> is a large window and initially has two frames in it. Later
>
> I recommend you switch to Auto Layout.
AFAICT, Auto-Layout won’t let me do what I want to do.
This is so simple. The NIB file is owned by the window controller. The window
is a large window and initially has two frames in it. Later on, I get
Notifications telling me a new position and size
On Apr 15, 2015, at 13:30 , Aandi Inston wrote:
>
> 2. As a quick fix, is there a way to make sure this highlight box
> disappears with the
> control that it is (to my mind) attached to?
It’s probably being drawn around the field editor, and perhaps that’s not being
dismissed properly when you
I am trying to solve a problem which seems to involve the first responder
for an NSWindow.
The NSWindow contains a number of controls and views, including several
NSTextField controls.
It is necessary to show or hide groups of these. These are all created
dynamically, rather
than with Interface Bu
> On Apr 15, 2015, at 12:47 , Marco S Hyman wrote:
>
>
>> On Apr 15, 2015, at 12:29 PM, Rick Mann wrote:
>>
>> I used to have this code prior to 1.2, which compiled and ran fine, but now
>> I get an error on the last line:
>>
>> '?' must be followed by a call, member lookup, or subscript
>
> On 15 Apr 2015, at 21:02, Kyle Sluder wrote:
>
> On Wed, Apr 15, 2015, at 02:41 PM, Dave wrote:
>> A bit more, I turned Auto Layout on and now the layout method gets
>> called, but it doesn’t set the Frame Rect correctly.
>>
>> I’m looping through the subviews and setting the frames of a coup
On Wed, Apr 15, 2015, at 03:02 PM, Kyle Sluder wrote:
>
> You might want to watch the introductory videos available at
> apple.com/wwdc.
Whoops, the video archive is actually located at
https://developer.apple.com/videos/wwdc.
You might start with the Cocoa Autolayout video from WWDC 2011:
https
On Wed, Apr 15, 2015, at 02:41 PM, Dave wrote:
> A bit more, I turned Auto Layout on and now the layout method gets
> called, but it doesn’t set the Frame Rect correctly.
>
> I’m looping through the subviews and setting the frames of a couple of
> NSViews, but the Frame doesn’t change?
As documen
On Wed, Apr 15, 2015, at 01:47 PM, Dave wrote:
> Hi,
>
> I have a WindowController/Window Combo contained in a NIB.
Window controllers usually don't live in nibs. Instead, they act as the
nib's File's Owner.
> Auto Layout is
> turned off and I want to alter to positions and/or sizes of views ins
A bit more, I turned Auto Layout on and now the layout method gets called, but
it doesn’t set the Frame Rect correctly.
I’m looping through the subviews and setting the frames of a couple of NSViews,
but the Frame doesn’t change?
The views are initially loaded from a NIB, but later I want to ch
I used to have this code prior to 1.2, which compiled and ran fine, but now I
get an error on the last line:
'?' must be followed by a call, member lookup, or subscript
func
httpResponseForMethod(inMethod: String!, URI inPath: String!)
-> NSObject!
{
...
var query : String?;
Hi,
I have a WindowController/Window Combo contained in a NIB. Auto Layout is
turned off and I want to alter to positions and/or sizes of views inside the
ContentView. I thought the obvious place to do this was layout, but it never
seems to get called?
How can I manually lay out the Content Vi
On Apr 15, 2015, at 07:04 , Jonathan Taylor
wrote:
>
> From dimly-remembered past experience I have a feeling it could be related to
> something somewhere resulting in GUI code being executed on a non-main thread.
You can at least start by trying the simple things, if you haven’t tried them
a
On Wed, Apr 15, 2015, at 07:18 AM, Gerriet M. Denkmann wrote:
>
> While my iPhone can use the “DoSomethingAndGoBackToMasterView” button
> fine,
> the same button does nothing for iPad.
>
> Of course iPad does not need an unwinding segue - both master and detail
> view are always visible (at least
On Wed, Apr 15, 2015, at 12:00 AM, Kyle Sluder wrote:
> Segues are transient objects that only exist
Er, I meant "that only exist long enough to perform their action". In
other words, if you perform a popover segue, that UIStoryboardSegue
object ceases to exist once the popover is onscreen.
--Kyl
Hi,
I have an iOS-based flat-file database app that shows records in a
UIViewController, called RecordViewController.
I’ve added an “Insert Photo” menu item to the editing menu. This brings up a
photo picker view that sends the selected image back to RecordViewController.
I’ve included code to
On Apr 15, 2015, at 12:41 AM, Alex Kac wrote:
> I’m failing to find the proper way to do this. Given an NSTableView, I’d
> like to size its parent view to the height of all the rows/content/headers
> of that table view so that there is no scrolling.
>
> Someone suggested:
>
> [_scrollView.docum
I've started encountering intermittent problems in one specific window in my
application, where text input boxes become unresponsive, steppers remain
highlighted after clicking, etc. I'm rather short of ideas on how to debug
this, particular since I haven't worked out how to reproduce it reliabl
Thanks you very much! That fixed it!
On Tue, Apr 14, 2015 at 9:44 PM, Quincey Morris <
quinceymor...@rivergatesoftware.com> wrote:
> On Apr 14, 2015, at 17:01 , Juanjo Conti wrote:
> >
> > If I click the button too many times, fast enough, my app crash with a
> > EXEC_ error and if I enable zomb
While my iPhone can use the “DoSomethingAndGoBackToMasterView” button fine,
the same button does nothing for iPad.
Of course iPad does not need an unwinding segue - both master and detail view
are always visible (at least in landscape orientation). But the “DoSomething”
part is still needed.
C
>
>
> On Tue, Apr 14, 2015, at 11:49 PM, Gerriet M. Denkmann wrote:
>> And if there is any way (easy or not) to get this (in a non-deprecated
>> way), I would be very interested to hear about it.
>
> There is not. Please file a Radar.
I filed two:
20549495 Unable to get popover controller.
20
> On 15 Apr 2015, at 15:37, Quincey Morris
> wrote:
>
> On Apr 15, 2015, at 01:18 , Gerriet M. Denkmann wrote:
>>
>> In DetailViewController I added:
>>
>> - (IBAction)unwindToMainMenu:(UIStoryboardSegue*)sender
>
> I dunno offhand, but you originally said you’re trying to go back to the
>
On Apr 15, 2015, at 01:18 , Gerriet M. Denkmann wrote:
>
> In DetailViewController I added:
>
> - (IBAction)unwindToMainMenu:(UIStoryboardSegue*)sender
I dunno offhand, but you originally said you’re trying to go back to the master
view controller, and the tech note says that the destination n
> On 15 Apr 2015, at 14:51, Quincey Morris
> wrote:
>
> On Apr 14, 2015, at 23:47 , Gerriet M. Denkmann wrote:
>>
>> Using the Xcode template: iOS - Master-Detail, the Detail view has (in the
>> top left corner) a Back-Button, which works fine.
>>
>> Now I added another UIBarButtonItem call
On Apr 14, 2015, at 23:47 , Gerriet M. Denkmann wrote:
>
> Using the Xcode template: iOS - Master-Detail, the Detail view has (in the
> top left corner) a Back-Button, which works fine.
>
> Now I added another UIBarButtonItem called: “Do something and go back”
> connected to some IBAction in D
30 matches
Mail list logo