As far as I know, the system provides you with this choice.
On 26 Dec 2009, at 01:01, John Clayton wrote:
Hi All
I there a way to detect, on a system wide basis, that the dim/brightness keys
(or volume keys) have been pressed?
I tried using the event-tap API using a HID + head based
Hello List,
I am writing a CoreData app with an entity controller bound to an NSTableView,
with the bindings created programmatically. Periodically, the program creates a
new NSManagedObject, sets default values, and adds it to the MOC. This works
fine. However, the NSTableView does not update
Sorry. It was NOT the NSTableView's problem. I neglected to add:
[[self managedObjectContext] processPendingChanges];
after the NSManagedObject was created. Please disregard the previous post.
Best Regards,
Dan
___
Cocoa-dev mailing list
Good Morning developers,
Does anyone know of an example that has an iPhone app passing
information to a desktop app? Could this be done with CoreData or
should I be looking into a webview based app?
Kind Regards and Happy Coding,
Chad Eubanks
Sent from my iPhone
Yandy,
Thank you for the response and info but can you please elaborate a
little more. Would NSLog be in my
-(void)viewdidbeginediting {
}
???
Chad Eubanks
Sent from my iPhone
On Dec 25, 2009, at 11:52 PM, Yandy Ramirez yan...@gmail.com wrote:
Assuming your UITextField is an IBOutlet,
On Dec 26, 2009, at 6:58 AM, Chad Eubanks wrote:
Yandy,
Thank you for the response and info but can you please elaborate a little
more. Would NSLog be in my
-(void)viewdidbeginediting {
}
Hard to know where you should put it, since you don't tell us what you are
trying to
Objects in a persistent store are unordered. If I fetch the objects,
change nothing in the store, then fetch them again, do the two fetches
give me the objects in the same order?
--Richard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On Dec 26, 2009, at 9:38 AM, Richard Somers wrote:
Objects in a persistent store are unordered. If I fetch the objects, change
nothing in the store, then fetch them again, do the two fetches give me the
objects in the same order?
Maybe. Behavior is undefined.
b.bum
Your first comment was correct; they are unordered. The fact that they may
come back in the same order is not guaranteed by the API. Therefore, if you
need ordering, add an attribute to the core data object to do so.
Greg
On Dec 27, 2009, at 1:38 AM, Richard Somers wrote:
Objects in a
On 26 Dec 2009, at 06:54, Chad Eubanks wrote:
Does anyone know of an example that has an iPhone app passing information to
a desktop app? Could this be done with CoreData or should I be looking into
a webview based app?
Neither CoreData nor WebView are appropriate technologies for what
Howdy,
I have been having a hard time trying to track down information on this
issue, mostly because its a rather difficult to describe. The best summary I
can give is that if you set an NSOutlineView to have the source list
highlight style, and expand a node that contains a node with children,
Hello,
I'm trying to write simple application with Core Graphics. My code:
@implementation MyView
- (id)initWithFrame:(NSRect)frameRect
{
self = [super initWithFrame:frameRect];
return self;
}
- (void)drawRect:(NSRect)rect
{
myContext = [[NSGraphicsContext
On 25/12/2009, at 10:00 AM, David Duncan wrote:
In Objective-C all classes share a namespace, so if two binary images are
loaded into the same address space, and use the same class name, then one of
the two classes will be used. If all of these AppControllers share the same
functionality,
DrawRect is not called directly by you - instead, you use
setNeedsDisplayInRect: and setNeedsDisplay: to tell the system the dirty rect
to redraw, and those rects are combined before the system locks focus on your
view and calls drawRect:/ You therefore can't pass information to your drawing
i've implemented -draggedImage:endedAt:operation: and i check if the
operation is an NSDragOperationDelete to detect drags to the trash,
and if so, i then appropriately delete the dragged object from my
app's document.
this all works fine as long as the user drags the object to the trash
On Dec 26, 2009, at 12:42, Carmen Cerino Jr. wrote:
I have been having a hard time trying to track down information on this
issue, mostly because its a rather difficult to describe. The best summary I
can give is that if you set an NSOutlineView to have the source list
highlight style, and
On Dec 26, 2009, at 13:58, Gideon King wrote:
DrawRect is not called directly by you - instead, you use
setNeedsDisplayInRect: and setNeedsDisplay: to tell the system the dirty rect
to redraw, and those rects are combined before the system locks focus on your
view and calls drawRect:/ You
I'm running into a issue using STL/TR1 smart pointers with Objective-C++
properties that I think is a bug, and I wanted to get some feedback before I
submitted any bug report.
The following code:
#import Cocoa/Cocoa.h
#import tr1/memory
class Value
{
public:
explicit Value(int amount) :
It's probably just a parsing thing, have you tried:
::NSLog(@The value's amount is %d, (valueUser.value)-GetAmount());
?
On 27/12/2009, at 11:20 , Tron Thomas wrote:
I'm running into a issue using STL/TR1 smart pointers with Objective-C++
properties that I think is a bug, and I wanted to
Assuming your UITextField is an IBOutlet, simple way:
NSLog(@%@, self.myTextField.text);
you can also implement the UITextFieldDelegate and pass the textField value
as you begin editing, once it's done editing and so forth.
--
yandy
On Fri, Dec 25, 2009 at 6:49 PM, Chad Eubanks
+1 on this, it's completely up to you where you want to put it.
--
yandy
On Sat, Dec 26, 2009 at 10:01 AM, David Duncan david.dun...@apple.comwrote:
On Dec 26, 2009, at 6:58 AM, Chad Eubanks wrote:
Yandy,
Thank you for the response and info but can you please elaborate a little
On Sat, Dec 26, 2009 at 5:24 PM, kvic...@pobox.com kvic...@pobox.com wrote:
however, if the user drags an object to the trash icon, and then
subsequently drags to and drops on the (popped) opened trash folder, i no
longer receive the NSDragOperationDelete operation in
Hi all,
I have a navigation controller based app consisting mostly of table views.
Table View 1 moves you to Table View 2 when you select a row.
When you return from Table View 2, Table View 1 needs to be updated to show the
changes made.
There is no fetchedResultsController for Table View 1.
I
Hello!
Thanks in advance, I know this is a lot to ask. I am working on a framework
of custom classes for my own personal use, and it was going very well until
I started to work on the Interface Builder plugin part. Download the
non-working code here http://c.zcr.me/7aBcU. I have think that I have
I have an application that contains a NSTableView of Card data types.
The NSTableView gets its data from an NSArray of Card instances.
I want to allow the user to be able to filter the view based on the
Card fields. I know I need to use a NSPredicateEditor to present the
UI for the user, and to
Depends on what you want for your app. If you want the user to see the
table data change then keep it the way it is. If you'd rather the
change occur out of view use viewWillAppear:
Luke
Sent from my iPhone.
On Dec 26, 2009, at 8:31 PM, Brian Bruinewoud br...@darknova.com
wrote:
Hi
I tried (valueUser.value)-GetAmount()) and I still get the same errors.
Date: Sun, 27 Dec 2009 11:47:35 +1100
From: Brian Bruinewoudbr...@darknova.com
Subject: Re: Compile errors with Objective-C++ properties as STL/TR1
smart pointers
To: undisclosed-recipients: ;
Cc:
27 matches
Mail list logo