I have User Defaults (Preferences) like:
MainDict =
{
Peter = { Income = 20, Age = 77 },
Nancy = { Income = 24, Age = 37 }
}
That is, the preferences contain a dictionary (MainDict) which
contains two sub-dictionaries (Peter and Nancy).
When in IB I bind an NSTextField to:
S
Hehe I understand, I didn't give much info ...
the thing is, AsyncSocket works mostly with delegate methods so it's
kinda hard to paste some code (i.e. it's not like I have only 1
NSURLConnection didReceiveData: call...it's a complex setup with a
bunch of simultaneous connections, a Connect
On Thu, Dec 18, 2008 at 10:06 PM, Roland King wrote:
> try searching for 'Full-Text'.
>
> But the documentation is correct either way. A CLLocationDistance itself
> isn't necessarily in meters, it's just a double. The functions which return
> it, like getDistanceFrom: and the altitude property tel
On Thu, Dec 18, 2008 at 7:01 PM, Jean-Nicolas Jolivet
wrote:
> Well this is going to be a bit vague since my situation is a bit specific
> but basically I am downloading data using AsyncSocket... then I'm saving it
> directly to the HD...
> However in like 80% of the cases, the resulting data on
From: Jot Kali
Date: December 18, 2008 2:54:30 PM MST
To: Cocoa-dev@lists.apple.com
Subject: NSAppleScript returns wrong result on multiple Safari
windows, applescript editor works
Hello,
I'm trying to get the URL of whatever is the front window / selected
tab in Safari. But for multiple
From: Jot Kali
Date: December 18, 2008 2:54:30 PM MST
To: Cocoa-dev@lists.apple.com
Subject: NSAppleScript returns wrong result on multiple Safari
windows, applescript editor works
Hello,
I'm trying to get the URL of whatever is the front window / selected
tab in Safari. But for multipl
On 18 Dec 08, at 19:27, Geoff Beier wrote:
On Thu, Dec 18, 2008 at 8:05 PM, Robert Clair
wrote:
[NSApp runModalForWindow: licensePanel];
which is called from
- (void)applicationDidFinishLaunching:(NSNotification *)notification
The problem is (not sure when this started, it's just been repor
On Thu, Dec 18, 2008 at 8:05 PM, Robert Clair wrote:
> [NSApp runModalForWindow: licensePanel];
>
> which is called from
>
> - (void)applicationDidFinishLaunching:(NSNotification *)notification
>
> The problem is (not sure when this started, it's just been reported)
> that when it is started the f
If I have to optimise something later, I will do it.
You can take advantage of Objective-C's categories to make future
optimization an easier task. For example, rather than coding:
for( unsigned ii = 0; ii < count; ii++ ) {
sum += [[array objectAtIndex:ii] floatValue]
try searching for 'Full-Text'.
But the documentation is correct either way. A CLLocationDistance
itself isn't necessarily in meters, it's just a double. The functions
which return it, like getDistanceFrom: and the altitude property tell
you what it means and tells you that it's in meters.
CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude:
venue.latitude longitude:venue.longditude];
CLLocationDistance distance = [venueLocation
getDistanceFrom:currentLocation];
Is distance in metres/miles/km? How do I display it on screen in a
platform independent way?
On 19/12/
I have an app that puts up a registration window if it is not
registered when it starts. (The usual 30 day buy later / by now /
enter license kind of thing.) The app is distributed by downloading a
dmg.
I put the window up with:
[NSApp runModalForWindow: licensePanel];
which is called from
- (
Yet another simple operation I've apparently managed to miss something
with...
I have an NSTableView subclass (actually, a subclass of
BGHUDTableView), that contains a bunch of custom cells. For a couple
types of those cells, I want to switch the cursor while it's in that
cell. I'm foll
On Dec 18, 2008, at 4:14 PM, Jacob Rhoden wrote:
Hi Guys, I am doing the following to find a distance between two
locations:
CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude:
venue.latitude longitude:venue.longditude];
CLLocationDistance distance = [venueLocation
getDistan
On 19 Dec 2008, at 10:57 am, Andy Bettis wrote:
In my app I have an NSScrollView that contains a simple NSView in
which I add other NSView subclass objects. All works well until the
window (and hence the scroller) is resized - making it smaller is OK
but if it is made bigger than the origi
On Dec 18, 2008, at 3:59 PM, Graham Cox wrote:
On 19 Dec 2008, at 10:50 am, Corbin Dunn wrote:
On Dec 18, 2008, at 3:28 PM, Graham Cox wrote:
The five kinds of representedObject are a) a custom class of my
own, b) a NSColor, c) a NSString, d) a NSValue and d) an NSImage.
Corresponding
Hi Guys, I am doing the following to find a distance between two locations:
CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude:
venue.latitude longitude:venue.longditude];
CLLocationDistance distance = [venueLocation
getDistanceFrom:currentLocation];
Is distance in metres/miles/
Well this is going to be a bit vague since my situation is a bit
specific but basically I am downloading data using AsyncSocket...
then I'm saving it directly to the HD...
However in like 80% of the cases, the resulting data on disk is
slightly bigger (usually around 12 or 13bytes) than it s
On 19 Dec 2008, at 10:50 am, Corbin Dunn wrote:
On Dec 18, 2008, at 3:28 PM, Graham Cox wrote:
The five kinds of representedObject are a) a custom class of my
own, b) a NSColor, c) a NSString, d) a NSValue and d) an NSImage.
Corresponding to these I set the dataCell to a,d) NSImageCell, b
Hi,
In my app I have an NSScrollView that contains a simple NSView in
which I add other NSView subclass objects. All works well until the
window (and hence the scroller) is resized - making it smaller is OK
but if it is made bigger than the original (IB) size my added views
migrate down t
I have a situation that I have been unable to solve for several weeks. Inside a
view, I am drawing a "box" that shows a "drop down" effect, similar to a
drawer. So in the "closed" state it is a narrow rectangle, and when it "opens,"
it expands into a larger rectangle, with a "drop-down" effect.
Hello,
I'm trying to get the URL of whatever is the front window / selected
tab in Safari. But for multiple windows it does not work.
Say the user opens a window in Safari and navigates to apple.com,
opens a tab and goes to nytimes.com, opens a NEW window and goes to
arstechnica.com
If
As someone else suggested why not just use
[lookup removeAllObjects]
or perhaps I am missing a part of the bigger picture for the project
you're working on.
Dale Merrick
On Dec 15, 2008, at 4:54 PM, John Michael Zorko wrote:
Hello, all ...
Imagine this:
static NSMutableDictionary *loo
I know everyone is going to say don't do this but I really need to do
this. I need to duplicate the behavior of NSApplication run's event
handling. What the docs say about subclassing run is "This a critical
and complex task, however, that you should only attempt with good
reason." with n
"bit stupid" - no, but..
The resulting assembly from:
NSArray testArray = [NSArray alloc] init];
// TODO: fill array with a bunch of NSNumbers (floats)
int i;
float bigNum;
for (i = 0; i < [testArray count]; ++i)
{
bigNum *= [testArray objectAtIndex:i];
}
Will be a bit slower than the
On Dec 18, 2008, at 3:28 PM, Graham Cox wrote:
The five kinds of representedObject are a) a custom class of my own,
b) a NSColor, c) a NSString, d) a NSValue and d) an NSImage.
Corresponding to these I set the dataCell to a,d) NSImageCell, b) a
custom cell type to handle colours, c,d) a NS
Hi,
In my app I have several sheets that have an OK button linked to the
return key - the classic default button behaviour. Some of them are
used for multiple entry so after pressing OK the fields are cleared
but the sheet remains open for the next entry. All works fine in
development and
Just a quick note that I have just released version 4.3 of Objective-
XML, an efficient and convenient XML framework for Cocoa (Touch):
http://www.metaobject.com/downloads/Objective-C/Objective-XML-4.3.tgz
From the Readme:
Objective-XML is an XML processing framework for Objective-C.
On Dec 18, 2008, at 15:43, I. Savant wrote:
The issue Andre mentioned is that the app is mostly keyboard-driven
(and the key combo fires the button, which he fears can be triggered
inadvertently). This means it doesn't matter where the button is - the
key combo can still trigger the action wit
I have a weird problem with NSTableView that I'm having trouble
getting to the bottom of. The situation is a little complicated...
I have an array of objects. The table shows the properties of these
objects, one object per row, one property per column, as usual. One of
the properties of the
Hi,
Thanks to a utility program, called DragPeeker X, I found out some clue
why the FCP treated dragged file as a file with unknown type.
When I dragged the same file from the Finder to the FCP, it shows :
Number of Items: 1
1. Item Reference: 19884c10
Item Bounds (tlbr): { 86, 1,
On Dec 18, 2008, at 15:42, I. Savant wrote:
I've only ever seen it return NO when the content collection isn't
present. In other words, if your Widget Detail controller's content
array (or set) is bound to the Master's selection.widgets and a valid
Master object is selected, it would return YES
On Dec 18, 2008, at 3:56 PM, Bridger Maxwell wrote:
Is it possible to configure Xcode
to launch the application, tell it to use that plugin (some sort of
startup
parameter?), and then debug the plugin's code even though it is the
application running it?
It's possible.
Perhaps there is an
Hey,
I am setting up my application to work with plugins. I can see how I can get
a plugin to build, and how to load/use it from the application, but I can't
figure out how I would debug the plugin. Is it possible to configure Xcode
to launch the application, tell it to use that plugin (some sort o
On Thu, Dec 18, 2008 at 3:53 PM, Carter R. Harrison
wrote:
> Once again you have saved me from pulling my hair out. Thank you once again
> for your assistance. For the rest of the folks on the thread the solution
> was to remove the "&" from the front of all my pointers.
I'd suggest that your b
On Thu, Dec 18, 2008 at 2:09 PM, JongAm Park
wrote:
> Hello, all.
>
> I'm struggling to enable drag&dropping to Final Cut Pro's project window
> from my application.
>
> While I was trying to figure out how to, I found this strange thing.
>
> NSArray *supportedTypes = [NSArray
> arrayWithObject:NS
This issue has been resolved. Unfortunately, I can't think of an easy
way to describe the issue without providing some deep contextual
details of some of my code. However it is not related to the issue I
am having with validation of a toolbar item with a custom view.
On Thu, Dec 18, 2008 at 9:42 A
I apologize if I cam of snarky in my last email. I guess I may still
confused on how the validation process works. My impression from the
Toolbar Programming guide was that if you are dealing with image
based items you want to implement the validateToolbarItem in your
target. However if you are de
Thanks alot, that worked out well as far as a single value goes. :)
How does one create a value transformer for multiple values? Do you need to
write a transformer for each value in the chain, etc.?
Thanks again!
Peace, Love, and Light,
/ s/ Jon C. Munson II
-Original Message-
From:
On Dec 18, 2008, at 3:44 PM, David Duncan wrote:
On Dec 18, 2008, at 11:57 AM, Carter R. Harrison wrote:
[dict setValue:@"button1" forKey:[NSString stringWithFormat:@"%x",
&button1]]; // "button1" is one of my IBOutlets.
NSString *value = [dict valueForKey:[NSString
stringWithFormat:@"%
On Dec 18, 2008, at 11:57 AM, Carter R. Harrison wrote:
[dict setValue:@"button1" forKey:[NSString stringWithFormat:@"%x",
&button1]]; // "button1" is one of my IBOutlets.
NSString *value = [dict valueForKey:[NSString
stringWithFormat:@"%x", &sender]];
It seems like the memory address of
On Thu, Dec 18, 2008 at 3:32 PM, Kyle Sluder wrote:
> If you place the control correctly (using a small square button with
> the standard plus symbol, located directly underneath the table view
> it modifies and flush with its left edge) then there will be no
> confusion. Clicking the button sho
On Thu, Dec 18, 2008 at 3:27 PM, Andre Masse wrote:
> BTY, when does NSArrayController canInsert: returns NO?
From the docs: "Returns a Boolean value that indicates whether an
object can be inserted into the receiver's content collection."
I've only ever seen it return NO when the content co
On Dec 18, 2008, at 2:50 PM, Jon C. Munson II wrote:
Namaste!
I'm attempting to implement a simple record counter:
Record n of records
n = current record number
records = total number of records
I've looked at the Events Manager sample and borrowed the text field
from
there which
On Dec 18, 2008, at 15:32, Kyle Sluder wrote:
If you place the control correctly (using a small square button with
the standard plus symbol, located directly underneath the table view
it modifies and flush with its left edge) then there will be no
confusion. Clicking the button should transfer
On Dec 18, 2008, at 11:57, Carter R. Harrison wrote:
I have a Nib file setup with an NSView and some NSButton's as
subviews of that view. I have IBOutlets for each of the NSButton's
in my NSView subclass.
In the awakeFromNib: method of my NSView subclass I do the following:
- (void)awakeF
On Thu, Dec 18, 2008 at 2:52 PM, Andre Masse wrote:
> 1- user select a row in the master table view,
> 2- press the button's shortcut (intentionally or not)
> 3- a row is added to the detail's table view but since it does not have the
> focus, the row selection's is grayed and its not that evident
On Dec 18, 2008, at 15:10, I. Savant wrote:
It's almost the classic "more security == less convenience"
scenario. In this case "security"
refers to that of your data integrity. :-)
Exactly :-)
Perhaps all your tables should use a datasource (and delegate). This
way your add button can
On Thu, Dec 18, 2008 at 2:52 PM, Andre Masse wrote:
> Let me explain a bit more. This is an in house application for only 3 people
> (me, my wife and my son) that was originally built with 4th Dimension. I
> agree that this is not the expected behavior for mac users but it is for
> mine, as this
Am 18.12.2008 um 20:53 schrieb Knut Lorenzen:
Setting your MIMEType to @"gzip" and returning NO should to the trick.
Ouch, this should probably be @"application/gzip" :)
Cheers,
Knut
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Ple
Ok, hopefully this is an easy one.
I have a Nib file setup with an NSView and some NSButton's as subviews
of that view. I have IBOutlets for each of the NSButton's in my
NSView subclass.
In the awakeFromNib: method of my NSView subclass I do the following:
- (void)awakeFromNib
{
Namaste!
I'm attempting to implement a simple record counter:
Record n of records
n = current record number
records = total number of records
I've looked at the Events Manager sample and borrowed the text field from
there which has a representation of "# out #." It uses the Value w
Am 18.12.2008 um 20:22 schrieb Andrew Lindesay:
I have figured out that NSURLConnection is decompressing data when
the header "Content-Encoding" is equal to "gzip". Fair enough and
probably quite handy, but I would like to stop it doing this as I
would like to show a progress bar for a do
Thanks for your reply.
Why do you need the button's enabled state to depend on which
control has focus? This is *not* usual Mac OS X UI behavior and is in
fact counterintuitive. As a user, I would never think to click inside
a table to enable an associated button. I would assume that - for
reaso
On Thu, Dec 18, 2008 at 11:45 AM, Shawn Erickson wrote:
> On Thu, Dec 18, 2008 at 11:33 AM, slasktrattena...@gmail.com
> wrote:
>> Hi,
>>
>> my app keeps annoying me by crashing at launch every now and then.
>> What's weird about the backtrace is that it tells me I have called a
>> CLASS method n
On Dec 18, 2008, at 11:18, Michael B Johnson wrote:
I guess that's my question, though. Why is that a bad thing, to
have three relationships from on entity all pointing to another
entity, which is only pointing to the other entity once?
It's not a *bad* thing, but the model editor won't le
On Thu, Dec 18, 2008 at 11:33 AM, slasktrattena...@gmail.com
wrote:
> Hi,
>
> my app keeps annoying me by crashing at launch every now and then.
> What's weird about the backtrace is that it tells me I have called a
> CLASS method named setFrame:. The class varies: in this case it says
> NSClipVie
On Thu, Dec 18, 2008 at 2:33 PM, slasktrattena...@gmail.com
wrote:
> my app keeps annoying me by crashing at launch every now and then.
> What's weird about the backtrace is that it tells me I have called a
> CLASS method named setFrame:. The class varies
This is a CLASSic sign of a memory man
Thank you, Rob, Rich Scott, and Quincey for these answers.
I'm new to the programming world, so I think the first thing to do is
to figure out exactly what I want and then what I need. If I have to
optimise something later, I will do it.
Since it is about an array of a measurement points o
Hi,
my app keeps annoying me by crashing at launch every now and then.
What's weird about the backtrace is that it tells me I have called a
CLASS method named setFrame:. The class varies: in this case it says
NSClipView, sometimes is says NSAttributedString, or NSObject, or
whatever. Of course, I
On Thu, Dec 18, 2008 at 2:12 PM, Quincey Morris
wrote:
> The debate has been lively, but not heated (for a change).
Indeed - I encourage anyone not subscribed directly to the
xcode-users list to check out the archives (look for the thread of
this same subject). Some very salient UI (I = "inter
Stanislas:
> I've read that, since we're programming in Objective-C, it's more elegant
> and reliable to use an NSArray stuffed with NSNumber instead of a classic C
> array. But what I want to do, it's performing classic calculation, like mean
> value, variance... etc, on floating point numbers. T
Hello;
I have figured out that NSURLConnection is decompressing data when the
header "Content-Encoding" is equal to "gzip". Fair enough and
probably quite handy, but I would like to stop it doing this as I
would like to show a progress bar for a download and if the data is
being automati
On Dec 18, 2008, at 11:04 AM, mmalc Crawford wrote:
On Dec 18, 2008, at 10:47 AM, Michael B Johnson wrote:
I have an entity (let's called it MyThing) that has an optional
parentThing relationship. I'm interested in MyThings that either
don't have their parent set, ("parentThing == NIL")
On Dec 18, 2008, at 10:56, I. Savant wrote:
It looks like you accidentally cross-posted between lists (this was
on xcode-users and really still belongs there), but I agree with every
single point Andy made. I'm off to read the thread on xcode-users
because it looks like there's been a lively de
On Thu, Dec 18, 2008 at 1:57 PM, Andre Masse wrote:
> I'm using a classic master/detail view. The detail view has a bunch of
> fields, a table view and a button (with a shortcut) for adding rows to it.
> The table view is bound to an NSArrayController. Now, I want to enable the
> button only when
Hello, all.
I'm struggling to enable drag&dropping to Final Cut Pro's project window
from my application.
While I was trying to figure out how to, I found this strange thing.
NSArray *supportedTypes = [NSArray
arrayWithObject:NSFileContentsPboardType];
NSString *matchingType = [pboard avai
On Dec 18, 2008, at 10:47 AM, Michael B Johnson wrote:
I have an entity (let's called it MyThing) that has an optional
parentThing relationship. I'm interested in MyThings that either
don't have their parent set, ("parentThing == NIL") or have their
parent set to themselves ("parentThing
On Dec 17, 2008, at 3:16 PM, Michael Link wrote:
I'm trying to track down a memory leak even though I'm using garbage
collection. I was curious what the "rc:" field means when using
"info gc-roots" in gdb? It doesn't seem to correlate to the Retain
Count when inspecting an address in Instrum
On Dec 17, 2008, at 12:04, Stanislas Krásnaya wrote:
I've read that, since we're programming in Objective-C, it's more
elegant and reliable to use an NSArray stuffed with NSNumber instead
of a classic C array. But what I want to do, it's performing classic
calculation, like mean value, vari
On Thu, Dec 18, 2008 at 1:43 PM, Stephen J. Butler
wrote:
> I wonder... NSThread posts an NSThreadWillExitNotification with the
> NSThread instance as the object, which is retaining your
> ConnectionFactory. Is it possible that since you have no run loops the
> notification gets stuck until some r
On Thu, Dec 18, 2008 at 3:30 AM, Jean-Daniel Dupas
wrote:
>
> Le 18 déc. 08 à 04:55, Michael Ash a écrit :
>
>> On Wed, Dec 17, 2008 at 2:32 PM, Greg Parker wrote:
>>>
>>> On Dec 16, 2008, at 7:22 PM, Michael Ash wrote:
On Tue, Dec 16, 2008 at 8:02 PM, Chris Idou wrote:
>
> Is
Hi,
I'm using a classic master/detail view. The detail view has a bunch of
fields, a table view and a button (with a shortcut) for adding rows to
it. The table view is bound to an NSArrayController. Now, I want to
enable the button only when the table view (in the detail view) has
the foc
Stanislas,
I don't have anything useful to add to what others have already said
about the merits of classic C arrays vs NSArray. However, since you
mentioned wanting to calculate variance and other stats, if you aren't
already familiar with the subtleties of algorithms for statistical
ca
On Thu, Dec 18, 2008 at 1:39 PM, Quincey Morris
wrote:
> On Dec 18, 2008, at 09:47, Andy Lee wrote:
>
...
>> A developer shouldn't have to search
>> list archives to find out that the information is in a paragraph of the
>> Xcode 3.1 release notes.
>
> Amen.
It looks like you accidentally cross
On Dec 17, 2008, at 17:22, Guillaume Campagna wrote:
I'm using a NSDirectoryEnumerator to add all the content of a folder
to some array... I'm filtering these files (I don't want certains
types of files). One of these file types is symbolic link (alias).
So I'm using NSFileWrapper to check
Getting back into Core Data over the holidays, and I've got a few
questions. First, the easy one:
I have an entity (let's called it MyThing) that has an optional
parentThing relationship. I'm interested in MyThings that either
don't have their parent set, ("parentThing == NIL") or have t
Actually, this works for me on 10.5.6, with XCode 3.1.1. The assert
doesn't trigger.
I wonder... NSThread posts an NSThreadWillExitNotification with the
NSThread instance as the object, which is retaining your
ConnectionFactory. Is it possible that since you have no run loops the
notification gets
On Dec 18, 2008, at 09:47, Andy Lee wrote:
* There should be an Xcode-wide default setting for the value that
is used for __MyCompanyName__.
* You should be able to tell what that default setting is by looking
in Xcode's preferences, because that's the first place you're going
to look --
On Dec 18, 2008, at 10:57 AM, Jonathan del Strother wrote:
Heya,
I ran into a memory leak recently that I finally managed to track down
to NSURLConnection retaining its delegate.
It appears that cancelling an NSURLConnection won't actually release
its delegate until the next time around the ru
> But there's still a difference, right? And when called or passed through alot,
> that small difference can become really big.
...
> The fwrite was just an example. We actually do our debugging through memory
> first (ofcourse, there's still locking) and then another debugger thread does
> the wri
Depends...
How likely are you to need to resize arrays? How often do you need to
allocate & free them? Both of these are easier with NSArray & the
framework's reference-counting memory management. On the other hand, for
simple arrays of floats, packaging everything up into NSNumbers or NSValues
is
Heya,
I ran into a memory leak recently that I finally managed to track down
to NSURLConnection retaining its delegate.
It appears that cancelling an NSURLConnection won't actually release
its delegate until the next time around the run loop. Normally this
is fine, but I was running on a separate
Do the simplest thing that could possibly work. In some cases, like if
you need to be calling -performSelector:withObject: with each of these
things, that might be the NSArray. In your case, it sounds to me like
it’s the C array of floats.
Just my two cents.
Rob
On 17-Dec-08, at 3:04 PM,
Ok, I've search everywhere! And I see no reason of that error!
I'm using a NSDirectoryEnumerator to add all the content of a folder
to some array... I'm filtering these files (I don't want certains
types of files). One of these file types is symbolic link (alias). So
I'm using NSFileWrapper
Hello list,
I have an NSTextField that has its Value attribute bound to an
NSString object. When I update the NSString object from another place
in my code, the value of my NSTextField updates appropriately (that's
Bindings for you).
However, I'm trying to call sizeToFit on that NSTextFie
Hello everyone!
I've got a basic question. I'm sure this is a very vast debate, since
I've found several answers on the subject, but I'm not satisfied.
I've read that, since we're programming in Objective-C, it's more
elegant and reliable to use an NSArray stuffed with NSNumber instead
o
On Dec 18, 2008, at 12:13 PM, Corbin Dunn wrote:
Thanks for the advice.
Searching more through the archives, I did find:
http://www.joar.com/code/body.html
which seems to do what I want and subclasses a NSCell.
Could you provide some information on what problems I will run into
going t
Hi,
I've been digging and delving and have found out why this is flakey!
When I Drag in the folder in PM, it sets the privileges to the same
as the local copy. I then override then in the content pane, so then
become owner: root, group: admin. This seems to work ok when you
press "Apply Re
On Dec 18, 2008, at 10:06 AM, Eric Gorr wrote:
On Dec 18, 2008, at 11:52 AM, Corbin Dunn wrote:
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
You will have more problems and trouble attempting to get an NSView
inside of a cell. I suggest subclassing NSTextFieldCell. Please do
log
a bug re
An alternative route: you could use an NSCollectionView in place of
your NSOutlineView, and populate it with more NSCollectionViews. Then
you'd be imitating the outline view's behavior (essentially just
collapsing), which might be simpler than trying to mimic NSView with
NSTextFieldCell.
Thanks for the advice.
Searching more through the archives, I did find:
http://www.joar.com/code/body.html
which seems to do what I want and subclasses a NSCell.
Could you provide some information on what problems I will run into
going the route suggested by joar?
One problem is navig
On Dec 18, 2008, at 11:59 AM, Randall Meadows wrote:
On Dec 18, 2008, at 9:52 AM, Corbin Dunn wrote:
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
[snip]
You will have more problems and trouble attempting to
On Dec 18, 2008, at 11:52 AM, Corbin Dunn wrote:
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
The outline view will have only a single column and look like:
Collapsible Row 1
NSCollectionView 1
Colla
On Dec 18, 2008, at 9:52 AM, Corbin Dunn wrote:
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
[snip]
You will have more problems and trouble attempting to get an NSView
inside of a cell. I suggest subclassin
On Dec 18, 2008, at 7:28 AM, Eric Gorr wrote:
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
The outline view will have only a single column and look like:
> Collapsible Row 1
NSCollectionView 1
> Collapsible Row 2
NSCollectionView 2
and so o
Hello.
I wrote some codes which will enable drag&drop from my application to
FCP's project.
Before implementing it, I tried dragging and dropping a file from a
Finder to an FCP's project which was opened with the FCP.
After confirming that the FCP supports drag&drop from the Finder, I
started
According to the RFC specs referenced by the NSURL documentation, the
colon is a reserved character. You should percent escape it before
using it as a relative path. I believe that would be:
NSURL * url2 = [NSURL fileURLWithPath:@"/root/"];
NSURL * url3 = [NSURL URLWithString:@"file%3Atest" r
I need to be able to use a NSCollectionView inside of a cell for a
NSOutlineView.
The outline view will have only a single column and look like:
> Collapsible Row 1
NSCollectionView 1
> Collapsible Row 2
NSCollectionView 2
and so on.
What I am uncertain about is just how to
Allow me to add some more context to this error. It occurs during
customization of the toolbar when I try to move a item from one
location on the toolbar to another. The odd thing is if I drag out the
default toolbar from the customization palette and repeat the same
process, this error does not oc
1 - 100 of 105 matches
Mail list logo