On 18/01/2010, at 6:29 PM, Eimantas Vaičiūnas wrote:
> This typo seems to be dating since 2006 (according to this thread:
> http://www.osxentwicklerforum.de/thread.php?postid=39885). Was apple
> notified about this?
Problem is that even if they have they can't fix it without breaking binary
co
Apple usually addresses binary compatibility by changing behavior if
you link against a newer major SDK. So a behavior changes if you link
against 10.6 vs. 10.5. Apple has done this numerous times.
With notifications, they could also send out both notifications. I'm
thinking com.apple.loginItemsLi
Hi all,
I would like to send fax using the cocoa application.
I found some methods related to fax like NSPrintFaxModem etc(deprecated
methods).
But I do not know how to proceed with this?
Help me in this.
Thanks,
Ramesh.P
___
Cocoa-dev mailing list (Coc
> - Original Message
> From: Kyle Sluder
> To: Per Bull Holmen
> Cc: cocoa-dev@lists.apple.com
> Sent: Mon, January 18, 2010 6:29:32 AM
> Subject: Re: Blocking for input during a loop?
>
> > On Sun, Jan 17, 2010 at 1:59 PM, Per Bull Holmen wrote:
> > Is it possible, in Cocoa, do pro
Hey everyone!
I've been trying to use a UISearchDisplayController hooked up in IB with my
UITableView and everything works fine except for the fact that I need the
resulting table view to be of the UITableViewStyleGrouped style, which I can
not currently achieve. Any ideas how to go on about it
Hello,
I'm a bit stuck with NSColorPanel, while trying to write a plugin for
another app, which should open the color picker, select a color, close
it and return the color.
I use this code here, but as soon as I click in the panel it is crashing:
-(void)setPicker:(id)sender {
panel
Hi this is a follow up question on memory management. In my class
BrowseViewController, I have a UITableView and 2 NSMutableArrays.
@interface BrowseViewController : UIViewController {
IBOutlet UITableView *tableView;
NSMutableArray *tableList;
NSMutableArray *cfrTitleLis
Can anyone cast any light on the interaction between the bundle structure and
the window server?
The following modified Cocoa app main function displays a dialog when run as an
app.
If the executable is extracted from the bundle and run it fails (no user
interaction allowed).
The thing is that
On 18 Jan 2010, at 13:43, jonat...@mugginsoft.com wrote:
> Can anyone cast any light on the interaction between the bundle structure and
> the window server?
>
> The following modified Cocoa app main function displays a dialog when run as
> an app.
> If the executable is extracted from the bund
That seems like a silly requirement for UI interaction...
It seems you can get around it by making your app bundled and setting
the LSUIElement key in your Info.plist, though.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
On 18 Jan 2010, at 14:28, Dave Keck wrote:
> That seems like a silly requirement for UI interaction...
>
> It seems you can get around it by making your app bundled and setting
> the LSUIElement key in your Info.plist, though.
Silliness apart it's a legitimate question.
I want to investigate NSA
> Silliness apart it's a legitimate question.
Of course - I meant AS requiring one's app to be a bundle to interact
with the user seemed strange.
> I want to investigate NSAppleScript user interaction from within a foundation
> tool.
> The tool is already part of my app bundle.
>
> I don't reall
> Yes - I'd recommend placing your helper into your main app's
> Contents/MacOS directory, per
> http://developer.apple.com/mac/library/technotes/tn2007/tn2206.html.
> (Although Apple seems to favor putting their helpers in
> Contents/Resources, at least on 10.5.)
I forgot to add that helper _bund
On 18 Jan 2010, at 14:30, jonat...@mugginsoft.com wrote:
>> Quite possibly. Have you tried calling NSApplicationLoad() at the top of
>> your main() function?
> Makes no difference as far as I can tell.
> There is a practical point here as I am trying to launch user interacting
> AppleScript fro
I am trying to draw in a CALayer subclass with all animation off. The
layer in question is a sublayer of a CAOpenGLLayer which is used in a
layer-hosted view.
When the view is resized, the CALayer bounds are updated and the layer
is redrawn.
- (void)updateBounds
{
[CATransaction begi
On 18 Jan 2010, at 14:30, jonat...@mugginsoft.com wrote:
> On 18 Jan 2010, at 14:22, Alastair Houghton wrote:
>
>> Quite possibly. Have you tried calling NSApplicationLoad() at the top of
>> your main() function?
> Makes no difference as far as I can tell.
> There is a practical point here as
On Mon, Jan 18, 2010 at 4:20 AM, Mark Munz wrote:
> Apple usually addresses binary compatibility by changing behavior if
> you link against a newer major SDK. So a behavior changes if you link
> against 10.6 vs. 10.5. Apple has done this numerous times.
>
> With notifications, they could also send
Dave Keck wrote:
> That seems like a silly requirement for UI interaction...
>
> It seems you can get around it by making your app bundled and setting
> the LSUIElement key in your Info.plist, though.
Or use TransformProcessType to elevate your Unix style executable to GUI status:
OSStatus err
I had the same issue in the past using NSOperationQueue and NSURLConnection,
and I resolved it by simply telling NSURLConnection to send using
synchronously using sendSynchronousRequest:returningResponse:error:
Would that not take care of the issue?
+Clint
On Sun, Jan 17, 2010 at 1:55 PM, J. Sco
I've created and am successfully calling a service in my application.
But when an error is encountered and I set an error string, it doesn't
seem to go anywhere. The docs say its supposed to be logged to the
console but I see nothing. Is this a bug or am I missing something? My
code:
-(void) myCoo
On Jan 18, 2010, at 5:39 AM, Matthias Schmidt wrote:
> Hello,
> I'm a bit stuck with NSColorPanel, while trying to write a plugin for
> another app, which should open the color picker, select a color, close
> it and return the color.
>
> I use this code here, but as soon as I click in the panel
> On Sun, 2010/01/17, Ken Thomases wrote:
>> On 2010 Jan 17, at 11:15, Jeffrey Oleander wrote:
>>> On Sat, 2010/01/16, Ken Thomases
> wrote:
On 2010 Jan 14, at 17:11, Carter R. Harrison wrote:
My model is an NSMutableSet that contains
NSMutableDictionaries.
>>>
>>> I think this is
On 18 Jan 2010, at 16:37, Clint Shryock wrote:
> I had the same issue in the past using NSOperationQueue and NSURLConnection,
> and I resolved it by simply telling NSURLConnection to send using
> synchronously using sendSynchronousRequest:returningResponse:error:
>
> Would that not take care of
On Jan 18, 2010, at 7:04 AM, Richard Somers wrote:
> - (void)drawInContext:(CGContextRef)context
> {
> [CATransaction begin];
> [CATransaction setValue:(id)kCFBooleanTrue
> forKey:kCATransactionDisableActions];
>
> // Do some CG drawing ...
>
> [CATransaction
In documentation,
updateChangeCount: "if the change count is 0, the document has no changes to
save, and if the change count is greater than 0, the document has been edited
and is unsaved"
isDocumentEdited "Returns YES if the receiver has changes that have not been
saved, NO otherwise."
I c
On Jan 18, 2010, at 8:52 AM, Jim Turner wrote:
> I've created and am successfully calling a service in my application.
> But when an error is encountered and I set an error string, it doesn't
> seem to go anywhere. The docs say its supposed to be logged to the
> console but I see nothing. Is this a
Hi All,
I'm trying to find a C/Objective-C function or library that will help me
pack javascript, something like YUI Compressor or Dean Edwards's packer.
Instead of doing this online, I'll need to do substitutions on the
javascript code before packing it.
Couldn't find a solution online. Does an
On Mon, Jan 18, 2010 at 3:17 AM, Eric Boo wrote:
> I'm trying to find a C/Objective-C function or library that will help me
> pack javascript, something like YUI Compressor or Dean Edwards's packer.
It may not be as aggressive as you'd like, but Doug Crockford's jsmin
has C source code available:
On Mon, Jan 18, 2010 at 11:38 AM, Greg Parker wrote:
> On Jan 18, 2010, at 8:52 AM, Jim Turner wrote:
>> I've created and am successfully calling a service in my application.
>> But when an error is encountered and I set an error string, it doesn't
>> seem to go anywhere. The docs say its supposed
On or about 1/7/10 10:25 PM, thus spake "cocoa-dev-requ...@lists.apple.com"
:
> Message: 16
> Date: Fri, 8 Jan 2010 17:23:06 +1100
> From: Graham Cox
> Subject: Re: wait for sheet result>
>
> On 08/01/2010, at 4:24 PM, Jerry Krinock wrote:
>
>> The Sheet Programming Guide notes that Cocoa does
Oh good :)
I do try not to get carried away with them. But try removing
sheet 1 before displaying sheet 2 (in a sequence). It looks
absolutely terrible, things sliding up and down all over the
place, makes me quite dizzy. I hear a rumour that MS Office
does this on the Mac...
In some place
Hi Jedis,
Is it a proper design to use a NSDocument as a variable of another NSDocument?
I am now working on an application which generates some information from a
movie. The information generated will be showed as a table, and the information
in the table can be saved/opened. Multiple types o
Hi,
What's the recommended way of keeping a window in the Window menu
(like e.g. Address book and iChat does) so that it can be brought back
even after it has been closed?
/ Andreas
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
On Jan 18, 2010, at 10:11 AM, David Duncan wrote:
-drawInContext: is too early to stop the creation of the animation,
as it occurs after -drawInContext: finishes and the layer's contents
are set. You need to override -actionForKey:, watch for the
@"contents" key, and return nil. There are a
A bit of the crash log showing the backtrace and reason for crashing
would be much more helpful than just saying that it crashed.
Secondly, NSColorPanel is a floating panel so its behavior isn't
really oriented towards modally opening it, selecting a color and
closing it. You'd normally cli
Just a guess that they're known windows, so items are added to the
Window menu in IB.
On Jan 18, 2010, at 11:23 AM, Andreas Eriksson wrote:
What's the recommended way of keeping a window in the Window menu
(like e.g. Address book and iChat does) so that it can be brought back
even after it h
On Jan 18, 2010, at 11:24 AM, Richard Somers wrote:
> An observation. CAOpenGLLayer provides for manually controlling animations.
> CALayer uses automatic animations. Why the difference?
I'm not certain what you mean by this. All layers participate in implicit
animations, although each layer t
- [NSWindow setExcludedFromWindowsMenu:]?
On Jan 18, 2010, at 11:58 AM, Andreas Eriksson wrote:
That would still require some effort to prevent the window (and the
separator) to be listed twice, I assume?
On Mon, Jan 18, 2010 at 8:38 PM, Steve Christensen
wrote:
Just a guess that they're k
On Jan 18, 2010, at 11:23, Andreas Eriksson wrote:
> What's the recommended way of keeping a window in the Window menu
> (like e.g. Address book and iChat does) so that it can be brought back
> even after it has been closed?
Here's the code (in the window controller) I use to do this:
- (void) o
On Jan 18, 2010, at 10:48, Jarod Wen wrote:
> Is it a proper design to use a NSDocument as a variable of another
> NSDocument?
>
> I am now working on an application which generates some information from a
> movie. The information generated will be showed as a table, and the
> information in
On Mon, Jan 18, 2010 at 10:04 PM, Quincey Morris
wrote:
> On Jan 18, 2010, at 11:23, Andreas Eriksson wrote:
>
>> What's the recommended way of keeping a window in the Window menu
>> (like e.g. Address book and iChat does) so that it can be brought back
>> even after it has been closed?
>
> Here's
On Jan 18, 2010, at 13:18, Andreas Eriksson wrote:
> Why is it necessary to delay the orderOutMyWindow invocation
> with performSelector?
I actually don't remember. Maybe it's not necessary, so by all means try it
without the delay.
___
Cocoa-dev ma
On Jan 18, 2010, at 1:10 PM, David Duncan wrote:
I'm not certain what you mean by this. All layers participate in
implicit animations, although each layer type can specify which keys
are implicitly animated (and this can be further customized by
developers). If you are saying that CAOpenGLL
On Jan 18, 2010, at 3:38 AM, Per Bull Holmen wrote:
> You say my initially proposed loop is a bad idea - but lots of applications
> use this type of loop. The difference is that they do it only inside one
> window, and block user access to all other parts of the application (modal
> windows).
On Jan 18, 2010, at 11:01 AM, Jeffrey Oleander wrote:
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Collections/Articles/Sets.html
>
> "Set Fundamentals: Note that if mutable objects are stored in a set, either
> the hash method of the objects shouldn’t depend on the in
> At Mon, 2010/01/18 15:19, Quincey Morris wrote:
> On 2010 Jan 18, at 10:48, Jarod Wen wrote:
>> Is it a proper design to use a NSDocument as a
>> variable of another NSDocument?
>>
>> I am now working on an application which generates
>> some information from a movie. The information
>> gener
On 18 Jan 2010, at 15:55, has wrote:
> Dave Keck wrote:
>
>> That seems like a silly requirement for UI interaction...
>>
>> It seems you can get around it by making your app bundled and setting
>> the LSUIElement key in your Info.plist, though.
>
> Or use TransformProcessType to elevate your U
Good points guys! In my application the table data depends on the movie it
comes from. And also, there will be several tables for one movie (for example,
one is for the video information and the other is about the audio information).
The reason why I want to select the document architecture is
On Jan 18, 2010, at 1:47 PM, Richard Somers wrote:
> When I do this the OpenGL layer has no animations what so ever. So
> in-other-words when I simply draw, using the standard draw method, there are
> no animations.
This is just a difference in the CAOpenGLLayer's implementation with respect t
Is there any way to make sheets open instantly, instead of animating? I'd just
like to speed up my unit tests.
--
David Catmull
uncom...@uncommonplace.com
http://www.uncommonplace.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Jan 18, 2010, at 10:04 PM, jonat...@mugginsoft.com wrote:
>> Or use TransformProcessType to elevate your Unix style executable to GUI
>> status: [...]
> Looking at rb-appscript [...] the process is transformed only when error
> -1713 occurs.
Correct, errAENoUserInteraction = -1713.
> Ide
Hi all, I have problem with a NSTableView bound to an NSArrayController bound
to an NSMutableArray in my controller class.
After the following sequence I get a crash:
1) start application
2) request download of data
3) populate data into mutable array
4) show the view
5) ask for another downloa
Am 18.01.2010 um 14:40 schrieb Philip Vallone:
> Hi this is a follow up question on memory management. In my class
> BrowseViewController, I have a UITableView and 2 NSMutableArrays.
>
> @interface BrowseViewController : UIViewController {
> IBOutlet UITableView *tableView;
> NSMut
Pretty certain there's a user default you can set to determine the length of
window animations. It might apply to sheets too? Have a hunt around the
NSWindow reference.
On 18 Jan 2010, at 22:43, David Catmull wrote:
> Is there any way to make sheets open instantly, instead of animating? I'd
>
I have embeded two views in a split view then embeded that result with
another view in a split view to get a resulting vert splitter and horz
splitter.
Now I would like to Uembed an cannot no matter what selections I do
get Uembed to enable in the IB Layout Menu.
Any suggestions ? Please
On Jan 18, 2010, at 2:43 PM, David Catmull wrote:
> Is there any way to make sheets open instantly, instead of animating? I'd
> just like to speed up my unit tests.
Hi David,
If you run the following before launching your app, you'll get speedy sheets.
defaults write NSGlobalDomain NSWindowResi
On Jan 18, 2010, at 2:43 PM, David Catmull wrote:
> Is there any way to make sheets open instantly, instead of animating? I'd
> just like to speed up my unit tests.
Why do your unit tests need to bring up sheets?
— Chris
___
Cocoa-dev mailing lis
On Jan 18, 2010, at 3:50 PM, David Blanton wrote:
> I have embeded two views in a split view then embeded that result with
> another view in a split view to get a resulting vert splitter and horz
> splitter.
>
> Now I would like to Uembed an cannot no matter what selections I do get
> Uembed
> ...
> 20 VATSpy 0x00014912 -[BBSDataMgr
> loadDataFile:] + 3851
> 21 Foundation 0x7fff8166de99
> __NSThread__main__ + 1429
> 22 libSystem.B.dylib 0x7fff814c2f8e
> _pthread_start + 331
>
On 19/01/2010, at 11:28 AM, Corbin Dunn wrote:
>> ...
>> 20 VATSpy 0x00014912 -[BBSDataMgr
>> loadDataFile:] + 3851
>> 21 Foundation 0x7fff8166de99
>> __NSThread__main__ + 1429
>> 22 libSystem.B.dylib
On 19/01/2010, at 12:19 PM, Grant Christensen wrote:
>
> On 19/01/2010, at 11:28 AM, Corbin Dunn wrote:
>
>>> ...
>>> 20 VATSpy 0x00014912 -[BBSDataMgr
>>> loadDataFile:] + 3851
>>> 21 Foundation 0x7fff8166de99
>>> __
Thank you all for the replies! :)
Anyway, you've clearly misunderstood. I have clearly not explained properly
what I wanted to do, sorry about that. Probably because I'm not quite into the
lingo. I've found a great solution, but in case anyone has a technical interest
I'll try to explain it bet
On Jan 18, 2010, at 7:19 PM, Chris Hanson wrote:
> On Jan 18, 2010, at 2:43 PM, David Catmull wrote:
>
>> Is there any way to make sheets open instantly, instead of animating? I'd
>> just like to speed up my unit tests.
>
> Why do your unit tests need to bring up sheets?
Can't speak for the
Hi,
Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would
return the optimal bounds for an HIView and I found it very useful.
I need to support 10.4.
Regards,
Jo Meder___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
I posted this with two images from the debugger but it is awaiting
moderator screening.
In a view IBAction I instance a C++ class. As soon as the class is
instanced, self in the variables window, goes to 0x0 !
This worked fine until I embedded the view win a split view!
Now moving the ins
On Jan 18, 2010, at 9:17 PM, David Blanton wrote:
> In a view IBAction I instance a C++ class. As soon as the class is instanced,
> self in the variables window, goes to 0x0 !
Try logging the value of self, rather than relying on the debugger display.
The debugger can sometimes be wrong.
Oth
Good tips Ken ... I am on it!
On Jan 18, 2010, at 8:28 PM, Ken Thomases wrote:
On Jan 18, 2010, at 9:17 PM, David Blanton wrote:
In a view IBAction I instance a C++ class. As soon as the class is
instanced, self in the variables window, goes to 0x0 !
Try logging the value of self, rather
Ok. The C++ constructor does nothing more than assign a member
variable by calling a function.
And, the NSLog of self breaks as well!
Hmmm !
On Jan 18, 2010, at 8:32 PM, David Blanton wrote:
Good tips Ken ... I am on it!
On Jan 18, 2010, at 8:28 PM, Ken Thomases wrote:
On Jan 18, 2010,
Oh I forgot to do -fstack-protector-all where do I set that?
On Jan 18, 2010, at 8:28 PM, Ken Thomases wrote:
On Jan 18, 2010, at 9:17 PM, David Blanton wrote:
In a view IBAction I instance a C++ class. As soon as the class is
instanced, self in the variables window, goes to 0x0 !
Try lo
So I set stack-protector-all as "other C++ flags" and got
_stack_chk_fail
So this means the C++ constructor is corupting the stack?
-db
On Jan 18, 2010, at 8:28 PM, Ken Thomases wrote:
On Jan 18, 2010, at 9:17 PM, David Blanton wrote:
In a view IBAction I instance a C++ class. As soon as t
On Jan 18, 2010, at 9:50 PM, David Blanton wrote:
> So I set stack-protector-all as "other C++ flags" and got _stack_chk_fail
>
>
> So this means the C++ constructor is corupting the stack?
Sounds like it. I think the backtrace should indicate where the corruption was
detected.
Is the C++ cl
On 2010 Jan 18, at 09:14, Jerry Krinock wrote:
> - (BOOL)isDocumentEdited
> {
>return (_changeCount > 0) ;
> }
>
> Am I correct?
No, I was wrong. After getting the ivar offset from otool, I poked around with
gdb and found that _changeCount can actually be negative. This occurs if you
do
72 matches
Mail list logo