An app which ran without problems on Leopard likes to crash on Snow
Leopard (10.6.1) (both in i386 and x86_64).
How to crash: print several times; might crash the first time, might
crash the seventh time, but crash it will.
The backtrace and the location of the crash varies wildly. In almos
Hi,
My carbon application has an iTunes like database to store MIDI files.
It uses SQLlite as the database. I am thinking that I might converts
the whole thing to CoreData when I rewrite the app in Cocoa so I was
wondering if there are any examples that would be a suitable starting
point
On Sep 10, 2009, at 7:20 PM, Christopher J Kemsley wrote:
CAShapeLayer with Path from PointA to PointB
In this method, I used a CAShapeLayer with the correct color and a
1px width. I made a path between the two points.
For moves, I created another path representing the new position and
u
On Sep 10, 2009, at 9:19 PM, Graham Cox wrote:
There are exceptions though. For example, two square buttons placed
side by side such that they share a 1 pixel frame border. That flags
an overlap warning, but it's the right placement for the best look
for the buttons.
One might be incline
On 11/09/2009, at 4:40 AM, Erik Buck wrote:
Don't overlap sibling views. Even though it works reliably now, it
is still a poor practice for controls and has a definite user
interface "smell."
There are exceptions though. For example, two square buttons placed
side by side such that the
On 11/09/2009, at 4:41 AM, Jens Alfke wrote:
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by fractional
amount (e.g. .25 or .5 of a pixel).
Are you sure you want to scroll by fractional pixels? It will be
slower, becaus
Before anything else, let me say thank you for a clear, concise, and
very helpful set of answers to my questions; I was expecting rather
more of a struggle for understanding :).
my pleasure.
On Sep 10, 2009, at 5:04 PM, Ben Trumbull wrote:
The inverse
relationship from Planet to Employee, "al
I don't see this as being equivelant at all.
Extending the example, let's say the company with these Employees has
as its directors several discriminating unfair people, and thus an
Employee from any given Planet gets a salary adjustment based on that
Planet. The obvious place for this data is th
Hi all,
In my current development project, I have numerous dots that will be
moved around periodically, each connected by a line.
The dots are represented as CALayers, with the "contents" set to a
simple 20x20 dot, and they are moved around by animating the
"position" property.
The conn
On 9/10/09 3:51 AM, Steve Cronin said:
>I know I'm late to the game here but I just took my app for a compile
>under XC3.2 for the first time...
>
>A few NSString encoding loose ends OK but WHAMO my .xib files are
>hammered with ~100 errors (not warnings!)
>
>".. This view overlaps one of its sib
You could also try one of the draw bezel functions
NSDrawDarkBezel
NSDrawGrayBezel
NSDrawLightBezel
NSDrawWhiteBezel
with a height of 2, and a y value with a .5 decimal
On 11/09/2009, at 12:12 AM, Steven Degutis wrote:
Arun,
It's just two lines drawn on top of one another, with the top one
Before anything else, let me say thank you for a clear, concise, and
very helpful set of answers to my questions; I was expecting rather
more of a struggle for understanding :).
On Sep 10, 2009, at 5:04 PM, Ben Trumbull wrote:
support for such a thing; I would either have to write a custom
p
Folks;
I am trying to understand whether ABAddressBook will permit
interaction with Exchange.
I don't see anything in the documentation specifically on this point.
Can anyone comment on this?
Am I missing a resource?
Is it currently not supported?
Thanks for any thoughts!
Steve
Gwynne,
I have an application that manages two kinds of data: A singular file
that contains a large amount of rarely changed (but not invariant)
data, and documents that contain one root object's worth of
information that connects to the singular data set in a very large
number of places; the do
On Sep 10, 2009, at 3:21 PM, Erik Buck wrote:
Yes. Use Core Data. Your application is exactly what Core data is
intended to support.
Create a planet entity.
Create a one to many relationship so that each employee has one
planet, but each planet has an unlimited number of employees.
This
On Sep 9, 2009, at 8:12 PM, Jason Foreman wrote:
You don't actually instantiate ScriptingBridge objects directly
like that. The interface header is generated so you can get type
checking when you call methods, but the actual class is acquired
dynamically at runtime. See the documentation
On Sep 10, 2009, at 1:30 PM, Peter Ammon wrote:
Yes, Searching unfortunately does not have an associated UTI - as
you discovered you can specify the category name explicitly in that
case.
That's what I thought. And if Scott or Mmalc or any other
documentation writers are reading this, th
On Sep 10, 2009, at 12:15 PM, Nick Zitzmann wrote:
On Sep 10, 2009, at 1:08 PM, Peter Ammon wrote:
You should try to pick a UTI that represents your Service
accurately. If the UTI you pick does not conform to any category,
then it will wind up in General. But if later Apple adds a new
Yes. Use Core Data. Your application is exactly what Core data is intended to
support.
Create a planet entity.
Create a one to many relationship so that each employee has one planet, but
each planet has an unlimited number of employees.
This is exactly what "lookup tables" in sql produce. Th
Torsten Radtke wrote:
I observed excessive memory usage (working in a garbage-collected
environment under 10.6) if I add an observer to a KVO-compliant
object. So if I add an observer to say 10 objects, Instruments
shows that 10 2KB blocks of memory are allocated (additionaly
ther
On Sep 10, 2009, at 1:08 PM, Peter Ammon wrote:
You should try to pick a UTI that represents your Service
accurately. If the UTI you pick does not conform to any category,
then it will wind up in General. But if later Apple adds a new
category, and your Service's UTI conforms to the new
On 09/09/2009, at 2:28 PM, Brent Gulanowski wrote:
Here's one option. I think it's your second one. Was easier to do than to
try to explain it. Plus less chance I describe it wrong.
Thank you so much Brent! The combination of adding ArrayController outlets
to the AppDelegate and then returning t
On Sep 10, 2009, at 10:30 AM, Nick Zitzmann wrote:
I have a service that can apply to multiple categories due to the
pasteboard types it accepts. In Snow Leopard, for some reason, the
service always shows up under the Pictures category even though it
also accepts text. I want it to show up
On Sep 10, 2009, at 11:30 AM, Nick Zitzmann wrote:
I'm aware of an apparently undocumented NSRequiredContext key called
NSServiceCategory that manually sets the service category in the
Keyboard preference pane, which is useful when the pane does not
correctly categorize the service, which
Greetings LA CocoaHeads.
Tonight, Ron will be demoing his iPhone app “The DVD Bit Budget
Assistant”, and showing some of the facets that went into creating it.
More info on the app itself at http://www.editgroove.com/
We meet at the offices of E! Entertainment at 7:30pm.
Our meeting location
On Sep 10, 2009, at 12:34 PM, David Duncan wrote:
On Sep 10, 2009, at 7:32 AM, Jason Foreman wrote:
CGImageRef screenShot = CGWindowListCreateImage(CGRectInfinite,
kCGWindowListOptionOnScreenOnly, kCGNullWindowID,
kCGWindowImageDefault);
On Snow Leopard, the CGImageRef is NULL and the
I have finally narrowed down my subview scaling problem to the
setwantslayer. If that is set to YES for an nsview, changing the
frame and bounds of a subview can produce arbitrary results. Leaving
it off seems to work. My only issue is that I will no longer be able
to use core animation
On Sep 10, 2009, at 7:01 AM, Martin Redington wrote:
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by fractional
amount (e.g. .25 or .5 of a pixel).
Are you sure you want to scroll by fractional pixels? It will be
slower
I have an application that manages two kinds of data: A singular file
that contains a large amount of rarely changed (but not invariant)
data, and documents that contain one root object's worth of
information that connects to the singular data set in a very large
number of places; the docum
Don't overlap sibling views. Even though it works reliably now, it is still a
poor practice for controls and has a definite user interface "smell."
If you must use the same area of the user interface for different purposes at
different times, consider using a tab view with no visible tabs and
On Sep 10, 2009, at 1:54 AM, Massimiliano Gargani wrote:
I'm developing a little music player. It works fine with file but it
doesn't work with audio streaming.
as you can see from log below it wants to open the stream as a file:
2009-09-10 10:47:04.221 Primafila[511:10b] the file path
http
On Sep 9, 2009, at 11:39 PM, Dave Keck wrote:
If you enable the -Wformat warning, the compiler will warn you if you
omit the trailing nil. Never understood why it's not enabled by
default...
The first thing I do in a new Xcode project is, in the project build
settings, add "-Wall" to "other
To add to Luke's comment, changing the supported orientations as
reported by -shouldAutorotateToInterfaceOrientation: is not enough to
actually provide support for different orientations. Doing this to the
view controllers that we provide is generally not going to do what you
want (as you'v
On Sep 10, 2009, at 7:32 AM, Jason Foreman wrote:
I am attempting to use the CGWindowListCreateImage function to
capture a desktop screenshot. The following code (taken straight
from the SonOfGrab sample) works on Leopard, but is failing on Snow
Leopard:
CGImageRef screenShot = CGWindowL
I have a service that can apply to multiple categories due to the
pasteboard types it accepts. In Snow Leopard, for some reason, the
service always shows up under the Pictures category even though it
also accepts text. I want it to show up in the General category.
I'm aware of an apparently
Hi Ken,
The targeted rectangle area is correct so I don't think it is an issue
with that.I have filed Bug ID# 7212266 and am trying to build a sample to
show the issue.
Thanks for your response,
Tresa
> Hi Tresa,
> This isn't enough information to tell what might be going wrong.
>
> Please file
On Sep 10, 2009, at 9:39 AM, Steve Cronin wrote:
Do you have to re-jigger everything because IB can't fathom that
they might not be visible at the same time?
Probably. Can you combine those buttons and then change them as you
go? That would also conserve memory, disk space, & loading times
On 10 sep 2009, at 02.15, Arun wrote:
How can we draw a horizontal line with embossing effect? The attached
picture describes more clearly.
I'd probably use NSShadow.
j o a r
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
Nick;
Hey thanks for the reply!
Yes, I'm aware of the IB target setting.
If you still want to target Tiger this is a BIG surprise that these
are now treated as errors.
The really big question for me is how do you deal with 2 buttons that
lie one on top of the other but are never drawn at t
On Sep 9, 2009, at 8:12 PM, Jason Foreman wrote:
You don't actually instantiate ScriptingBridge objects directly like
that. The interface header is generated so you can get type
checking when you call methods, but the actual class is acquired
dynamically at runtime. See the documentation
Is there a better forum to ask this question? I filed a bug report
months ago and have heard nothing on that, either (as usual, which is
rather depressing overall).
On Aug 31, 2009, at 4:50 PM, Adam Knight wrote:
I'm using IKSlideshow to display images that I'm fetching from a
server in t
You're better off filing a feature request for a landscape image
picker. Honestly, though, I don't see landscape as an orientation that
makes sense for picking images on the phone.
Luke
On Sep 10, 2009, at 8:10 AM, Development wrote:
I'm working on an app that is in landscapeleft mode most
Hi,
I observed excessive memory usage (working in a garbage-collected
environment under 10.6) if I add an observer to a KVO-compliant
object. So if I add an observer to say 10 objects, Instruments
shows that 10 2KB blocks of memory are allocated (additionaly
there are another 1000
When you want nothing to happen, cell.selectionStyle =
UITableViewCellSelectionStyleNone;
When you want blue, cell.selectionStyle =
UITableViewCellSelectionStyleBlue;
Luke
On Sep 9, 2009, at 11:42 PM, Steve Fogel wrote:
Hi, all...
I've got a table view for which users must tap an Edit
On Sep 10, 2009, at 2:51 AM, Steve Cronin wrote:
My base SDK is set to 10.6 and a deployment of 10.4.
Everything was peachy under 10.5 and XC3.1 no such warnings or errors.
Sooo does this mean I cannot use XC3.2 unless I fix all these issues?
Nib deployment targets are actually set in the ni
I'm working on an app that is in landscapeleft mode most of the time.
I need to be able to pick an image but even after subclassing the
imagepickercontroller and returning yes for the -(BOOL)
shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)
toInterfaceOrientation
when the orien
Arun,
It's just two lines drawn on top of one another, with the top one darker
than the background and the bottom one lighter. I use it in my Preference
panels all the time.
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
On Thu, Sep 10, 2009 at 4:15 AM, Arun wrote:
>
On Sep 10, 2009, at 09:40, BareFeet wrote:
Hi Florijan,
I've made an NSActionCell subclass for indicating the priority of
an object, similar to the rating column in iTunes. The visual
aspects of it are working fine, as well as displaying the correct
priority for table rows that have a pr
I am attempting to use the CGWindowListCreateImage function to capture
a desktop screenshot. The following code (taken straight from the
SonOfGrab sample) works on Leopard, but is failing on Snow Leopard:
CGImageRef screenShot = CGWindowListCreateImage(CGRectInfinite,
kCGWindowListOption
On 9/9/09 5:40 PM, Paul Figgiani said:
>Prior to installing Snow Leopard the following code worked with no problem,
>It runs a savePanel for exporting an rtf doc with the contents of a
>textVIew. Under 10.6 it still works. However the option to show/hide the
>output file extension stopped working
I've got two NSScrollView's in separate windows, that I'm trying to
scroll programmatically in synchrony.
I'm calling
[[scrollView contentView] scrollToPoint:theNewPoint];
This works fine when the new y value is a whole integer, but I'm
seeing some strange behaviour when trying to scroll by frac
Hi Florijan,
I've made an NSActionCell subclass for indicating the priority of an
object, similar to the rating column in iTunes. The visual aspects
of it are working fine, as well as displaying the correct priority
for table rows that have a priority value set.
The problem is setting the
Hi all,
I've made an NSActionCell subclass for indicating the priority of an
object, similar to the rating column in iTunes. The visual aspects of
it are working fine, as well as displaying the correct priority for
table rows that have a priority value set.
The problem is setting the new
start a timer when the button goes down and queue it. If it fires
before the button goes up, you have your '+', if the finger goes up
first, cancel the timer.
On 10-Sep-2009, at 8:35 PM, Dan Ribe wrote:
Hi All,
I am trying to implement a phone pad for my application. For key
with title
Hi All,
I am trying to implement a phone pad for my application. For key with title
'0' I want the same behavior as the iPhone phone application :
1. If user touches, it should immediately display a 0.
2. If user holds down the button for some time, it should display a '+' (I
mean 0 should be
Hi Aaron,
I have been struggling over this one for a while now, and what
frustrates me
the most is the feeling that it should be relatively simple to do.
Let's say I have File1.m and File2.m, and I would like to access a
variable
in File2.m from File1.
My previous programming experience i
On 10/09/2009, at 7:15 PM, Arun wrote:
How can we draw a horizontal line with embossing effect? The attached
picture describes more clearly.
Why not try zooming in on that image and see how it's drawn. It's
trivially easy.
--Graham
___
Cocoa
Hi All
How can we draw a horizontal line with embossing effect? The attached
picture describes more clearly.
Thanks
Arun KA
<>___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
C
Hi all,
I'm developing a little music player. It works fine with file but it
doesn't work with audio streaming.
my code is:
NSURL* theFilePath = [[NSURL alloc] initWithString:[[theTable
objectAtIndex:sx] objectForKey:@"Location"]];
NSLog(@"the file path %@", theFilePath);
Folks;
I know I'm late to the game here but I just took my app for a compile
under XC3.2 for the first time…
A few NSString encoding loose ends OK but WHAMO my .xib files are
hammered with ~100 errors (not warnings!)
".. This view overlaps one of its siblings. Overlapping sibling views
Hi Tresa,
This isn't enough information to tell what might be going wrong.
Please file a bug, and give steps to reproduce in your app. (Or a
reduction, but it sounds like you don't know how to make a reduction here.)
I'm not aware of any problem that would cause this.
You might try replacing yo
Hi Aaron,
You seem to be conflating several unrelated concepts here.
First, a file is not an object or class, and an object or class is not
a file. A file is just a container for some text which can be
compiled. A file might contain the definitions for several objects, or
a single object m
62 matches
Mail list logo