Hi,
My application has a tab view as the main view (it might look dated
but I can take it straight from the library and it works)
In one tab I have a table view that holds the 'master' category list.
Here I can add/remove categories.
In another tab I have my products list. There is a
Hi all,
I have another UI type question where I am not sure how best to achieve what I
want. I have a (non-modal) window in which the user interacts with external
peripherals. Under certain circumstances (such as the peripheral not being
turned on) it is not possible to send commands to the
On 07/03/2011, at 11:47 PM, Jonathan Taylor wrote:
Hi all,
I have another UI type question where I am not sure how best to achieve what
I want. I have a (non-modal) window in which the user interacts with external
peripherals. Under certain circumstances (such as the peripheral not being
On 7 Mar 2011, at 13:45, Graham Cox wrote:
I have another UI type question where I am not sure how best to achieve what
I want. I have a (non-modal) window in which the user interacts with
external peripherals. Under certain circumstances (such as the peripheral
not being turned on) it is
That worked!
I actually changed it to:
nodesForXPath:@/root/*[name() = \example:foo\]
Thanks!
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Sat, Mar 5, 2011 at 2:27 PM, Matt Neuburg m...@tidbits.com wrote:
On Fri, 04 Mar 2011 14:25:06 -0600,
On 2011 Mar 07, at 00:58, Amy Gibbs wrote:
I have got a … tableview that currently has a … checkbox column. I want to
list all the categories that exist in this tableview, and select and deselect
the checkboxes to create/break the relationship(s) between the selected
product and the
Sorry, that's what I meant, I would check and uncheck the checkboxes
to create/break the relationships,
sorry, my fault for describing it incorrectly.
I still can't work out how I could bind the checkboxes to create this
action?
Thanks
On 7 Mar 2011, at 4:49PM, Jerry Krinock wrote:
On
On Sat, 05 Mar 2011 11:22:46 -0800 Matt Neuburg wrote:
One possible approach on iOS is to implement textFieldShouldEndEditing, and
return NO and put up an alert if there's a problem. Another is just to make
the
change yourself in textFieldDidEndEditing. See the section entitled
Validating
Very cool, but I do suggest you file a bug. Apple's XPath interface falls short
with regard to namespaces. Contrast, for example, Nokogiri which lets you pass
namespace info into an XPath query, or Microsoft with its XML Namespace Manager
class. In other words, XPath does know about namespaces,
On 2011 Mar 07, at 08:55, Amy Gibbs wrote:
I still can't work out how I could bind the checkboxes
As I said earlier, think: array controller.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
On Mon, 07 Mar 2011 09:02:36 -0800 (PST), Jon Sigman rf_...@yahoo.com said:
On Sat, 05 Mar 2011 11:22:46 -0800 Matt Neuburg wrote:
One possible approach on iOS is to implement textFieldShouldEndEditing, and
return NO and put up an alert if there's a problem. Another is just to make
the
change
I have the following NSXMLDocument:
document xmlns=http://example.com/document;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
/document
I want to add an xsi:schemaLocation to the document so that I can validate it.
The documentation says:
attributeWithName:URI:stringValue:
Returns an
On Mon, March 7, 2011 9:30:05 AM Matt Neuburg wrote:
The Return key invokes textFieldShouldReturn: and does *not* automatically
resign first responder ...
Ah! That is the part I had been overlooking. textFieldShouldReturn is the
perfect place to validate the input.
However, now that I've
On Mar 5, 2011, at 2:03 AM, Ulf Dunkel wrote:
Hi Scott.
1) Which delegate can I use to inform table view B to update and reload
its data when I have dragged an item inside table view A?
If you’re adding it to the object array, you can easily do the update
notification then.
[..]
On Mar 7, 2011, at 9:54 AM, Jon Sigman wrote:
On Mon, March 7, 2011 9:30:05 AM Matt Neuburg wrote:
The Return key invokes textFieldShouldReturn: and does *not*
automatically resign first responder ...
Ah! That is the part I had been overlooking. textFieldShouldReturn is the
perfect
On Mar 4, 2011, at 8:17 PM, Rick Mann wrote:
Unfortunately, if I create the image from a PNG, it's possible iOS stores it
compressed, and only decompresses when rendering. I'd like to know how much
it's using at any given moment.
If you create the UIImage with the withContentsOfFile APIs,
Hi,
what is the easiest way to store data and retrieve it in an sql-like-fashion?
I have informations of the form:
name: ...
type: ...
nr of clicks: ...
etc.
and I would like to present it in tableviews (so it should be sortable etc.)
I am familiar with sql ... and this seems pretty
Well, sqlite3 is available on the system (and is used by a lot of Apple code,
so hopefully it won't be removed in the near future); you could simply use
that, if that API is what you're most familiar with.
However, unless you have a pretty large data set, sqlite is probably overkill
and it'd
Could someone confirm for me that if I want a NSMapTable object with weak
pointers to both keys and values, and that doesn't copy keys or values, the
appropriate options are:
[NSMapTable mapTableWithKeyOptions: (NSMapTableZeroingWeakMemory |
NSMapTableObjectPointerPersonality) options
Hi,
thanks for the reply.
Is it also possible to filter the entries of an NSDictionary like in SQL?
for example I have a key type and different entries.
Is it possible to get an Array of all elements where type is equal to
website (or something like that)?
On 07.03.2011, at 21:05, Wim
If you have an array of dictionaries, you can use -filteredArrayUsingPredicate,
and pass in the NSPredicate with the format string of @type = 'website'.
You'll get back all the dictionaries where [[dictionary objectForKey:@type]
isEqual:@website];
But if you're using these dictionaries for
On Mar 7, 2011, at 2:15 PM, Quincey Morris wrote:
Could someone confirm for me that if I want a NSMapTable object with weak
pointers to both keys and values, and that doesn't copy keys or values, the
appropriate options are:
[NSMapTable mapTableWithKeyOptions:
On Mar 7, 2011, at 12:39, Ken Thomases wrote:
Well, I'm not deeply familiar with this stuff, but I can't see what it would
mean to have weak references to keys while also copying the keys.
OK, I admit I did sit for 5 minutes after reading this trying to think of a use
for weak references to
I have the following document:
root xmlns=http://example.com/root;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://example.com/root root.xsdfoo
xml:space=preserve there is leading and trailing whitespace here
/foo/root
With the following XSD:
?xml version=1.0
On 7 Mar 2011, at 12:26 PM, Martin Batholdy wrote:
Is it also possible to filter the entries of an NSDictionary like in SQL?
Yes (as Dave DeLong describes). If you just need to filter it for display and
are using NSArrayController you can also use -setFilterPredicate:. It's
presumably doing
Matt, you are quite correct. It helps to simplify the case, and then build on
that foundation. I had too many things going on and couldn't see the forest for
the trees.
Thanks!
From: Matt Neuburg m...@tidbits.com
To: Jon Sigman rf_...@yahoo.com
Cc:
Hi,
I wish to use kvo to get data from NSOperation and observe isFinished but on
witch thread is - observeValueForKeyPath:ofObject:change:context: executed?
--
best regards
Ariel
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
On Mon, Mar 7, 2011 at 3:23 PM, Ariel Feinerman arielfap...@gmail.com wrote:
Hi,
I wish to use kvo to get data from NSOperation and observe isFinished but on
witch thread is - observeValueForKeyPath:ofObject:change:context: executed?
From the NSOperation documentation:
Although you can
Thus, I do the following:
NSXMLElement rootXmlElement = ...
NSXMLNode *schemaLocationAttributeXmlNode =
[NSXMLNode attributeWithName:@schemaLocation URI:@xsi
stringValue:@http://example.com/document document.xsd];
So, now, I tried specifying the prefix in the attribute name when
creating the
Hi,
I am developing a desktop application that supports one of the feature through
Hot Key. I am using Event Tap for this to work.
But, sometimes (randomly) the callback is not invoked; Hot Key does not work
and hence the feature seems to be not working.
Could someone help me out in
hi all,
how many NSThread i can create?
what happens when the limit is exceeded?
seems [[NSThread alloc] initWithTarget] never returns nil :(
thx a lot
--
Bruno Causse
BEGIN:VCARD
VERSION:3.0
N:Causse;Bruno;;;
FN:Bruno Causse
EMAIL;type=INTERNET;type=HOME;type=pref:bruno.cau...@free.fr
My app has a window with many text fields and a button. The value in each text
field is bound to Shared Defaults. Clicking the button reads from the defaults
and generates text which is written to a text field in a second window.
The app launches with the previously used values in the text
This is a copy-paste of a question I asked on StackOverflow
http://stackoverflow.com/questions/5132266/nsxmlparser-error-code-changes-after-abort,
which hasn't gotten any answers. I'm still curious about it and hoped I
might get a response on this list; apologies to anyone who is reading it
twice
This is on iOS... Say I have use a method that has some kind of
result/completion block like ALAssetsLibrary assetForURL In the
example below, in the assetForURL result block, the JPEG
representation of the asset is read into a buffer and the NSData form
of that buffer is assigned to a property. I
On Mar 7, 2011, at 14:01, John Link wrote:
The app launches with the previously used values in the text fields (as
desired). Immediately clicking the button works fine--text is generated as
expected. But if I change the value in a text field before clicking the
button,
the app crashes.
In my NSDocument-based app I'm saving and restoring the window frame
to/from an xattribute using
NSWindow's stringWithSavedFrame and setFrameFromString: methods.
During doc save in MyDocument.m I save the frame in an override of
setFileURL:
- (void)setFileURL:(NSURL *)absoluteURL
{
On Mar 7, 2011, at 12:27 PM, Bruno Causse wrote:
hi all,
how many NSThread i can create?
Quite a few more than are useful, performant, or optimal...
b.bum
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Hi,
Guys
I write the following code and try to observe the window miniaturized
notification, it doesn't work, can anyone tell me why?
- (void)windowMiniaturized:(NSNotification*)notification
{
NSLog(@%@, notification);
}
- (void)registerDefaultNotification:(NSString*)notification
Hi list
how to start rainbow cursor?
Do you have any hint?
Thanks you in advance.
Yu Min
___
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
39 matches
Mail list logo