at runtime?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
value of that constant, it's simply @NSColor.
Unfortunately it seems that using the @NSColor key as part of an
NSAttributedString also requires AppKit. Put another way, I can't see any way
to draw multi-colored text in a wrapping text field without using AppKit.
Thanks,
Tom
BareFeet
to NSForegroundColorAttributeName I can use without
needing AppKit?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
added a routine to my code for the SubClass:
- (NSString*) subValue
{
return [parsedDictionary objectForKey:@subValue];
}
and changed the bindings in IB for the text field to simply have the model key
path: subValue
Thanks again to John and Jerry for replying.
Thanks,
Tom
BareFeet
this?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
)
{
[tabView removeTabViewItem:retainedTabViewItem];
}
}
// other code omitted
@end
From: BareFeet list.develo...@tandb.com.au
Date: 21 October 2009 6:02:21 PM AEDT
To: Cocoa Dev Cocoa-dev@lists.apple.com
Subject: Re: Hiding tab view items
This seems like a common requirement, so I
tree on the left and
various UI elements on the right appearing according to what Node is selected.
But how can I do this using bindings?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
;
}
Then whenever you need the debug object, just call:
[Debug sharedDebug];
The first time it's needed it will be created.
Thanks Graham and Jens. That does appear to be a simpler way to do it and seems
to be working fine for me :-)
Tom
BareFeet
to be able to call it from any class in my app, such as:
[[NSApp debug] myMethod];
Please reply to the list.
Thanks,
Tom
BareFeet
--
Comparison of SQLite GUI tools:
http://www.tandb.com.au/sqlite/compare/?ml
___
Cocoa-dev mailing list (Cocoa-dev
Yes, I'm familiar with categories, but didn't mention it because it's
so similar to subclassing.
I just wanted to check if there's a simpler way. I guess not.
Thanks,
Tom
BareFeet
Sent from my iPhone
On 27/01/2010, at 1:17 PM, Murat Konar mu...@pixar.com wrote:
Read up on categories
different segment controls.
Any other insights?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
.
b) Add/remove tab items on demand
That sounds similar to above. However, I feel more comfortable
rebuilding just a segmented cell than trying to delete and rebuild a
whole view.
Seems messy either way though.
Thanks,
Tom
BareFeet
___
Cocoa
. It helped me realise my faulty
assumptions and better identify the problems.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
is misleading
to the user (ie they can click on it, only to see a blank view).
I tried using a segmented control, instead, using bindings to link it
to the tab view (now tabless). But segmented control cells also seem
to lack a hidden property.
Any ideas?
Thanks,
Tom
BareFeet
Person, this seems logical
to me and, as you said, makes the solution simple.
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
OK, let me put this another way:
Has anyone successfully bound the hidden attribute of an Interface
object, so that it hides and shows when the ivar changes? If so, how?
Thanks,
Tom
BareFeet
From: BareFeet list.develo...@tandb.com.au
Date: 9 October 2009 12:18:38 AM AEDT
To: Cocoa Dev
null of class NSNull
What does this mean?
Do I have the correct class (BOOL) returned by my accessor?
My other bindings to this same model and controller work fine.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
interpretation
you make on types is after the actual CSV import.
I found this method (the one under the heading General CSV), which
works fine, caters for delimiters within quotes, escaped quotes etc:
http://macresearch.org/cocoa-scientists-part-xxvi-parsing-csv-data
Tom
BareFeet
button directly to the insert or remove
received action of the NSArrayController, it works fine. But I need to
run my own method so I can check and set other variables, such as the
setTransactionPending property shown above.
Can someone please tell me what I'm doing wrong?
Thanks,
Tom
BareFeet
, then write the whole array back to the
instance variable? I thought it would be more efficient than that.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
];
}
}
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
to extract the column name (same at the
dictionary key), or should I just parse out based on the delimiting
. and hope there are no . in the name?
Or is there a better way altogether to intercept data entry changes?
Thanks,
Tom
BareFeet
___
Cocoa-dev
this helps you as much as Graham helped me. If not, flip back to
his answers to my question about a week ago.
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
this helps. If ou need more detail, I'll try to follow up.
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
= [MyGenerator
dataRowsGivenFilePath:fileString entityName:selectedEntityName];
return dataRowsArray;
}
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
/MyFile.sqlitedb;
NSString* selectedEntityName = [self name];
NSMutableArray* dataRowsArray = [MyGenerator
dataRowsGivenFilePath:fileString entityName:selectedEntityName];
return dataRowsArray;
}
Thanks in advance,
Tom
BareFeet
in the
model data. Probably a bit beyond me at the moment.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
array loads. If the table columns are
already in place (such as by me manually running the code above), the
data displays perfectly. But I can't see how to trigger my code above
(that creates and binds table columns) when the selection changes.
Any ideas?
Thanks,
Tom
BareFeet
On 05/09/2009, at 3:16 AM, Sean McBride wrote:
On 9/4/09 9:41 AM, BareFeet said:
I'm fairly comfortable with setting up bindings for table columns to
an NSArrayController. Now I'd like to use bindings where the columns
change at runtime. Is this possible? I am avoiding using CoreData (so
I
.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
Hi again Graham and anyone else interested,
Yes, I've done that, control dragged from MyController to File's
Owner and selected the_document. For simplicity, I'm just creating
the_document in MyController (I've no need for MyDocument to refer
to the_controller).
I still get nil for
in the same
nib). I had seen the IBOutlet approach mentioned in forums, but
nothing really laid it out.
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
:
NSString* file = [the_document fileString];
the_document is showing as value nil. It doesn't seem to be linked to
the instance of MyDocument. Am I missing something?
Thanks for all your help,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev
MyController to File's Owner
and selected the_document. For simplicity, I'm just creating
the_document in MyController (I've no need for MyDocument to refer to
the_controller).
I still get nil for the_document at runtime.
Any other ideas?
Thanks,
Tom
BareFeet
,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http
Hi Keita,
Hello, I'm writing a code editor and so far, i've been using Flex for
regex-matching the whole document every time the text is changed and
coloring appropriately...
How are you doing this? How did you incorporate Flex or regex-matching?
I approached it using regex to parse the
across, is there any built
in functionality in Cocoa that will facilitate this (or part of it)
directly?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
Hi all,
Has anyone got procedure for getting AGRegex to work in their project?
Thanks,
Tom
BareFeet
From: BareFeet list.develo...@tandb.com.au
Date: 31 July 2009 9:03:20 AM AEST
To: Cocoa Dev Cocoa-dev@lists.apple.com
Subject: Re: NSString and regular expressions
Hi Rob,
I personally
the framework or the AGRegex files (and PCRE folder) to our
own project? I've tried both and can't get it to work. I can't find
any instructions in the documentation on adding it correctly to your
own project.
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing
' or '__attribute__' before
'ucp_table'
Can you please clue me in as to how to get AGRegex to work?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
issues (or had successes) dealing with
ICU syntax in RegexKitLite and RegexKitLite in general?
Thanks,
Tom
BareFeet
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
43 matches
Mail list logo