Hi Everyone!
This one has me stumped..
I have been working on a custom UI for my Cocoa application. By looking around
the internet, I have managed to learn how to subclass a large number of UI
objects on MacOSX. In many cases I could make the appearance work the way I
want.
The last UI elemen
Hi James,
Very clever way of getting the boundaries of each cell!
I was wondering if this was possible. I’ll take a shot at this and how far I
get.
Thanks!
bob.
> On Nov 21, 2016, at 5:46 PM, James Walker wrote:
>
> On 11/20/2016 8:15 PM, Robert Monaghan wrote:
>> I have be
Hi Torsten,
This is of interest to me, as well. I haven't had a chance to look into it, but
I will over the next few days.
Bob
Sent from my iPhone
> On Mar 9, 2015, at 15:54, Torsten Curdt wrote:
>
> I could not find the prefs app
>
>
> https://developer.apple.com/library/mac/technotes/tn2
older?
Thanks!
bob.
Robert Monaghan
Glue Tools LLC
1024A Quinientos St.
Santa Barbara, CA, 93103
United States
tel: +1 805 456 7997
fax: +1 805 456 7998
www.gluetools.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Begin forwarded message:
> From: Robert Monaghan
> Date: November 5, 2009 9:19:21 PM PST
> To: Dave Carrigan
> Subject: Re: DMG Creation without using hdiutil..
>
> Ahh,
>
> -puppetstrings give me some useful feedback. Thanks for the tip!
> I'll look
Hi Everyone,
Is there a way to determine if a mounted "removable" volume is a DMG or not? I
need to distinguish between a USB Stick and a DMG in my app. I have played with
statfs(), but I can't seem to figure out a tangible/concrete difference.
How does one figure out what type of removable vol
Hi Everyone,
You would think this is simple, but I can't figure this out.
Lets say I have a pile of NSString Paths in an array, where some of them have
the word "GREEN" in the file name.
I've been trying to build an NSPredicate which would exclude elements that
contain the name..
Every attempt
r. (I haven't
found any working examples or docs explaining the practical use of NOT
or NONE, etc.. on Apple's site)
Bob
Sent from my iPhone
On Mar 21, 2010, at 9:16, Jon Pugh wrote:
At 7:54 AM -0700 3/21/10, Robert Monaghan wrote:
Lets say I have a pile of NSString Paths in
Hi Kirk,
The variable wildcardString would contain a string such as *GREEN* for a
wildcard search to include files with that name, and for simplicity's sake a
string like !*GREEN* for those that wish to exclude files that contain the
string.
Here is a sample bit of code..
BOOL foundStar = NO;
Good Suggestion!
Let me look.
bob.
On Mar 21, 2010, at 4:43 PM, Kyle Sluder wrote:
> On Sun, Mar 21, 2010 at 12:47 PM, Robert Monaghan wrote:
>> I've replaced the "not" predicate with all sorts of combinations. I get a
>> NSInvalidArgumentException the moment t
Hi Everyone,
How does one remove a NSPredicate from an NSMutableSet?
I want to reuse the NSMutableSet for another purpose, but I have to strip out
the Predicate that I assigned.
Passing "filterUsingPredicate:nil" causes an exception. Is there a way to do
this? Or should I generate another NSMuta
Hi Everyone..
I am loosing my mind with NSURL's initFileURLWithPath. (Trying to build a 10.5
app.. btw)
If I create a NSURL object with a local file path, everything looks as it
should, when stepping through the code with the debugger.
However, when I use "[myURL path]" in my code, I get a path
e NSString value ends up being a path
to my binary.
bob.
On May 18, 2010, at 12:55 PM, Mike Abdullah wrote:
> Show us some code.
>
> On 18 May 2010, at 09:49, Robert Monaghan wrote:
>
>> Hi Everyone..
>>
>> I am loosing my mind with NSURL's initFileURLWi
mit the call to autorelease when
> creating url ?
>
> Volker
>
> Am 18.05.2010 um 13:52 schrieb Robert Monaghan:
>
>> Hi Mike,
>>
>> This is pretty trivial.. I have a string that is coming from an FCP XML
>> file. The string looks like this:
>>
17984, base
= (null)}}
bob.
On May 18, 2010, at 2:12 PM, Abhinay Kartik Reddyreddy wrote:
>
> On May 18, 2010, at 7:52 AM, Robert Monaghan wrote:
>
>> Hi Mike,
>>
>> This is pretty trivial.. I have a string that is coming from an FCP XML
>> file. The string loo
Ok, I am doing this now, which *seems* to work.
NSURL *url = [NSURL URLWithString:[[pathurlArray objectAtIndex:0] stringValue]
relativeToURL:nil];
bob..
On May 18, 2010, at 2:20 PM, Robert Monaghan wrote:
> The path from [[pathurlArray objectAtIndex:0] stringValue] is going into the
>
Interesting.. The source of this path is from Final Cut Pro. I can't say how
they come up with the path.
I will ping some people and find out.
bob.
On May 18, 2010, at 8:01 PM, John Joyce wrote:
>
> On May 18, 2010, at 12:39 PM, cocoa-dev-requ...@lists.apple.com wrote:
>
>> Content-Type: text
Submitted as an enhancement request.. :)
Bug ID# 9908437
bob..
On Aug 2, 2011, at 5:29 PM, Dave Zarzycki wrote:
> Karl,
>
> This is not on our todo list or any list that I know of. Please file a bug
> report if this enhancement request is interesting to you.
>
> Thanks! :-)
>
> davez
>
>
Hi Everyone,
It seems to me that there isn't an easy way to do this..
I have a bunch of Objects that are in an NSArrayController. My UI is bound to
an NSObjectController which is then set to work with one of these objects (in
the ArrayController). The user essentially selects one of the objects
Hi Everyone,
I can't seem to get an NSCollectionView to render an of the
NSCollectionViewItems' NSViews.
I have an NSCollectionView that is bound to an NSArrayController's
arrangedObjects.
The NSCollectionViewItem is set up as a template, and also has its Outlet
attached to an NSView.
For fun
proper superview set?
bob.
On Oct 10, 2011, at 4:49 PM, Robert Monaghan wrote:
> Hi Everyone,
>
> I can't seem to get an NSCollectionView to render an of the
> NSCollectionViewItems' NSViews.
>
> I have an NSCollectionView that is bound to an NSArrayController
Hi,
A quick word of warning, while QTKit is being deprecated for AVFoundation/Core
Media, there is no third party codec support in the new APIs. I would consider
this while you develop your app. I doubt that 3rd party codec support for Core
media is going to arrive as fast (or as complete) as w
. Currently, QTKit is really the only game in town for
Media usage.
Lets hope this changes sooner than later!
bob
On Oct 12, 2011, at 1:31 AM, Jean-Daniel Dupas wrote:
>
> Le 12 oct. 2011 à 04:46, Robert Monaghan a écrit :
>
>> Hi,
>>
>> A quick word of warning, while QT
ionView working just fine, yet my second one needs
all of these Animation layers enabled?
Progress at least!
My hunch is this: Two separate NSCollectionViews needs some Core Animation
tweaking to make work.
bob.
On Oct 10, 2011, at 7:43 PM, Robert Monaghan wrote:
> Well,
>
> After s
Hi Everyone,
Perhaps someone can help point me in the right direction on this:
I have an NSObjectController that maintains a UI for me.
I have an NSTextField which contains numerical value. You could type in a
number, which populates an NSNumber object deep inside my code..
Magically, my NSObjec
alue is 20, and currentValue is 15. Everything is great.
Now type in 500 in the NSTextField, and out pops a sheet!
I am going to see about validation. Perhaps that is how this is happening.
bob..
On Dec 17, 2011, at 11:10 AM, Peter wrote:
>
> Am 17.12.2011 um 19:59 schrieb Rob
gt; http://www.cocoabuilder.com/archive/cocoa/101845-using-validatevalue-forkey-error-to-limit-slider-range-with-cocoa-bindings.html
>
> I couldn't make any of these work though.
>
> And that's about all I could find - no answers really.
>
> Am 17.12.2011 um 20:17 schrieb
!
bob.
Robert Monaghan
Glue Tools LLC
P.O.Box 24124
Santa Barbara, CA, 93121
United States
tel: +1 805 456 7997
fax: +1 805 456 7998
www.gluetools.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator com
Wow, I wake up one morning, and the definition of Megabytes change.
Did anyone explain this to the computers? The last time I checked, they still
used binary.. ;)
bob.
On Dec 27, 2011, at 8:54 AM, Mikkel Islay wrote:
>
> On 27 Dec 2011, at 17:48, Robert Monaghan wrote:
>>
>
, etc.)
I had not heard that SI had adopted metric terms.. :)
Thanks for your thoughts! Its an annoying problem. Not a major issue.
Enjoy the Holidays!
bob.
On Dec 27, 2011, at 11:07 AM, Scott Ribe wrote:
> On Dec 27, 2011, at 9:57 AM, Robert Monaghan wrote:
>
>> Wow, I wake up one
Hi Everyone,
I seem to be crashing with the following message:
malloc: *** error for object 0x104839c08: incorrect checksum for freed object -
object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
However, malloc_error_break never gets called.
I have
.
One idea I have, is that this could be a XIB file that contains a
NSCollectionView with the NSView for the actual Icon.
Bob..
On Jan 1, 2012, at 9:51 AM, Robert Monaghan wrote:
> Hi Everyone,
>
> I seem to be crashing with the following message:
> malloc: *** error for object
Hi Martin,
Thanks for the suggestion!
Believe it or not, it ended up being a for loop overwriting memory under a very
specific condition.
This would cause a malloc to be corrupted, (for instance.)
Nothing like a wild goose chase. I looked everywhere for this one.
Best Regards,
bob.
On Jan 3,
Hi Everyone,
My app has an NSCollectionView of devices, each with a custom icon.
I have a need to display the number of downloads happening from a given device.
The way that I want to do this, is to place a badge on each icon.
I have just tried to implement a "clone" of the NSDockTile badge that
Hi Everyone..
Can someone point me to a blog or webpage that describes how to give an
existing NSControl a face lift?
I want to change the "baby blue" appearance of NSProgressIndicator, to match my
UI.
Thanks!
bob,
___
Cocoa-dev mailing list (Cocoa
Hi Everyone,
This has been asked before by another Cocoa-dev follower, but there wasn't an
answer...
I have an NSCollectionView where I want to be able to "Shift-click" a range of
Icons.
Strangely, I can Command-click a range of individual icons, but a shift-click
of a range will not work.
Wha
Hi Everyone,
I have just read all of the posts that I can find about the NSCollectionView
and selecting an item (or items) for a drag operation. As others have pointed
out, the selection takes about 1 second for a drag operation to be processed.
This is a real sore spot when using the NSCollect
Hi Lee Ann,
Thanks for the info.. I was going to ask you if you had done any more digging.
Heheh, my users are mostly using Lion, too.
I guess more bug reports with Apple is the way to go on this.
bob.
On Feb 7, 2012, at 7:52 PM, Lee Ann Rucker wrote:
>
> On Feb 7, 2012, at 7:47 AM,
Hi Wade,
Many of Apple's other products are pretty solid. Its a shame that XCode 4 is
pretty unstable.
XCode 3.2.6 -might- crash once every 2 to 3 months, Xcode 4.2 -will- crash
about once an hour. I am not even interested in trying Xcode 4.3. This reminds
me of how bad Microsoft Office used to
Hi Shane,
NSOperationQueue will not let you re-run a previously run NSOperation Object.
What I did to get around the problem was to create my own NSObject that does
what I want. I then wrapped the object with an NSOperation object to run. Once
complete, I can simply re-use my NSObject by wrappin
Is it possible to share a DataModel and resulting db file between 2 apps?
If so, what sort of pitfalls are present?
I want to create an App that creates the DB file, and a plugin for another App,
that reads the database file.
Thanks!
bob..
___
Cocoa
ther machine is
> also trying to access over the network at the same time.
>
> Mike.
>
> On 28 Dec 2009, at 17:50, Robert Monaghan wrote:
>
>> Is it possible to share a DataModel and resulting db file between 2 apps?
>> If so, what sort of pitfalls are present?
>>
wrote:
> But from remote and local machine at once? This sounds dangerously like a
> multi-user setup which Core Data is very much NOT designed for. Trying to
> force it will only result in pain later.
>
> On 28 Dec 2009, at 18:19, Robert Monaghan wrote:
>
>> Nice! I su
Hi Everyone..
Is there an easy way to clone an XML tree in Cocoa? Or will I be going thru
recursion code hell?
:)
Thanks!
bob.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
Its a fairly deep copy. There are several nodes deep.
I am trying to copy parts of the tree, so that I don't have to write code to
regenerate them.
bob.
On Feb 2, 2010, at 4:26 PM, Jens Alfke wrote:
>
> On Feb 2, 2010, at 4:16 PM, Robert Monaghan wrote:
>
>> Is there an
Actually, I was able to use copyWithZone to do what I needed.
Nice!
bob.
On Feb 2, 2010, at 4:28 PM, Robert Monaghan wrote:
> Its a fairly deep copy. There are several nodes deep.
> I am trying to copy parts of the tree, so that I don't have to write code to
> regenerate
Hi Everyone,
I am changing the NSURL of a path, that drives NSPathControl.
If I edit the path so that the new text element of that path is longer or
shorter than the original path,
I would need to have NSPathControl redraw itself..
Here is an example of what I am doing:
(myPathControl is a NSPa
Yeah, I did.. that didn't work either.
Tried:
[myPathControl sizeToFit];
bob.
On Mar 9, 2010, at 12:33 PM, Sean McBride wrote:
> On Tue, 9 Mar 2010 12:26:14 -0800, Robert Monaghan said:
>
>> I am changing the NSURL of a path, that drives NSPathControl.
>> If I edit t
Hi Everyone,
Another Question:
How does one make a NSTextField work inside an NSMenuItem? (For 10.5/10.6)
I can place the NSTextField into a View that I've created in a NIB file, and
have added it to the NSMenuItem
using setView:
It shows up perfectly, and I can pre-populate the text field using
updated the URL path in
NSPathControl.
A lot of work, but thats what it took.
bob..
On Mar 9, 2010, at 12:57 PM, Robert Monaghan wrote:
> Yeah, I did.. that didn't work either.
> Tried:
> [myPathControl sizeToFit];
>
> bob.
>
> On Mar 9, 2010, at 12:33 PM,
Hi Everyone,
I am trying to post a notification (a
CFNotificationCenterPostNotification) on a thread from a
CFNotificationCenterGetLocalCenter, to a NSNotificationCenter
defaultCenter. All on the same thread, spun off from my main thread.
The observer that I am adding, never gets called.
Hi Everyone,
I have a reasonably mixed NSTableView object.. I have some columns bound to my
NSArrayController, which drives an NSCell with a Checkbox. I have other Columns
which are driven by the traditional delegate calls, so that I can add some
logic to change the text color, depending upon t
Hi Everyone,
In a previous posting, I had a problem with NSCollectionView not selecting a
range of objects, when shift-selecting items.
For example, if I were to click on object "3" and then shift-click on object
"5", I would expect a range of 3,4,5 to be highlighted.
Instead only 3 and 5 are se
con views, i.e. they
> toggle the clicked item.
>
> --Graham
>
>
>
>
>
> On 09/07/2012, at 5:34 PM, Robert Monaghan wrote:
>
>> Hi Everyone,
>>
>> In a previous posting, I had a problem with NSCollectionView not selecting a
>> range of
Hi,
I just took a look. It seems to have a fairly current bunch of email from today.
bob.
On Jul 10, 2012, at 8:47 PM, Andy Lee wrote:
> I can get to the site but it doesn't seem to have been updated since June 25.
>
> --Andy
>
> On Jul 10, 2012, at 2:35 PM, Richard Altenburg (Brainchild) wr
Hi Everyone,
I have just run head long into an issue with NSMutableData and existing buffers.
I have the following code:
UInt8 *sourcebytes = [clImgEngine srcBuffer];
[self setData:[NSMutableData
dataWithBytesNoCopy:sourcebytes length:[clImgEngine
ot; are welcome.
bob.
//
// GT_NSMutableData.h
//
// Created by Robert Monaghan on 12/13/12.
// Copyright (c) 2012 Glue Tools LLC. All rights reserved.
//
#import
@interface GT_NSMutableData : NSMutableData
{
void *_gt_buffer;
NSUInteger _gt_length;
BOOL _gt_freeWhenDo
Hi, Todd,
Set a breakpoint and see which thread it stops on.
(It is probably not the main thread. But you will find out for certain with the
breakpoint.)
Bob
Sent from my iPhone
On Feb 4, 2013, at 22:44, Todd Heberlein wrote:
> I have an NSInvocationOperation, anOp, and register to observe
Hi Everyone,
I am trying to figure out what the best method is, to playback
"generated" graphics.
I am downloading image data over ethernet, and then processing the
imagery.
Currently I am creating a NSBitmapImageRep, and populating the buffer
with my pixel data.
I then draw this inside
why I am even binding anything. (My Custom NSCell doesn't
even use/require bindings.)
Could someone shed some more information on this fix?
-- I am using IB 3.1.2 (677) and Xcode 3.1.2
Thanks in advance!
bob.
Robert Monaghan
Glue Tools LLC
629 State St. Suite 220
Santa Barbara, CA, 93
ly set the buttons/popups, but
nothing else.
Is there any sort of example that shows how an NSDictionary can drive
a pile of controls with bindings? Or should I just brute-force this,
and write other code?
bob.
Robert Monaghan
Glue Tools LLC
629 State St. Suite 220
Santa Barbara, CA, 93101
Hi Everyone..
I have a Daemon communicating with an application using NSConnection/
NSMachPort. It appears that they loose communication somehow, under
extremely heavy CPU loads on the System. Has anyone heard of this, or
experienced it? I am trying to duplicate what my customer is seeing.
Hi Everyone..
I have a really weird problem with my basic application.
From time to time, on only a very few machines, (running 10.5.5), my
application crashes when a user clicks on a button. It reports a
EXC_BAD_ACCESS. Here is the crash report:
Code Type: X86 (Native)
Parent Process
Here is what my user reports:
- Under extremely heavy CPU Loads, my software app, and the daemon
looses its connection. The user is rendering a lot of imagery on the
same machine. I am assuming that the CPUs are being maxed out with a
lot of threads tying up the machine.
- Just about every
How about with Tiger users? Do the applications work there, too?
Bob
Sent from my iPhone
On Dec 3, 2008, at 6:47 AM, Luca Ciciriello
<[EMAIL PROTECTED]> wrote:
No Idea, but I use currently GCC-4.2 for my Apps. I've to say that
my applications are C++ and Objective-C++ apps.
I haven't fou
65 matches
Mail list logo