On Apr 8, 2013, at 3:07 PM, Caylan Larson wrote:
> I'm doing an asynchronous read from a USB printer. The read works correctly.
> My trouble is updating a NSTextField from within the callback.
I don’t know the USB API, but I’d guess the callback gets invoked on some
background thread, in wh
OK, one solution I found is to embed all my subviews in a container view, and
do the drawing there. Then I have to handle selection, but that turned out to
be not too bad. So, unless anyone suggests a better way to do this, this will
do for now.
Thanks!
Martin
On Apr 11, 2013, at 08:46 PM, Ma
On Apr 11, 2013, at 10:38 PM, cocoa-dev-requ...@lists.apple.com wrote:
> sampleImage is defined as
>
> @property (nonatomic, strong) UIImage *sampleImage;
>
> and initialized by
>
>self.sampleImage = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle]
> pathForResource:@"earth" ofType
Hi
I am trying to slide up a NSWindow when a button is pressed. I used
NSViewAnimation to do so. The code I wrote is
NSRect _saveRect = [macWindow frame];
NSRect _zeroRect = _saveRect;
NSSize orignalSize(_saveRect.size);
_zeroRect
So I was looking for a graphics library in the Developer Docs that serves both
Mac-Apps and iOS-Apps.
I found references to polylines in a MapKit.
There is of course Quartz2D and OpenGL.
So which of these libraries or perhaps there is another I have not heard of yet
is best at building simpl
I'm doing an asynchronous read from a USB printer. The read works correctly.
My trouble is updating a NSTextField from within the callback.
> -(IBAction)printTest:(id)sender
> { ….
> NSLog(@"starting async read: %@", _printerOutput);
> NSLog(@"_printerOutput pointer = %p",
I am trying to use editItemAtIndexPath:withEvent:select: in my program to
programatically start editing the text in my cell. It works for all items
except those in the first column. As an experiment I added code to the Apple
sample ComplexBrowser and the same thing happened. Is this a bug, by de
Hello,
I've a custom UISwitch replacement based upon UISlider which I use for visual
styling purposes. It already works like a UISwitch via VoiceOver - it appears
as a button that can be toggled.
I'm currently making my app more accessible, and have noticed that the
Preferences app treats UITa
On Apr 11, 2013, at 8:48 PM, koko wrote:
>> Yep, you want to use registerNib:forCellWithReuseIdentifier:
>
Pilot Error … I had the UIImage view connected to the Files owner not the Cell
… all works now
Sorry for the noise!
-koko
___
Cocoa-dev ma
On Apr 11, 2013, at 8:25 PM, Luke the Hiesterman wrote:
> Yep, you want to use registerNib:forCellWithReuseIdentifier:
>
I don't think so as this example originally had a UIlabel which was set and
displayed properly.
I wanted to replace the UILabel with an image.
I do not use UINib *cellNib
Yep, you want to use registerNib:forCellWithReuseIdentifier:
If you register a class we just alloc/init it for you.
Luke
On Apr 11, 2013, at 7:24 PM, koko
wrote:
>
> On Apr 11, 2013, at 8:23 PM, Luke the Hiesterman wrote:
>
>> How are you registering the reuseIdentifier? Do you use registe
On Apr 11, 2013, at 8:23 PM, Luke the Hiesterman wrote:
> How are you registering the reuseIdentifier? Do you use registerClass or
> registerNib?
[self.collectionView registerClass:[CVCell class]
forCellWithReuseIdentifier:@"cvCell"];
___
Coco
How are you registering the reuseIdentifier? Do you use registerClass or
registerNib?
Luke
On Apr 11, 2013, at 7:10 PM, koko
wrote:
> I have subclassed UICollectionViewCell as Cell and defined a property:
>
> @property (nonatomic, strong) IBOutlet UIImageView *imageView;
>
> I have a Cell.x
I have subclassed UICollectionViewCell as Cell and defined a property:
@property (nonatomic, strong) IBOutlet UIImageView *imageView;
I have a Cell.xib whose owner is Cell. The Cell Object contains a UIImageView
which is connected to the above property.
In collectionView:cellForItemAtIndexPath
On Apr 11, 2013, at 11:57 AM, Sean McBride wrote:
> 2 libsystem_c.dylib 0x7fff88fb2dce abort + 143
> 3 com.apple.CoreGraphics0x7fff920db242 CGSConnectionByID +
> 232
Did CGS write anything to the console before calling abort()? Looks like it’s
complaini
On Apr 11, 2013, at 1:57 PM, Sean McBride wrote:
> I have an executable which runs fine on 10.7.5, but when run in 10.8.3
> crashes as below. This repros 100% on several machines. The cursor is
> created plainly: [NSCursor pointingHandCursor], it happens with [NSCursor
> crosshairCursor] too,
On Thu, 11 Apr 2013 18:29:00 -0400, Jon Gary said:
>At the risk of suggesting the obvious, did you test with the zombie
>instrument to see of you have a memory management bug unrelated to cursors?
Instrument's zombie tool has no complaints. I also tried my usual arsenal,
specifically, I set the
At the risk of suggesting the obvious, did you test with the zombie instrument
to see of you have a memory management bug unrelated to cursors?
--
Jon
On Apr 11, 2013, at 6:15 PM, Sean McBride wrote:
> On Thu, 11 Apr 2013 14:52:48 -0700, Quincey Morris said:
>
>>> I have an executable which r
On Thu, 11 Apr 2013 14:52:48 -0700, Quincey Morris said:
>> I have an executable which runs fine on 10.7.5, but when run in 10.8.3
>crashes as below. This repros 100% on several machines. The cursor is
>created plainly: [NSCursor pointingHandCursor], it happens with
>[NSCursor crosshairCursor] t
On Apr 11, 2013, at 11:57 , Sean McBride wrote:
> I have an executable which runs fine on 10.7.5, but when run in 10.8.3
> crashes as below. This repros 100% on several machines. The cursor is
> created plainly: [NSCursor pointingHandCursor], it happens with [NSCursor
> crosshairCursor] too,
Hi all,
I have an executable which runs fine on 10.7.5, but when run in 10.8.3 crashes
as below. This repros 100% on several machines. The cursor is created
plainly: [NSCursor pointingHandCursor], it happens with [NSCursor
crosshairCursor] too, but not with IBeamCursor nor arrowCursor!
Any i
Dear list,
I'm continuing my adventures in view-based tableview land. I've got drag-n-drop
working nicely, but I'd like to improve the image that's shown during a drag.
Currently I just get the subviews of my NSTableCellView subclass, but I don't
get the background that's drawn in -drawBackgrou
That worked perfectly, thanks Wim, even a zero-width return from the delegate
was enough to get the preceding space considered.
Very simple, great tip.
On 10 Apr, 2013, at 10:39 AM, Roland King wrote:
> That looks like a good thing to try, thanks. I'm quite fortunate in that the
> images I
23 matches
Mail list logo