Depending on what you need to communicate and why, you might be able to use the
NSNotificationCenter to meet your needs.
John
On Saturday Apr 3 4:22 PM, at 4:22 PM, Bharadwaj Parthasarathy wrote:
>
> Hi,
>
> I am currently working on porting an existing open source windows application
> to
You can use
view.annotation
in
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view
calloutAccessoryControlTapped:(UIControl *)control
John
On Thursday Apr 1 6:16 PM, at 6:16 PM, Roger Dalal wrote:
> Help All (please)!
>
> I have approximately 80 map annotations on
Thanks everyone. Looked back and found the documentation that I
thought recommended this technique. Sure enough, I missed something.
John
On Wednesday Oct 7 10:00 PM, at 10:00 PM, Rob Keniger wrote:
Both the responses to this have been spot on, but I'd just add that
what you can do is cre
alize method to be called before my window controller is loaded
and its outlets start getting referenced.
John
On Wednesday Oct 7 10:48 AM, at 10:48 AM, Jens Alfke wrote:
On Oct 6, 2009, at 11:30 PM, John Baldwin wrote:
When the application crashes on launch, there is no record of the
+initi
I tried your suggestions. Unfortunately, I kept getting the same
behavior.
I found out that if I create the preference file (in /Library/
Preferences/), then the application will launch from other locations.
But I'm still baffled.
Launch from Drop Box location, no preferences file: Success
2, 2009, at 10:50 PM, John Baldwin wrote:
I'm missing something in the loading of an application delegate.
In my MainMenu.xib file, the File's Owner delegate connection is set
to an AppController object. File's Owner's class is set to
NSApplication.
In the AppController clas
Thanks to everyone for responding. For what it's worth, I am using the
+initialize to register defaults.
I went and upgraded to Snow Leopard and XCode 3.2, and now when I
deploy to my test machine, it works fine, and the +initialize method
gets called.
This is all very baffling. Don't kno
I'm missing something in the loading of an application delegate.
In my MainMenu.xib file, the File's Owner delegate connection is set
to an AppController object. File's Owner's class is set to
NSApplication.
In the AppController class, a +(void)initialize method is defined.
The +(void)init
I took this to mean that NSImage conforms to NSCoding and therefore
can be archived, whereas UIImage does not conform and requires this
extra step to convert the image to an NSData object, which can be
archived.
John
On Sunday Aug 9 4:10 PM, at 4:10 PM, Kyle Sluder wrote:
On Aug 9, 2009,
Here's some reference material that I think helps explain this. It
sounds like you're new to Cocoa, so a beginning Cocoa book might be
helpful as well. I liked the Hillegass book, but shop around for one
that fits your style.
awakeFromNib:
http://developer.apple.com/documentation/Cocoa/Conc
surprise me.
John
On Sunday Jun 21 2:09 PM, at 2:09 PM, Kyle Sluder wrote:
On Sat, Jun 20, 2009 at 4:52 PM, John Baldwin> wrote:
I declared a (NSDate *) in my .h file.
Where? Inside an @implementation, or as a global variable? If it's a
global variable, you are aware that for
This is mostly a curiosity. I've found a working solution by using
time intervals, but still don't fully understand why my program would
crash when I used dates.
I declared a (NSDate *) in my .h file.
NSDate *originalDate;
Then in my init method, I initialized it to the current date. I trie
Thanks. "Conditionally sets enabled" was the issue.
The link to the video no longer seems to work, however.
John
On Friday May 8 4:33 AM, at 4:33 AM, Kyle Sluder wrote:
On Wed, May 6, 2009 at 1:37 AM, John Baldwin > wrote:
I'm fairly new to Cocoa, and I have a table with c
I'm fairly new to Cocoa, and I have a table with columns bound to an
arraycontroller. I turned off the "enabled" option for the column and
the cell on the check box cell column, and it looks disabled in IB,
but when I run my application, I am still able to check and uncheck
the checkbox.
14 matches
Mail list logo