I've seen a couple of replies and I thank you guys.
However, there isn't any resizing of the scrollview involved: the scrollview
has a fixed size inside the cell, no matter the orientation. The problem is
that I calculate the zoom scale based on the image width (in UIImageView that
contains the
On Aug 8, 2012, at 00:27 , Laurent Daudelin wrote:
> minimumScale = [self.imageScrollView frame].size.width
> / [self.postPictureView frame].size.width;
IDK, but this looks like the problem to me. The calculation is using rect
widths that are in 2 different coordinate sy
On 07.08.2012, at 00:38, Graham Cox wrote:
>
> On 07/08/2012, at 2:38 AM, Kevin Perry wrote:
>
>> A stab in the dark: Have you tried running with OBJC_PRINT_REPLACED_METHODS
>> set? There's a small chance that you have code in your app or a library that
>> you're linking that replaces via c
On Aug 7, 2012, at 11:55 PM, Graham Cox wrote:
> According to the release notes for 10.7, NSTableView should now support
> contextual menus at the individual cell level:
>
>> NSTableView/NSOutlineView - Contextual menu support
>>
>> NSTableView and NSOutlineView now have better contextual menu
Thanks, Quincey! I'll give it a shot!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://www.nemesys-soft.com/
Logiciels Nemesys Software
laur...@nemesys-soft.com
On Aug 8, 2012, at 00:56, Quincey Morris
w
CocoaHeads Lake Forest will be meeting on the second Wednesday of the
month. We will be meeting at the Orange County Public Library (El Toro)
community room, 24672 Raymond Way, Lake Forest, CA 92630
Please join us from 7pm to 9pm on Wednesday, August 8.
Matt Neuburg's Programming iOS 5, second e
On Aug 7, 2012, at 10:55 PM, Graham Cox wrote:
>
>
> According to the release notes for 10.7, NSTableView should now support
> contextual menus at the individual cell level:
>
>> NSTableView/NSOutlineView - Contextual menu support
>>
>> NSTableView and NSOutlineView now have better contextu
On Wed, Aug 8, 2012, at 10:38 AM, Corbin Dunn wrote:
> No it hasn't changed, but the clicked row is set *after* you return a
> menu. That way your menu validation code can use it. I think the
> DragNDropOutlineView demo shows how to do this.
I've always thought this was an extremely odd design dec
On Aug 7, 2012, at 9:48 AM, Kyle Sluder wrote:
>> Yes, and devs are also supposed to prefix their own methods to avoid exactly
>> this problem.
>
> And if your prefix clashes with the hidden one that Apple or another
> framework vendor chose, you're *still* SOL.
>
> Nope, we totally don't nee
As I recently learned, plain strings are stored "as is" in the
executable and can be discovered - if opening it in a text editor, for
example.
That is, if I have a string @"myString" inside the code, it can be read
in plain text inside the executable.
I have a couple of string I don't want t
Hi. I am thinking to do a funny program that make the iPhone to be HOT. I
intensionally want the device increase your temperature.
Using the iPhone, I knot it will be hot if I use the 3G Internet.
Programing, I can try the program continually transfer files.
What other strategy I can use to do th
On Aug 8, 2012, at 12:58 , Leo wrote:
> As I recently learned, plain strings are stored "as is" in the executable and
> can be discovered - if opening it in a text editor, for example.
>
> That is, if I have a string @"myString" inside the code, it can be read in
> plain text inside the execut
On Aug 8, 2012, at 11:38 AM, Kyle Sluder wrote:
> On Wed, Aug 8, 2012, at 10:38 AM, Corbin Dunn wrote:
>> No it hasn't changed, but the clicked row is set *after* you return a
>> menu. That way your menu validation code can use it. I think the
>> DragNDropOutlineView demo shows how to do this.
>
Le 8 août 2012 à 22:15, Rick Mann a écrit :
> On Aug 8, 2012, at 12:58 , Leo wrote:
>
>> As I recently learned, plain strings are stored "as is" in the executable
>> and can be discovered - if opening it in a text editor, for example.
>>
>> That is, if I have a string @"myString" inside the
As a side note, back in the Apple ][ days and in high school, we had a program
that would regularly fry a chip on our graphics cards. Sometimes, the chip
even exploded.
I'm not sure that your pursuit is a great idea, but finding out how to max out
the processor cores would drain the battery an
How much security do you want?
If your strings are basic ASCII, then their value is ASCII 32 to 126. You can
just bit shift the ASCII values (+128), store the ASCII value, or zip the
strings.
On Aug 8, 2012, at 4:37 PM, Jean-Daniel Dupas wrote:
>
> Le 8 août 2012 à 22:15, Rick Mann a écrit
On Wed, Aug 8, 2012, at 01:21 PM, Corbin Dunn wrote:
>
> On Aug 8, 2012, at 11:38 AM, Kyle Sluder wrote:
> > Is there a reason that I shouldn't file a bug asking for clickedRow to
> > be set as soon as the row is clicked?
>
> I just hadn't thought that people would have needed the clicked row
>
On Aug 8, 2012, at 2:05 PM, Kyle Sluder wrote:
> On Wed, Aug 8, 2012, at 01:21 PM, Corbin Dunn wrote:
>>
>> On Aug 8, 2012, at 11:38 AM, Kyle Sluder wrote:
>>> Is there a reason that I shouldn't file a bug asking for clickedRow to
>>> be set as soon as the row is clicked?
>>
>> I just hadn't
On 08/08/2012, at 7:46 PM, Uli Kusterer wrote:
> Prefix/suffix them with gc_ / _gc ? Alternately, just define them in a .plist
> and build your table from that, then you don't need to implement named
> NSColor methods for them at all.
>
I have a table, that's not a problem.
The SVG standar
On 09/08/2012, at 3:38 AM, Corbin Dunn wrote:
> No it hasn't changed, but the clicked row is set *after* you return a menu.
> That way your menu validation code can use it. I think the
> DragNDropOutlineView demo shows how to do this.
OKaaay
I can figure it from the cell rect as suggest
I've just noticed another odd behaviour of NSOutlineView. This is on 10.8 and
I've never noticed this before, so it might be something new.
When I click a turn-down triangle to open an outline item, all of the text
draws in a slightly bigger font for the duration of the triangle's animation,
th
On 09/08/2012, at 9:10 AM, Graham Cox wrote:
> Ah, I'm thinking this *could* be due to my previous observation about cells
> being copied using NSCopyObject. If the cells are copied during that
> animation for some reason, then perhaps the text settings for my custom cell
> are not being copi
On Aug 8, 2012, at 3:23 PM, Graham Cox wrote:
> The SVG standard defines 147 named colours:
> http://www.december.com/html/spec/colorsvg.html
>
> I thought it would be a nice programmer convenience to have NSColor return
> these colours using the same naming convention that it already uses fo
On Wed, Aug 8, 2012, at 02:48 PM, Corbin Dunn wrote:
> Cool; note that with View Based TableViews these types of things are
> easier to do, since one can just do normal "view stuff", and easily query
> for what row they are in (via rowForView:)
It does make it easier for subviews that want to perf
On Aug 8, 2012, at 4:21 PM, Graham Cox wrote:
> On 09/08/2012, at 9:10 AM, Graham Cox wrote:
>> Ah, I'm thinking this *could* be due to my previous observation about cells
>> being copied using NSCopyObject. If the cells are copied during that
>> animation for some reason, then perhaps the text
On Aug 8, 2012, at 16:21 , Graham Cox wrote:
> This opens up a whole big can of worms about implementing copy.
>
> If a superclass implements copies using NSCopyObject, then any pointer ivars
> we add in a subclass need to be additionally -retained. But if the superclass
> implements copy by a
On 09/08/2012, at 9:39 AM, Greg Parker wrote:
> NSCopyObject() is ugly. Avoid it if you can.
>
> NSCell uses NSCopyObject. I don't know if there are other framework classes
> that are likely to be copied and subclassed that use NSCopyObject.
>
> One solution is to compile your subclass with
On Aug 8, 2012, at 4:52 PM, Graham Cox wrote:
> I see that NSCopyObject is deprecated as of 10.8 (but is still being used
> internally).
>
> This is going to be fun moving forward :) I'm not sure how binary
> compatibility is going to be maintained as NSCopyObject disappears, for
> example, in
On Wed, Aug 8, 2012, at 04:52 PM, Graham Cox wrote:
> I see that NSCopyObject is deprecated as of 10.8 (but is still being used
> internally).
>
> This is going to be fun moving forward :) I'm not sure how binary
> compatibility is going to be maintained as NSCopyObject disappears, for
> example,
On 09/08/2012, at 9:47 AM, Quincey Morris
wrote:
> It seems to me that you need to think of 'copyWithZone:' as a kind of 'init…'
> method, and it should therefore *not* use properties to change the instance
> variables that belong to the subclass, but change them directly. This is
> actually
I'd like to filter the values in a table column based on values entered in two
NSTextFields by the user (min and max).
I tried to bind the Min Value and Max Value of the column to the NSTextField
float value property, but that didn't change anything. I also created a min and
max property in my
On 8/9/12 12:58 AM, Graham Cox wrote:
NSCell apparently uses NSCopyObject() to make a copy of itself, and
NSTableView copies cells at times, e.g. for hit testing. If you have a custom
cell subclass that supports copying, DO NOT use [super copyWithZone:]
followed by your custom copy stuff. Since s
On 8/9/12 8:14 AM, Markus Spoettl wrote:
On 8/9/12 12:58 AM, Graham Cox wrote:
NSCell apparently uses NSCopyObject() to make a copy of itself, and
NSTableView copies cells at times, e.g. for hit testing. If you have a custom
cell subclass that supports copying, DO NOT use [super copyWithZone:]
f
33 matches
Mail list logo