When setting the value for the note property in an ABPerson record, the new
value isn't available until relaunching the application.
Scenario:
- read the note value for a contact and I get "foo"
- set the value to "bar"
- save the address book
- read the note value for the contact but get an em
I've been working through adding scriptability to my CoreData application but
ran into a snag: accessing relationships may return a fault instead of the
actual set of objects. Is there an "accepted" way of solving this issue? I
don't want the accessor to "always" fault the objects in, just whe
I extended NSManagedObject to provide a uniqueId accessor similar to that of
ABRecord. Turns out that this messed with the uniqueId accessor of ABRecord.
The docs don't say that ABRecord inherits from NSManagedObject but somewhere
they do I guess (it seems reasonable that they would)...lesson
I'm using the following code to search for AB Records matching an email
address. The search finds matching records but every returned record has the
same unique ID (which doesn't match the unique ID of any Person records in AB).
Any ideas?
ABAddressBook *book = [ABAddressBook sharedA
On Oct 16, 2009, at 1:13 AM, Andrew Farmer wrote:
On 16 Oct 2009, at 00:48, Greg Hoover wrote:
I have the same piece of code making a secure request to a server
in a Mac application and in an iPhone app. Both use an
NSURLRequest with exactly the same settings, message, body, etc.
On
I have the same piece of code making a secure request to a server in a
Mac application and in an iPhone app. Both use an NSURLRequest with
exactly the same settings, message, body, etc. On the Mac, the
request succeeds, returning the data expected. On the iPhone however,
the request fail
etch execution time: 0.s for 0 rows.
safe save
Thanks,
Greg
On Aug 25, 2009, at 1:16 PM, Melissa J. Turner wrote:
On Aug 25, 2009, at 02:19, Greg Hoover wrote:
I've run into a hang in CoreData save. I'm the single coordinator,
multiple object contexts threading model and a S
Thanks, I knew it had to be something simple that I was overlooking.
On Aug 26, 2009, at 8:50 PM, Glenn L. Austin wrote:
On Aug 26, 2009, at 8:41 PM, Greg Hoover wrote:
Has anyone seen an error in XCode like this: GCC 4.2 is not
compatible with the Mac OS X 10.4 SDK (file NSString+extras.m
Has anyone seen an error in XCode like this: GCC 4.2 is not compatible
with the Mac OS X 10.4 SDK (file NSString+extras.m)
I remove the referenced file and another pops up. I can build using
the 10.5 SDK, but attempting to build with 10.4 doesn't seem to work.
Thanks,
Greg
me: 0.s for 0 rows.
safe save
Thanks,
Greg
On Aug 25, 2009, at 1:16 PM, Melissa J. Turner wrote:
On Aug 25, 2009, at 02:19, Greg Hoover wrote:
I've run into a hang in CoreData save. I'm the single coordinator,
multiple object contexts threading model and a SQL store (though
I've run into a hang in CoreData save. I'm the single coordinator,
multiple object contexts threading model and a SQL store (though it
seems to happen with XML as well). The hang occurs inside the
NSSQLCore and seems to just loop endlessly. The SQL output supports
this. Requests perform
After upgrading to 10.5.7 I've been having intermittent trouble with
deallocated objects in NSURLConnections. All of my URL requests are
made using sendSynchronousRequest. Everything is fine for about 10-15
minutes, then I get this crash. I am making requests on multiple
threads, obvious
I'm using bindings to display values in a table. I use an array
controller bound to the attribute of a model object. The controller
"handles content as compound value" because of the way I access and
update the content from a larger set. Everything is great in that
values are retrieved a
Wow. Don't you hate it when its staring you in the face and you still
can't see it.
Thanks.
On Mar 14, 2009, at 5:31 PM, Michael Ash wrote:
On Sat, Mar 14, 2009 at 5:17 PM, Greg Hoover
wrote:
I'm trying to parse an HTTP Post response using the following
code. The
I'm trying to parse an HTTP Post response using the following code.
The problem is that CFHTTPMessageAppendBytes always returns false.
I've tested by stripping down the response to just "HTTP/1.0 200 OK\r\n
\r\n" and still no go. Does anyone know what the appropriate response
format is?
Wow! That totally fixed it. Thank you. Wow do I feel dumb!
Greg
On Nov 18, 2008, at 9:28 AM, Simon Wolf wrote:
On 18 Nov 2008, at 17:06, Greg Hoover wrote:
Ok, I buy that, but then what's the problem here:
NSDateFormatter *formatter = [[NSDateFormatter alloc]
the string to
date. Is there an issue with creating static NSDateFormatters? Its
curious because some of the date formatters in my app work as
expected, others do not.
Greg
On Nov 18, 2008, at 12:06 AM, Nathan Kinsinger wrote:
On Nov 17, 2008, at 6:23 PM, Greg Hoover wrote:
I am
I am using NSDateFormatter. The code snippet included shows this.
Greg
On Nov 17, 2008, at 3:38 PM, Kyle Sluder wrote:
I think it's a known issue. The documentation for -[NSDate
descriptionWithCalendarFormat:timeZone:locale:] (which I can only
assume that -[NSDate description] calls) has this
I've worked with formatters for a while now, but this morning
something odd happened. The following code translates the date string
"17 Nov 2008" to "2007-12-23 00:00:00 -0800".
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat: @"d
I'm building a very similar function to the one described by Ben, but
using PowerPoint -- I have an overlay window that is supposed to show
auxiliary info during a PowerPoint presentation. I've verified that
the drawing routines are running on my overlay window, but the updates
are never s
With the release of an SDK for iPhone I'm considering a new app. Does
anyone know if it will be possible to sync files between iPhone and a
computer that are not addresses, photos, songs, etc? I suppose the
work around is to put synced files at an Internet location and upload/
download the
Has anyone noticed that the image NSArrayController puts in the header
of a table column looks different than the one retrieved by [NSImage
imageNamed: @"NSAscendingSortIndicator"] -- the NSArrayController
image looks sharper and aligns vertically centered to the header.
Greg
__
I've encountered a situation where NSUserDefaults is definitely not
thread safe. Consider an user defaults value bound to an interface
object. A background thread modifies this value, first acquiring the
lock to write to the user defaults, writes the new value, and finally
triggers a KVO
Fleckner wrote:
So, do you mean that overriding -isOpaque and returning YES allows
you to have a transparent view which still catches mouse clicks?
Ron
On 13/04/2008, at 3:10 AM, Greg Hoover wrote:
I hadn't implemented the isOpaque method on my custom views. This
did the trick,
I hadn't implemented the isOpaque method on my custom views. This did
the trick, at least for my situation.
Thanks.
On Apr 12, 2008, at 1:19 AM, Ron Fleckner wrote:
On 12/04/2008, at 9:54 AM, Greg Hoover wrote:
Is there a way to prevent click through on a transparent view?
Greg
Is there a way to prevent click through on a transparent view?
Greg
___
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.c
There are already a number of issues with segmented controls in
toolbars, but I didn't find a solution to this one:
When the window is not in focus, the segmented control in the toolbar
looses all highlight (lo-light) behavior. The control should color
the selected segment with a lo-light
27 matches
Mail list logo