On occasion I see the following crash:
The Error-Responder chain is showing an NSDocumentController triggered alert.
My take on this would be that is a retain issue somewhere in the framework
constraint visualisation code.
I cannot reproduce the issue though.
Thanks
Jonathan
OS Version: M
Hi,
Thanks a lot, I guess I’ll have to do something like that. I’m sure I’ve seen
it laid out in a document somewhere but maybe I imagined it.
Thanks a lot
Dave
> On 20 Apr 2015, at 21:16, Lee Ann Rucker wrote:
>
> It's a very simple layout, you could make your own. Use the Xcode 6 layout
>
I screwed something up. If I can't fix it I can restore from backup.
I'm too cheap to use git but I make regular tarballs.
I spent some time monkeying around with Interface Builder. My iPhone
.xibs were mostly complete but my iPad quite incomplete, as a while
back I ripped everything out to repl
> On 21 Apr 2015, at 13:43, Michael Crawford wrote:
>
> I screwed something up. If I can't fix it I can restore from backup.
> I'm too cheap to use git but I make regular tarballs.
>
> I spent some time monkeying around with Interface Builder. My iPhone
> .xibs were mostly complete but my iPa
> On 21 Apr 2015, at 12:43, Michael Crawford wrote:
>
> Yes I feel quite foolish even asking this here.
I reckon, regardless of our experience, that we have all been there from time
to time. I know I have.
My current approach is:
1. Use git even for trivia.
2. Use time machine and a NAS.
3.
The reason I haven't been using version control is that I prefer to
operate my own servers - but then I have to set them up, and it's
quicker just to roll a tarball.
My source code isn't so bad but looking over my .xibs just now, some
of them don't make a whole lot of sense, I expect because they
I'm betting you 5 bucks it's in your storyboard. If the crash happens and the
debugger doesn't point to things useful, it's likely in setting up the
storyboard and in that, your first screen.
On Apr 21, 2015, at 7:43 AM, Michael Crawford wrote:
> I screwed something up. If I can't fix it I c
To see if it is a storyboard issue, try setting the storyboard for the one that
crashes to the one for the other device that doesn't crash.
Launch the app. If it doesn't crash, then bingo, storyboard issue. Fix your
first view controller. Look for empty IBOutlets or IBOutlets that point to
m
I expect you are correct, however this project is so old it doesn't
have a storyboard, it has a half-dozen .xibs for each of the iPhone
and iPad.
Checking for nil IBOutlets with assert() is helpful.
Some of my code, I know it worked once but when I look at it now it
doesn't make any sense at all.
>
> Please do understand that I don't expect you to actually debug my code
> from my vague descriptions. I'm just looking for encouraging words as
> well as any kind of general principles like my own "use assertions
> before using debuggers".
If there’s an exception thrown in UIApplicationMain(
> On Apr 21, 2015, at 5:35 AM, Michael Crawford wrote:
>
> The reason I haven't been using version control is that I prefer to
> operate my own servers - but then I have to set them up, and it's
> quicker just to roll a tarball.
You don’t have to have a server to use Git. In fact it’s only goin
Hi All,
I have the following code in a Window Controller.
myWorkRect.origin = theGlobalPoint;
myWorkRect.size = NSMakeSize(1,1);
myWorkRect = [self.window convertRectFromScreen:myWorkRect];
myWindowPoint = myWorkRect.origin;
myCocoaControlView = [myContentView hitTest: myWindowPoint];
I have a
I meant add this:
Global: {183.45703125, 92.41015625}
Window: {183.45703125, -619.58984375}
These are the values I get when I run the code. From looking at Y it looks like
I need to flip the Y Coordinate, but I’m not sure where/how to do this?
TheY = 92 on the Global Point represents a point
How are you getting your global point? There are non-Cocoa parts of the OS that
do use top-left instead of bottom-left origins, so those will need converting.
From: cocoa-dev-bounces+lrucker=vmware@lists.apple.com
[cocoa-dev-bounces+lrucker=vmware@
Hi Lee Ann,
I was pretty sure the theGlobalPoint is Top, Left relative, but wasn't sure how
to convert it, I tried a few things and this seems to work:
myContentView = myPhantomWindow.contentView;
myGlobalPoint.x = theGlobalPoint.x;
myGlobalPoint.y = NSMaxY([[[NSScreen screens] objectAtIndex:0]
Your screen flipping code is a good start, but it's not going to work with
multiple monitors. That's why knowing where it comes from would be helpful -
for instance, if it's the current mouse point, there are definitely better ways
to do this.
Another thing you've missed: converting to myConten
OK I'll set up a git repository, but I'd like to fix this first.
I think my MainWindow.xib got misconfigured or corrupted, so I made a new one.
I have a UINavigationController with a custom class inside it called
LifeIPhoneViewController. Inside the latter is a LifeView as well as
some controls
On Apr 21, 2015, at 5:35 AM, Michael Crawford wrote:
>
> The reason I haven't been using version control is that I prefer to
> operate my own servers - but then I have to set them up, and it's
> quicker just to roll a tarball.
Huh? Nothing about a version control system limits your use of your
> On 21 Apr 2015, at 19:13, Michael Crawford wrote:
>
> OK I'll set up a git repository, but I'd like to fix this first.
>
> I think my MainWindow.xib got misconfigured or corrupted, so I made a new one.
>
> I have a UINavigationController with a custom class inside it called
> LifeIPhoneViewC
It's not stopping in the debugger anymore, but instead of getting my
navigation controller I'm just getting a black screen.
I think all these problems arose by starting with an app that did not
use a nav controller, then - incorrectly - refactoring it so it did
use one. It looks like I left some
Hell, Xcode sets Git up for you for free, but I wrote the docs on how to set up
and use SVN.
If he wants, I'll be happy to send the SVN docs, but the Git tutorials are more
than good and Git is a good step forward.
On Apr 21, 2015, at 2:15 PM, Marco S Hyman wrote:
> On Apr 21, 2015, at 5:35
On Apr 21, 2015, at 3:43 PM, Michael Crawford wrote:
> It's not stopping in the debugger anymore, but instead of getting my
> navigation controller I'm just getting a black screen.
>
And this points to your first view controller being the problem.
It appears that you now have a nav controller
I'm adept with svn.
What I didn't want to do was set up a server; it simply didn't occur
to me to have a local repository.
I've configured svn repositories a few times, it is a PITA.
Michael David Crawford, Consulting Software Engineer
mdcrawf...@gmail.com
http://www.warplife.com/mdc/
Availab
> On Apr 21, 2015, at 1:04 PM, Michael Crawford wrote:
>
> I've configured svn repositories a few times, it is a PITA.
Me too, and I agree. Leave SVN behind and learn Git or Mercurial; they are so
much nicer to use. There’s a bit of a learning curve* but they will save you so
much time and ag
Hi Again,
Yes, I wondered about multiple monitors but it seems to work ok, I’ve got 3
monitors hooked up and it works regardless of where they are, probably because
[NSScreen screens] objectAtIndex:0] is the screen with the main menu and all
windows are relative to that?
The content view and
You can set up the server locally!
Your local box is the server and you just use time machine back up your repo,
or just host the repo on a file share from another machine, mount the volume
and use that as the repo.
On Apr 21, 2015, at 4:04 PM, Michael Crawford wrote:
> I'm adept with svn.
>
[NSWindow mouseLocationOutsideOfEventStream]
Returns the current location of the pointer reckoned in the window’s base
coordinate system.
From: cocoa-dev-bounces+lrucker=vmware@lists.apple.com
[cocoa-dev-bounces+lrucker=vmware@lists.apple.com] on
Hello,
I am getting an error in iTunes Connect for my App pertaining to the English
localization. English is the only language my app currently supports. The error
is not really helpful. Has anyone seen something similar?
___
Cocoa-dev mailing list (C
28 matches
Mail list logo