Hello,
Is it possible to integrate iPhone's SMS application to a new application?
Not just launching the SMS app (and terminating the calling app) but
some kind of SMS as a tab view on a new app?
Thanks in advance! :)
Angie
I'm working on generating a wave form for a sound bite, but I'm stuck in Core
Audio, which seems
to be not over-documented, so to speak. All I need for now is an array of
integers, based on some
sample rate, for a given sound file, but most of Core Audio seems to target
more complex
Hello,
I'm looking for a way to fix a minor but unsightly bug in NSTextView (I've
reported it as bug ID 7898471, but it may be the same bug as an older one with
ID 6987764). It's a bug that seems to have been present since Tiger, so I'd
like to find a solution myself rather than wait and hope
Hi all!
I would like to step in here for a related question. Is there any way to get
rid of the compiler warnings if you use the generated accessors without writing
a subclass of NSManagedObject and adding properties and method declarations?
Regards,
Chris
On 23 Apr 2010, at 10:46, Christian Ziegler wrote:
Hi all!
I would like to step in here for a related question. Is there any way to get
rid of the compiler warnings if you use the generated accessors without
writing a subclass of NSManagedObject and adding properties and method
yes there is - and it's in the documentation too
http://developer.apple.com/mac/library/documentation/cocoa/conceptual/CoreData/Articles/cdAccessorMethods.html
If you are not using a custom class, to suppress compiler warnings you can
declare the properties in a category of NSManagedObject:
Hi Christian
I would like to step in here for a related question. Is there any way to get
rid of the compiler warnings if you use the generated accessors without
writing a subclass of NSManagedObject and adding properties and method
declarations?
Normally, generating a subclass also
ah, good point. Seems pretty ugly though as you start suggesting that all
managed objects support those methods. It only takes a moment to generate a
subclass that does this.
On 23 Apr 2010, at 11:28, Roland King wrote:
yes there is - and it's in the documentation too
Hi all!
First of all shame on me, I didn't read this article entirely (one of my very
very bad traits ;-) ), thanks very much though for pointing it out. Given the
very good arguments I think it's better to create subclasses. Also thanks to
Mike I figured out how to easily create those
hi all,
wow thanks for the advice. i agree i will need to ultimately know a lot
about cocoa to make the transition
i don't have a lot of choices, in that the engine i am porting is about 1/2
million lines of C, and about 10,000 enterprise companies depend on it,
mainly on windows, although a
Hi!
I have a table view which lists files. I would like to make the represented
objects available through Accessibility. I.e. I want to add
NSAccessibilityURLAttribute and NSAccessibilityFilenameAttribute to the table
rows.
So far, I have come up with this:
-
Aha! I overlooked that one because I was expecting the method to accept two
parameters. Thanks! :)
Dave
Sent from my iPhone
On Apr 22, 2010, at 2:39 PM, Keary Suska cocoa-...@esoteritech.com wrote:
-mutableSetValueForKey:
___
Cocoa-dev mailing
I had a vaguely similar requirement in that I wanted to port my Windows app to
Cocoa and I wanted to do it (and indeed did do it) by writing a 'Windows
emulation library' on top of Cocoa. This took about a year.
To get started, I wrote a very simple one-window Cocoa program ('Cocoa
How would I go about determining the reason for a menuNeedsUpdate notification?
My app gets these both for key presses and clicks on the menu. I would like to
only update it for clicks, because updating the menu is slow (and will be even
slower when done separately for each menu item, via
NSMenuDidBeginTrackingNotification might do what you want. Note that, despite
what the docs say, this is not sent on Tiger.
Paul Sanders
- Original Message -
From: David Reitter david.reit...@gmail.com
To: cocoa-dev@lists.apple.com
Sent: Friday, April 23, 2010 4:31 PM
Subject: Reason
On Apr 23, 2010, at 7:08 AM, Bill Appleton wrote:
so i have made a lot of efforts to learn cocoa, but our product is an NPAPI
browser plugin
Whoa, hold on, stop the music —
That changes things. You’re not writing an app, then. So you have no
NSApplicationMain. You’re just writing a bundle
hi jens
you are right about all of that except we also run in stand alone
application mode, and we also have floating palettes and scripting windows
(etc) in developer mode in the browser
(i'm the guy who wrote supercard if that explains anything to the
old-timers)
thx
bill
On Fri, Apr
On Apr 23, 2010, at 8:31 AM, David Reitter wrote:
How would I go about determining the reason for a menuNeedsUpdate
notification?
On 10.6, you can use -[NSMenu propertiesToUpdate] from within your
menuNeedsUpdate delegate to determine what aspects of the menu need to be
updated. In the key
(i'm the guy who wrote supercard if that explains anything to the old-timers)
It does. Respect.
Paul Sanders.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
Hello,
Is it acceptable for an application to overwrite its own bundle, say as part
of an update? Assuming of course that it can get any necessary elevated
privileges? Or should I spawn a task that waits for the app to quit and then
overwrite it?
Thanks,
Philip
On Apr 23, 2010, at 9:38 AM, Philip White wrote:
Is it acceptable for an application to overwrite its own bundle, say as part
of an update? Assuming of course that it can get any necessary elevated
privileges? Or should I spawn a task that waits for the app to quit and then
overwrite it?
Hi,
Just like when press 'Option' while booting, we can see a list of volumes with
icons, is there a simple way to do something similar in a sheet? Thanks,
Angelo
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Fri, Apr 23, 2010 at 10:01 AM, Angelo Chen
angelochen...@yahoo.com.hk wrote:
Hi,
Just like when press 'Option' while booting, we can see a list of volumes
with icons, is there a simple way to do something similar in a sheet? Thanks,
What is the part you're trying to emulate, the appearance
On Apr 23, 2010, at 9:43 AM, Dave Carrigan wrote:
Have a look at the sparkle framework, for doing updates. I believe
what it does is moves the app bundle to the trash then drops in the
new app bundle.
+1. This is tricky to do right, and the fewer self-update frameworks
there are, the
Is it acceptable for an application to overwrite its own bundle, say as part
of an update? Assuming of course that it can get any necessary elevated
privileges? Or should I spawn a task that waits for the app to quit and then
overwrite it?
Do you install from an mpkg? I just download
you [Jens] are right about all of that except we also run in stand alone
application mode, and we also have floating palettes and scripting windows
(etc) in developer mode in the browser
I would think, then, that mastering the anatomy of a standard Cocoa application
would be well worthwhile.
I build the NSView hierarchy for a window from a Windows .res
file ...
It's worth adding that I started with a substantial base of
working, well-tested Windows code. My approach would not
otherwise be justified. But with 1/2 million lines of code, you
must be in an analogous situation.
I build the NSView hierarchy for a window from a Windows .res
file ...
Or do you have your own 'bare metal' widget set? If you are already
cross-platform, I guess you probably do. In which case [NSWindow sendEvent:]
is what you're looking for - everything comes through there - plus the NS
On Apr 23, 2010, at 12:06 PM, Bill Appleton wrote:
(i'm the guy who wrote supercard if that explains anything to the
old-timers)
Mad respect! Kudos dude. Loved supercard!
jack
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
On Apr 23, 2010, at 11:47 AM, Paul Sanders wrote:
NSMenuDidBeginTrackingNotification might do what you want. Note that,
despite what the docs say, this is not sent on Tiger.
This notification does not give me the actual menu, but I am now using it in
combination with menuNeedsUpdate: the
Hi, is there something that I need to do to make the dialogs (not the ones
included with app) come up localized?
For example, calling [printOperation runOperation] brings up the print dialog
always in English, even though the user language should be Russian for example
BUT doing print from say
Hi Kyle,
I'd just like show a collection of mounted volumes in a sheet and let user
choose one of them.
Thanks,
Angelo
--- 2010年4月24日 星期六,Kyle Sluder kyle.slu...@gmail.com 寫道﹕
寄件人: Kyle Sluder kyle.slu...@gmail.com
主題: Re: showing a list of mounted volumes with icon
收件人: Angelo Chen
On 4/23/2010 5:47 PM, Angelo Chen wrote:
I'd just like show a collection of mounted volumes in a sheet and let
user choose one of them.
Carbon has a call just for this (NavCreateChooseVolumeDialog) but I
don't see anything so easy for Cocoa. You can get a list of volumes
with NSFileManager,
33 matches
Mail list logo