Xcode 5.1 is crashing in 10.8.5

2015-02-09 Thread Appa Rao Mulpuri
Hi List, Xib created with Xcode 6.1.1 was not opening(Xcode is crashing) in Xcode 5.1.1, even if we set the “Opens in” and “Builds for” properties to 5.1 specific. Observation is: Mac OS 10.10 + Xcode 5.1.1 — XIB is opening after the properties change, but Mac OS 10.8.5 + Xcode 5.1.1 is not wor

Re: Running window as a sheet

2015-02-09 Thread Quincey Morris
On Feb 9, 2015, at 19:24 , Ken Thomases wrote: > > -beginSheetModalForWindow:completionHandler: is a method on NSAlert and > NSSavePanel. And the last detail: Xcode let you compile it where you did because ‘NSApp’ happens to be declared as ‘id’ for inscrutable historical reasons, so the compi

Re: Running window as a sheet

2015-02-09 Thread Ken Thomases
On Feb 9, 2015, at 9:08 PM, Charles Jenkins wrote: > So I have a window that now works fine as a modal window, but because I don’t > like where it appears on the screen, I’m attempting to run it as a sheet > instead. My Cocoa books and the NSWindow documentation seem to suggest that > any wind

Re: Running window as a sheet

2015-02-09 Thread Roland King
> On 10 Feb 2015, at 11:08, Charles Jenkins wrote: > > > So I have a window that now works fine as a modal window, but because I don’t > like where it appears on the screen, I’m attempting to run it as a sheet > instead. My Cocoa books and the NSWindow documentation seem to suggest that > a

Running window as a sheet

2015-02-09 Thread Charles Jenkins
  So I have a window that now works fine as a modal window, but because I don’t like where it appears on the screen, I’m attempting to run it as a sheet instead. My Cocoa books and the NSWindow documentation seem to suggest that any window can be run as a sheet, and they along with XCode’s code-

Re: Modal Window Failure on 10.10.2

2015-02-09 Thread Charles Jenkins
Thanks, Ken and Graham. Somehow I must’ve deleted windowNibName by accident. Previously, my Source View window ignored any attempt to set the text color of an item, then after updating to 10.10.2, suddenly text colors worked. Because that change in behavior related to the OS, I also associated t

[RESOLVED] Re: What UIControl could this be?

2015-02-09 Thread Aaron Lewis
Thanks Todd & David. I found a similar project and it works great! On Tue, Feb 10, 2015 at 3:13 AM, Todd Freese wrote: > There are a bunch of projects on github to do this. > > Here is one I use and really like it: > > https://github.com/dzenbot/DZNSegmentedControl > > T > > > On Feb 9, 2015, at

Re: NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Jerry Krinock
> On 2015 Feb 09, at 13:28, Uli Kusterer wrote: > > The image didn’t make it to the list, Oh, well. I recall being able to send pictures in the past, as long as the message size was < 25K. Maybe this is a new feature :( > Here’s an article (with pictures!) about this issue I wrote ages ago:

Re: NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Graham Cox
> On 10 Feb 2015, at 9:16 am, Quincey Morris > wrote: > > FWIW (and while we wait for Jerry to tell us what was in the missing screen > shot), I’ve abandoned the “offset it by 0.5 points” approach, in the last > year or two. I don’t necessarily have an unarguable justification, but my > reas

Re: NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Quincey Morris
FWIW (and while we wait for Jerry to tell us what was in the missing screen shot), I’ve abandoned the “offset it by 0.5 points” approach, in the last year or two. I don’t necessarily have an unarguable justification, but my reasoning runs along these lines: 1. For general drawing, when the thin

Re: NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Jens Alfke
> On Feb 9, 2015, at 1:18 PM, Jerry Krinock wrote: > > Is there a way to draw thin lines in code, and get good results on non-Retina > displays? What should I read to learn how? (The listserv strips image attachments, so we can’t see the pictures.) The typical problem drawing thin horizontal

Re: NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Uli Kusterer
On 09 Feb 2015, at 22:18, Jerry Krinock wrote: > I may need to break down and learn something about graphics and drawing. > > I use NSBezierPath in a -[NSView drawRect:] to do an engineering-style > drawing. Here is a tiny arrowhead pointing to a vertical “dimension line”: > > Not very nice.

NSBezierPath + thin lines + antialias = :(

2015-02-09 Thread Jerry Krinock
I may need to break down and learn something about graphics and drawing. I use NSBezierPath in a -[NSView drawRect:] to do an engineering-style drawing. Here is a tiny arrowhead pointing to a vertical “dimension line”: Not very nice. If instead I draw this in a graphics program, with antiali

Re: What UIControl could this be?

2015-02-09 Thread Todd Freese
There are a bunch of projects on github to do this. Here is one I use and really like it: https://github.com/dzenbot/DZNSegmentedControl T > On Feb 9, 2015, at 11:49 AM, David Duncan wrote: > > You can use the appearance proxy to change the

Re: What UIControl could this be?

2015-02-09 Thread David Duncan
You can use the appearance proxy to change the look of many controls in UIKit. In the case of UISegmentedControl you can set background images to use for the segments, along with other properties. I think you can then just configure the segment text with line breaks to get this specific look. >

Re: Spanning UITextField on navigation bar

2015-02-09 Thread David Duncan
> On Feb 9, 2015, at 6:21 AM, Aaron Lewis wrote: > > Hi, > > I'm trying to put only a UITextField and a bar button on a navigation bar. > > The text field will take both the space of both left and the middle space. > > Is that possible? In Xcode I can't drag it like that, it's either left or

Re: Convert to NSString from

2015-02-09 Thread Fritz Anderson
On 6 Feb 2015, at 12:04 PM, Jens Alfke wrote: > > No one's used MacRoman encoding since the OS X transition, except for a few > slow-moving legacy codebases. … and some Adobe PDF embedded fonts. — F ___ Cocoa-dev mailing list (Cocoa-dev@li

Q about maintaining uiimage size across devices

2015-02-09 Thread Eric E. Dolecki
Quick question. I need to create a simulation that can run on iPhone 5, 6, 6 Plus, and iPads... the main UI in the simulation needs to be 69mm in diameter (it's a circular display for a product). I have all my screens as PNGs - and would like to keep it that way (swapping images into a image view i

Re: Spanning UITextField on navigation bar

2015-02-09 Thread Alex Zavatone
Do it in code. Create the UITextField (Why a UITextField and not a UILabel?) within a rect and add it to the view. But if you have it take the place of the left button which is the back button, then how will the user navigate back? On Feb 9, 2015, at 9:21 AM, Aaron Lewis wrote: > Hi, > > I'm

Spanning UITextField on navigation bar

2015-02-09 Thread Aaron Lewis
Hi, I'm trying to put only a UITextField and a bar button on a navigation bar. The text field will take both the space of both left and the middle space. Is that possible? In Xcode I can't drag it like that, it's either left or middle -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pg