Hi,
Sorry maybe i should have clarified that but i believed that Quincey
had already explained about the datasource methods. You *must* (if you
dont want to end up in a heap of self-inflicted mess) represent your
data in those way - WHEN you intend to link to an NSTableView using
bindings.
sts or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dreamcat7%40googlemail.com
This email sent to [EMAIL PROTECTED]
_
list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dreamcat7%40googlemail.com
This email sent to [EMAIL PROTECTED]
___
Cocoa-dev mailing list (
Hello!
I posted a number questions to this discussion list. They were all
questions about programming in the Cocoa environment. Sometimes my
questions have been ignored / not replied to, however this is mostly
because of my own poor writing skills rather than anything most
siniister. Ther
On 22 Oct 2008, at 14:56, Chris Idou wrote:
Nope, just one thread.
I'm finding KVO and bindings to be extremely flakey. Maybe I'm
pushing them harder than other folks, I don't know, because I'm
starting to use them all over the place. I'll try the finishInit
mentioned by dreamcat, and s
2 methods to try when a programmatic binding isnt working.
[self performSelector:@selector(finishInit:) withObject:self
afterDelay:0.0];
[[NSRunLoop currentRunLoop]
performSelector:@selector(finishAfterLooping:) target:self
argument:(id)nil order:0 modes:[NSArray arrayWithObject:[NSRunLoo
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/dreamcat7%40googlemail.com
This email sent to [EMAIL PROTECTED]
___
Cocoa-dev mailing list (
PM, dreamcat7 wrote:
If use Core Data, then can my class be part of a framework ?
Yes. You can use Core Data in pretty much any situation where you
would use Foundation.
Core Data is not restricted to applications that the user interacts
with. For one example, if you have a Core Data
On 18 Sep 2008, at 11:44, Ken Thomases wrote:
1) If you for some reason find that using bindings with NSTableView
is too restrictive, you might want to think about falling back to
the pre-bindings way of populating a table view: the data source.
Yes, noted.
2)... If you implement the to-m
stand i might use an entity relationship in core data to
acheive a similar result.
If use Core Data, then can my class be part of a framework ?
From: dreamcat7 <[EMAIL PROTECTED]>
Date: 17 September 2008 16:25:56 BST
To: "Cocoa-Dev (Apple)"
Subject: Binding to an NSArrayCon
On 17 Sep 2008, at 20:48, Ted Thibodeau Jr. wrote:
I understood the local cache to be a learning and/or small version
of what would then be done with a remote engine, which would not
be SQLite.
Yes, that is correct. Some of the database transaction will need to be
on the client side.
It won
Precisely my point: how do you go about evaluating which of these is
the better option ?
I hoped i was clear enough in my previous mail.
On 17 Sep 2008, at 20:06, Ted Thibodeau Jr. wrote:
Devon wrote:
OS X has libsqlite3 built in. You just have to include the header
file and link to the li
ev 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://lists.apple.com/mailman/options/coco
Hello,
I am stuck finding a solution for my array of arrays problem. - A
problem with a twist !
For the data must be displayed in an NSTableView and therefore it must
be structured in a particular way.
Mutable array of [items] with keypaths in each item making up the
columns of each row
hen -someMethod has side effects :).
Did you step through it in gdb to see what was going on?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mode
On 11 Sep 2008, at 13:08, Jean-Daniel Dupas wrote:
That's fine if you love to reinvent the wheel, but that exactly the
interface provided by CFMutableBitVector.
CFBitVectorCreateMutable()
CFBitVectorSetBitAtIndex()
CFBitVectorGetBitAtIndex()
And it probably does it better as it will not w
Yes the NSMutableData needs this category method then it work.
@interface NSMutableData (charArray)
- (char*)char;
@end
@implementation NSMutableData (charArray)
- (char*)char
{
char * foo = self.mutableBytes;
return foo;
}
@end
+ (NSMutableData*)defaultOptions
{
NSMu
" use NSMutableData objects with 1 byte for each 0 or 1 value. You
can then get the BOOL values as
'data.bytes [index]', set them with 'data.mutableBytes [index] =
someBool' and resize the array with
'data.length = someLength'. In terms of source code, that's about as
minimalistic as it gets
Hi
Often people see "delegate method" in the Cocoa documentation and
believe they cant use those ones because it requires a special object
that they dont have.
However delegation is a very useful programming method.
Usually another developer writes a library class that requires a
delegate
Hi,
I have now solved my problem by writing a sample project. Here is the
solution:
//
// MyDocument.h
// Arrays
//
// Created by id on 06/09/2008.
// Copyright dreamcat7 2008 . All rights reserved.
//
#import
@interface MyDocument : NSDocument
{
NSMutableArray* items
Can i bind arrayController.contentArray to employees.name ?
or bind arrayController.contentArray to employees and then bind an
NSMutableArray to arrayController.arrangedObjects.name ?
On 6 Sep 2008, at 14:03, dreamcat7 wrote:
Hi
I am extending a library class which is also one of my
Hi
I am extending a library class which is also one of my application's
model objects. The Library class contains an NSMutableArray of NSData
which it absolutely needs to perform its tasks. To extend the class i
must now also hold metadata about each NSData object in the array
(i.e. the e
On 2 Jul 2008, at 12:14, Ken Thomases wrote:
See my other message. Turns out I was wrong about
NSMutableDictionary and KVO. :(
Yes, but your main point which was not to expose it - still true.
If you really need for there to be a dynamic set of properties,
you can accomplish that using
Hi,
Thank you for all of your comments Ken, very helpful.
On 2 Jul 2008, at 09:16, Ken Thomases wrote:
custom class (say, "Preferences") -- again, making the dictionary an
implementation detail -- and making the keys into properties of the
Preferences class. In either case, there should be n
Hi,
I have my application's data and settings stored in 2 plist file, each
containing several/many keys.*
I would like to to save the changed items permanently in my data store
after the user interacts with the ui. Control elements are bound to a
settings NSDictionary in my data model.
g is slightly different then you will see it here.
On 1 Jul 2008, at 09:28, Толя Макаров wrote:
dreamcat7
The process loginwindow is not shown In the list that is given by
the function sysctl. May be this process has another name. Do you
know anything about it?
Mak
gging NSNotifications.
On 15 Jun 2008, at 11:18, dreamcat7 wrote:
So if you put name = nil as the notification name you are
registering for then it will catch *all* notification from the
notification centre. Each notification can then be appended to an
NSArray by the notificationHo
On 14 Jun 2008, at 22:27, Nathan Kinsinger wrote:
I haven't seen "Meow" but there is a Notification Watcher project
(with source) at:
http://www.tildesoft.com/Programs.html
It may do what you need, or you could extend it to do so.
--Nathan
- yes, thank you i have had a look. Its copyrig
28 matches
Mail list logo