Hi!
Thanks Wyatt and Ricky for your answers.
The views have to visible at the same time. I thought of making an image out of
this view as well but I didn't know how. I googled a little and this is what I
found:
UIGraphicsBeginImageContext(myView.bounds.size);
[myView.layer renderInContext:UI
Hi All
Mac os x does not support IrDA protocols (IrLAP, IrLMP, IrNET).why?
These are higher layer protocols of the IrDA stack that use
xxx driver and hardware operating at the Data Link Layer
to communicate with other devices(like mobiles, etc.,).
It is not possible for us to provide these hig
On Sep 2, 2010, at 7:37 PM, Abhijeet Singh wrote:
> Hi,I am working on a multithreaded software that runs on a medical
> instrument. The software has 2 parts. GUI and worker threads (worker threads
> sends commands to instrument). The GUI is developed using ObjectiveC and
> Cocoa. Worker threa
Hi,
On Thu, Sep 2, 2010 at 5:07 PM, Iceberg-Dev wrote:
It's not easy.
>
> 1. If you retrieve a NSButton with the official API, you will not be able
> to get the mouse over effect. This is a bug since Mac OS X 10.4 and it has
> still not been fixed in Mac OS X.
>
> 2. The NSButton Apple uses for
Just a minor correction:
All threads have a run loop created automatically, but only the main thread's
run loop is running by default (if it's a GUI application). If you're on a
secondary thread, you have to spin the run loop manually using one of its
"run..." methods.
But (in essence) you're
NSTimers rely on there being an NSRunLoop for the current thread, so if you are
creating a timer in a thread without a run loop it will not work, because the
is no run loop to add the timer to. From the sounds of it you also want the
timer to be executed in the main thread, in which case you wil
Hi,I am working on a multithreaded software that runs on a medical instrument.
The software has 2 parts. GUI and worker threads (worker threads sends commands
to instrument). The GUI is developed using ObjectiveC and Cocoa. Worker threads
are all in C and Carbon.It is a Cocoa application.I am wo
I thought I had been fairly clear about that. Even though this answer is
technical.
UI discussion like this just isn’t appropriate.
What iTunes does if it isn’t HIG compliant and you feel strongly, file a bug.
There was a reason the UI discussion list was closed.
On Sep 2, 2010, at 3:07 AM, I
The NSLevelIndicator wants a number between the minValue and the maxValue to
determine what level it should draw.
Simply return that value as an NSNumber from the
objectValue:forTableColumn:row: datasource method, and the level indicator will
use that to set its level.
Dave
smime.p7s
Descript
I drag NSLevelIndicatorCell to tableView,and use it like this:
-(IBAction)levelAction:(id)sender
{
NSLog(@"Level clicked: %ld", [senderintValue]);
[levelCellsetIntValue:[senderintValue]];
[levelCellsetWarningValue:[senderintValue]];
}
- (void)tableView:(NSTableView *)aTableView
setObjec
On Sep 2, 2010, at 14:46, Sean McBride wrote:
> I have 2 CoreData entities, Foo and Bar. Both have 'name' string
> attributes. There are textfields allowing the user to rename any Foo
> and any Bar. Assume no 2 Foos can have the same name; likewise for
> Bars. There is a relationship between F
On Sep 2, 2010, at 3:17 PM, David Duncan wrote:
> On Sep 2, 2010, at 11:29 AM, vincent habchi wrote:
>
>> You mean I shall use your dispatch_async invocation instead of calling
>> [layer setNeedsDisplay]?
>
> Calling -setNeedsDisplay arranges for -display to later be called on the
> current r
On Sep 2, 2010, at 5:11 PM, Christian Ziegler wrote:
> I could use your help because I'm running out of ideas!
>
> Here's the situation. I got this custom view on screen which I want to remove
> from the screen by moving it outside the left border of the screen. However
> at the same time, I w
On Sep 2, 2010, at 3:11 PM, Christian Ziegler wrote:
> Hi all,
>
> I could use your help because I'm running out of ideas!
>
> Here's the situation. I got this custom view on screen which I want to remove
> from the screen by moving it outside the left border of the screen. However
> at the s
On Sep 2, 2010, at 11:29 AM, vincent habchi wrote:
> You mean I shall use your dispatch_async invocation instead of calling [layer
> setNeedsDisplay]?
Calling -setNeedsDisplay arranges for -display to later be called on the
current runloop. As such using -setNeedsDisplay is reliant on a runloop
Hi all,
I could use your help because I'm running out of ideas!
Here's the situation. I got this custom view on screen which I want to remove
from the screen by moving it outside the left border of the screen. However at
the same time, I want to move it back in from the right side but at a diff
Hi all,
I have 2 CoreData entities, Foo and Bar. Both have 'name' string
attributes. There are textfields allowing the user to rename any Foo
and any Bar. Assume no 2 Foos can have the same name; likewise for
Bars. There is a relationship between Foo and Bar. I want a Foo to be
related to a B
Hi Vincent,
On 2 Sep 2010, at 11:29 AM, vincent habchi wrote:
> I promise I did not plan to start an Apple internal quarrel! ;)
I don't think there's any real quarrel here; David and I are looking at this
from two distinct points of view. :)
The docs for +[CATransaction flush] make the stateme
On Sep 2, 2010, at 2:42 PM, Stephane Sudre wrote:
> I need to detect double-click on a word when the alt key is hold down
> (to do something similar to what Xcode does).
> This does not work as well in Mac OS X 10.6.
>
> Because when you double-click on the word myclass in a text like this:
>
>
It's a good solution if you need in which direction you need to shrink
the selection. But I can't know that.
On Thu, Sep 2, 2010 at 12:57 PM, vincent habchi wrote:
> Le 2 sept. 2010 à 21:42, Stephane Sudre a écrit :
>
>>
>> This does not work as well in Mac OS X 10.6.
>> Because when you double-c
On Sep 2, 2010, at 10:57 AM, Daniel DeCovnick wrote:
>
> On Sep 2, 2010, at 12:07 AM, Iceberg-Dev wrote:
>
>>
>> 2. The NSButton Apple uses for NSWindow buttons are not simple NSButtons.
>> And you can not display the mouse over version of the button rendering (as
>> far as I've tried and Ap
Le 2 sept. 2010 à 21:42, Stephane Sudre a écrit :
>
> This does not work as well in Mac OS X 10.6.
> Because when you double-click on the word myclass in a text like this:
>
> myclass.mymethod
>
> this selects myclass.mymethod.
>
> On previous OS versions, only myclass was selected.
You can a
Case:
-
I need to detect double-click on a word when the alt key is hold down
(to do something similar to what Xcode does).
To do this I subclassed NSTextView and implemented a custom the
mouseDown: method (that calls the super method, don't panic).
This works fine on Mac OS X 10.4.x and 10.
David, Chris,
I promise I did not plan to start an Apple internal quarrel! ;)
>>> dispatch_async(queue, ^{
>>> [layer display];
>>> [CATransaction flush];
>>> }
>>
>> There is (almost) never any reason for anyone to be calling +[CATransaction
>> flush] directly. You'll cause all sorts o
On Sep 2, 2010, at 12:07 AM, Iceberg-Dev wrote:
>
> 2. The NSButton Apple uses for NSWindow buttons are not simple NSButtons. And
> you can not display the mouse over version of the button rendering (as far as
> I've tried and Apple's DTS was not able to provide a solution either).
>
Apparen
On Sep 2, 2010, at 9:40 AM, Chris Parker wrote:
> On 2 Sep 2010, at 8:52 AM, David Duncan wrote:
>
>> On Sep 2, 2010, at 7:39 AM, Vincent Habchi wrote:
>>
>>> I just wanted to know someone has already tried to successfully send a
>>> CALayer -drawInContext method to a GCD dispatch queue. I susp
On 2 Sep 2010, at 8:52 AM, David Duncan wrote:
> On Sep 2, 2010, at 7:39 AM, Vincent Habchi wrote:
>
>> I just wanted to know someone has already tried to successfully send a
>> CALayer -drawInContext method to a GCD dispatch queue. I suspect this is not
>> possible, because of main loop relat
On Sep 2, 2010, at 7:39 AM, Vincent Habchi wrote:
> I just wanted to know someone has already tried to successfully send a
> CALayer -drawInContext method to a GCD dispatch queue. I suspect this is not
> possible, because of main loop related issue, but this is unclear.
This can be done, but y
Hi everybody,
I just wanted to know someone has already tried to successfully send a CALayer
-drawInContext method to a GCD dispatch queue. I suspect this is not possible,
because of main loop related issue, but this is unclear.
If it does not work, does it make sense to divide the code in two
Did you ever see this issue with your own Cocoa apps for Mac OS X?
On of our apps which is in maintenance for a major upgrade right now,
suddenly changed all its menu item font heights.
Usually all Mac OS X apps have the same font size for all menu items,
except those of the Help menu (since
Hi,
Yes it's about a class. Thanks. :)
Tharindu.
___
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.com
Help/Unsubscrib
Dear list,
I am facing an issue with instruments tool in exporting the data using a Dtrace
custom instrument. I have created the new instrument with the probe of type
'Objective-C' and one of my class. When I start record, it will record all the
functions/methods with respect to the use-case, w
The controls used in the title bar are NSThemeWidgets and not your standard
button. It appears that many functions are overridden to control behavior.
Your best best is to hide the standard controls and place your own buttons
there. This is what I have done for my Inspector Panel.
Tony Romano
On 02/09/2010, at 9:35 AM, Graham Cox wrote:
>
> On 02/09/2010, at 5:32 AM, Fritz Anderson wrote:
>
>> Assume anything you see in iTunes, and don't see in the API, is a custom
>> implementation
>
>
> Isn't this a feature of Carbon? That supported side title bars on utility
> windows with ve
On 02/09/2010, at 5:32 AM, Fritz Anderson wrote:
> Assume anything you see in iTunes, and don't see in the API, is a custom
> implementation
Isn't this a feature of Carbon? That supported side title bars on utility
windows with vertical buttons, but Cocoa doesn't. I'm not sure if iTunes is
s
On Sep 2, 2010, at 5:28 AM, John C. Randolph wrote:
On Sep 1, 2010, at 8:15 PM, Eric E. Dolecki wrote:
Top left, the traffic lights have been turned to the vertical. Is
this
something new or was this easy to do before? Is it just a custom
implementation, or?
It's pretty easy to implement
36 matches
Mail list logo