Re: 64-bit iOS

2013-09-14 Thread vipgs99
So do I need replace all int to NSInteger? On 13-9-11 3:50, Fábio Bernardo wrote: I don't get the advantage... What I am missing? — Fábio Bernardo On Tue, Sep 10, 2013 at 8:45 PM, Scott Ribe wrote: Well, since nobody else has commented, let me be the first to say: YES! YES! YES! THANK Y

Re: 64-bit iOS

2013-09-14 Thread David Duncan
On Sep 14, 2013, at 7:37 AM, vipgs99 wrote: > So do I need replace all int to NSInteger? Technically no, but generally you do need to evaluate every usage of data types of a specific width and ensure that in 64-bit mode you won’t exceed the bounds of what an int can store. It is more common

Re: 64-bit iOS

2013-09-14 Thread Roland King
There's a transition guide, I'd start by reading that. Good news, Apple has done this twice before and so the instructions are good and the tools are good at pointing out places you may have issues. Bad news, a bit change is hard even if you have used NSInteger, NSUInteger and CGFloat ubiquitous

Save Panel without Filename selection

2013-09-14 Thread Pax
I have a requirement for a save dialog where the user can select a location but not a filename. At the moment I am implementing this functionality using the Open panel - but this has the disadvantages of a) having the action button labelled Open rather than Save and b) not having 'New Folder' f

Re: Save Panel without Filename selection

2013-09-14 Thread Ken Thomases
On Sep 14, 2013, at 10:42 AM, Pax wrote: > I have a requirement for a save dialog where the user can select a location > but not a filename. At the moment I am implementing this functionality using > the Open panel - but this has the disadvantages of a) having the action > button labelled Open

Re: Save Panel without Filename selection

2013-09-14 Thread Pax
Gah! Now I feel like such a dimwit! I thought that those would only work on NSSavePanel - I didn't think to try them on NSOpenPanel. I shall now go and hide my head in a paper bag, in shame. Thank you so much, Ken. On 14 Sep 2013, at 16:54, Ken Thomases wrote: > On Sep 14, 2013, at 10:42 A

Re: Window controllers and memory leaks

2013-09-14 Thread Jerry Krinock
On 2013 Sep 13, at 12:11, Kyle Sluder wrote: > Add a property to your app delegate that retains the window controller. > Have your window controller listen for NSWindowDidCloseNotification from > its window, and send a message to the app delegate. In response to this > message, the app delegate

Need calls for MathType Edit Interface

2013-09-14 Thread Gordon Apple
Ok, Apple, inc. guys. I¹m not having a lot of success with the MathType people on doing this on a Mac. What I have is the ability to paste/drop MathType pdfs into objects and text, the latter proportioning the baseline properly (even when resizing it), plus my text code now works properly will all

Re: 64-bit iOS

2013-09-14 Thread Jean-Daniel Dupas
You should never be using int in the first place except for API that are already using int, like many libc functions return type. Use the types that fit the API you are using, and if you have to write some API, use types from stdint.h that fit your need. Le 14 sept. 2013 à 16:37, vipgs99 a écr

Re: Odd NSScroller behavior when clicking page dec/inc areas

2013-09-14 Thread Steve Mills
On Sep 13, 2013, at 14:07:53, Kyle Sluder wrote: > It does, but it might be one you can work around by changing how you're > implementing scrolling. > > If I understand correctly, you need to pin a pane of controls to the > edge of the viewport, and scroll the content underneath. They aren't ac