> On 22 Oct 2016, at 23:26, Jens Alfke wrote:
>
>
>> On Oct 22, 2016, at 2:21 PM, Jean Suisse > <mailto:jean.li...@gmail.com>> wrote:
>>
>> I don’t know if it’s so irrelevant, because in the backtrace the swift code
>> calls -[NSURLDirectoryEnumer
> On 22 Oct 2016, at 23:15, Jens Alfke wrote:
>
>
>> On Oct 22, 2016, at 12:11 PM, Jean Suisse > <mailto:jean.li...@gmail.com>> wrote:
>>
>> To refine, what difference is there between ObjC’s
>> for (NSURL* file in enumerator)
>&
> On 22 Oct 2016, at 21:24, Quincey Morris
> wrote:
>
> On Oct 22, 2016, at 11:42 , Jean Suisse <mailto:jean.li...@gmail.com>> wrote:
>>
>> My app should get an access denied error (the enumerator should be nil for
>> instance). It shouldn’t crash.
&g
= [manager
enumeratorAtURL:directoryURL includingPropertiesForKeys:keys
options:NSDirectoryEnumerationSkipsSubdirectoryDescendants
errorHandler:^BOOL(NSURL *url, NSError *error){return true; }];
for (NSURL* file in enumerator)
{
}
> On 22 Oct 2016, at 21:11, Jean Suisse wro
16, at 11:42 AM, Jean Suisse wrote:
>>
>> To add a little more information: it happens when encountering any directory
>> that the user can’t read.
>> My app should get an access denied error (the enumerator should be nil for
>> instance). It shouldn’t crash.
>
To add a little more information: it happens when encountering any directory
that the user can’t read.
My app should get an access denied error (the enumerator should be nil for
instance). It shouldn’t crash.
> On 22 Oct 2016, at 20:37, Jean Suisse wrote:
>
> Well, I was afrai
Well, I was afraid of that.
Unfortunately, below is the smallest sample of code possible… still crashes.
Looks like I may have to check the directory rights before even attempting to
enumerate it.
Expected result in the present case is: “the while loop doesn’t run because the
directory isn’t ac
Dear Quincey,
Thank you for your reply. I have posted the code including the line below. It
got deleted by mistake.
Though it looks like I am trying to access "/.DocumentRevisions-V100/“, it is
not what I am trying to achieve.
At some point my app needs to enumerate user-selected directories.
Dear All,
Running the code below, I get EXC_BAD_INSTRUCTION error. My questions are:
1. Why ?
2. How can I prevent it ?
Best regards,
Jean
CODE
let directoryURL = URL(fileURLWithPath: "/.DocumentRevisions-V100/")
let manager = FileManager.default
let k
From what you write, that’s already what I do.
> Just as I thought. You're overloading the system by tightly coupling your
> model and your view. Let your instruments (models) do their work, and let
> your controller consult them when ready and update the view; don't use your
> controller to te
dating code like I suggested and you should see a significant change
> without a hack.
> --
> Gary L. Wade (Sent from my iPad)
> http://www.garywade.com/
>
>> On Sep 17, 2015, at 7:00 AM, Jean Suisse wrote:
>>
>> Thanks. But I already have one single timer dispat
> On 17 sept. 2015, at 14:58, Jean Suisse wrote:
>
> Thank you for this advice!
>
> My app has tabbed views that are implemented through the toolbar. When I
> switch view, some memory indeed gets released. Sometimes a little, sometimes
> way much more, but never everyt
> On 17 sept. 2015, at 16:00, Jean Suisse wrote:
>
> Thanks. But I already have one single timer dispatch source that updates all
> the UI only by transferring double / int values from instance variables to
> bound properties. The timer fires every second and causes the whole
Thanks for your reply.
If I understand you correctly, I am already doing all that by having one
updateUI function per instrument, which does:
self.myProperty = self->myStorageVariable
on every variables.
All updateUI selectors are sent to all instruments, at the same time, from the
main thread
>> Additionally, I was unable to find any leaks with Instruments (but I barely
>> know how to use it)
>
> Probably the next step would be to learn more about Instruments.
I was a little to harsh when I said that. I know everything I got from the WWDC
videos. But I need more practice. And more
Thanks for your reply.
>
> I don't see why you're using a strong reference from the weak reference
> inside your timer. You may be confusing ARC with that and your etc code.
> Change your code to just use weakself rather than strongself when calling
> updateUI. If there's a strong reference ne
6 sept. 2015, at 23:54, Quincey Morris
> wrote:
>
> On Sep 16, 2015, at 14:28 , Jean Suisse wrote:
>>
>> I thought of that at first, to solve the uncommitted CA transactions issues.
>> But the syntax is ugly.
>
> Sure, but in modern Cocoa programming it’s a st
> On 16 sept. 2015, at 18:58, Quincey Morris
> wrote:
>
> On Sep 16, 2015, at 04:00 , Jean Suisse wrote:
>>
>> Does anyone know what to try / measure / observe to get more clues?
>
> It seems you’re “losing” free memory fast enough for this to be visibl
eed the
> service running your experiment and collecting data to stay running even if
> the app displaying the results dies. When the user restarts the application
> it connects to the still running service.
>
> Kevin
>
> Sent from my iPad
>
>> On 16 Sep 2015, at
> But I agree that this all (meaning the contortions to get updates onto the
> main thread) seems like too much flash and not enough bang. The easiest way
> would be to dispatch the original update code in blocks onto the main thread
> asynchronously, thus serializing them and generating KVO no
Hi Jonny,
I also have a feeling the issue lies somewhere between the dispatch mechanism
and Core Animation. I have seen some funny things too. For instance, I can’t
run a serial queue for months. Some objects escape the autorelease pool created
in the block (and seemingly encompassing everythin
more clues?
Best Regards,
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the lis
>
> Thanks for the great PDFKit layout recipe on cocoa-dev, today!
>
> I've done a number of things with PDFKit, but not the type of layout you
> described.
>
> So now, if I ever need to, I'll have a path to follow :-)
>
> Gratefully yours,
> Joel
&g
the process ? Is there some kind of template system that I
can use, to visually build the document and define the position of the cotent?
Should I build a view, then print it ? Is it more efficient to work directly on
the pdf?
Thank you for your help,
Jean
---
Jean Suisse
Institut de
Actually, it sounds like it's available from the app store now.
Jean
On Oct 22, 2013, at 20:56 , Chris Hanson wrote:
> Until OS X Mavericks becomes available to everyone via the App Store, it's
> still under NDA. Once it's available it can be discussed here, until then it
> can't.
>
> -- Ch
ir "Europe" database dumped. In full. To the last bit of it.
Three major players within a few days. What are the odds?
On Jul 23, 2013, at 7:51 AM, Jean Suisse wrote:
> I believe we all got it. Personally, I'd rather like they take as much time
> as needed on this one.
>
I believe we all got it. Personally, I'd rather like they take as much time as
needed on this one.
Same happened to ubuntuforums.org (http://ubuntuforums.org/announce.html),
which is still down, except that it seems the attacker(s) got the as salted
hashes as well.
On Jul 22, 2013, at 2:59 AM,
Indeed. You're right. I can't log in.
Given their statement about expiring memberships, they are probably expecting
the maintenance to take a long while.
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
On Jul 21, 2013, at 4:23
-today-for-everyone
Have a nice sunday,
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
On Jul 21, 2013, at 4:10 PM, Laurent Daudelin wrote:
> Is it only me or has developer.apple.com and devforums.apple.com been
> inaccessib
formed on a regular up-to-date 10.8.3 MBP equipped with a
13" display.
>
> On May 21, 2013, at 3:44 PM, Jean Suisse wrote:
>
>> Have you tried replacing
>>
>> shadow.shadowBlurRadius = 1.0;
>>
>> With:
>>
>> shadow.shadowBlurRadius = 0.5;
&
Have you tried replacing
shadow.shadowBlurRadius = 1.0;
With:
shadow.shadowBlurRadius = 0.5;
It should work as expected.
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
On 22 mai 2013, at 00:11, Seth Willits wrote:
>
> Wh
On 15 mai 2013, at 17:59, Steve Mills wrote:
> On May 15, 2013, at 10:40:38, Jean Suisse wrote:
>
>> In one application I have to display a splash screen while a poorly written
>> framework (DAQmxBase from National Instruments) takes 6 to 11 seconds to
>> initialize i
ard to do?
>
> --
> Steve Mills
> office: 952-818-3871
> home: 952-401-6255
> cell: 612-803-6157
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
___
Cocoa-dev mailing list (Cocoa-
Right. I dispatch the block on the main thread to solve the reentrancy issues
as stated below. The serial queue is involved elsewhere.
On 15 mai 2013, at 16:12, Ken Thomases wrote:
> On May 15, 2013, at 8:58 AM, Jean Suisse wrote:
>
>> Thanks for your replies.
>> Unfortunate
so I wrote a little string
> transformer to strip out HTML tags and expand HTML entities. For more
> involved work you could use NSXMLParser (with the “tidy” option) to parse the
> HTML into a DOM and then walk through that.
>
> —Jens
--
ke this one, I too would
try to walk down the view hierarchy and send a setFont: message to any
responding view.
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
___
Cocoa-dev maili
:
> On May 7, 2013, at 5:37 PM, Jean Suisse wrote:
>
>> By any chance, could a call to [[NSAttributedString alloc]
>> initWithHTML:dataUsingEncoding:documentAttributes:] lead to the event loop
>> being run before the call returns?
>
> Yes, it can. Under the hoo
loop (took me some time to get that). Of course the callback isn't thread safe…
and never was designed to be since tied to the runloop. Until now...
Jean
On 8 mai 2013, at 00:40, Mike Abdullah wrote:
>
> On 7 May 2013, at 23:37, Jean Suisse wrote:
>
>> Dear all,
>>
Dear all,
I am wondering:
By any chance, could a call to [[NSAttributedString alloc]
initWithHTML:dataUsingEncoding:documentAttributes:] lead to the event loop
being run before the call returns?
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB
A few minutes search gave me this. While I haven't taken a deep look to these
resources, they do look good.
- What's a forward declaration ? (several languages including Obj-C)
http://en.wikipedia.org/wiki/Forward_declaration
- When to use a forward declaration (C++):
http://stackoverflow.com/qu
>> No, it's not overkill. If it seems like overkill to you, you should
>> re-evaluate your need to set "a few must-be-global preferences". Writing to
>> /Library/ *is* a *big* deal.
>
> Sure seems to me like signed package com.foo.bar should be able to write into
> /Library/Application Suppor
> On Mar 16, 2013, at 6:14 AM, Jean Suisse wrote:
>> To be user-friendly my app would need to use per-user preferences and global
>> preferences (i.e. that applies to all users). The former I can manage. The
>> later… well, short of coding a helper tool just for dea
>> Isn't resorting to a SMJobBless helper tool endowed with XPC capabilities
>> just for storing a few must-be-global preference a little overkill?
>
> No, it's not overkill. If it seems like overkill to you, you should
> re-evaluate your need to set "a few must-be-global preferences". Writin
> Normally for shared preference or data you would write to a shared file in
> /Library/Application Support/companyname/filename, but you have to take
> special care if you're sandboxing your app.
Indeed. It would seem this requires to be root.
> Never write into your application bundle. It wi
Thank you very much for your reply. It was really helpful.
Jean
> There is an other way to track the current user: using the
> SystemConfiguration framework notification:
>
> http://developer.apple.com/library/mac/#qa/qa1133/_index.html
>
> -- Jean-Daniel
>
>
>
>
___
Dear All,
To be user-friendly my app would need to use per-user preferences and global
preferences (i.e. that applies to all users). The former I can manage. The
later… well, short of coding a helper tool just for dealing with preferences
storage, I have no idea on how to proceed. I would rathe
Dear All,
There may be several approaches to solve the issue I am about to describe,
either on the userland side or on the kernel side... or in-between, using a
daemon.
Current situation
A bsd kernel extension communicates with a regular userland application (called
theApp). The kext gathers s
There is an article on code project that may be useful to you. Maybe you can
adapt the code to suit your needs ?
http://www.codeproject.com/Articles/9823/Detect-if-your-program-is-running-inside-a-Virtual
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
On 2 mars 2013, at 17:17, Kjell Nilsson wrote:
> Hi
>
> I am wondering if it is possible to detect if my Cocoa Application is running
> in a virtual machine like VMWare, Virtual
I am not taking any sides here, but rather just interested in the topic at hand
: Tracking object references.
I had met an issue once that I never solved, which did require me to track down
retain / release calls. What I did was to find in my code every explicit or
implicit (@property accessors
Well, there are session 205 & 219 of WWDC2012, but I think both are exclusively
about IOS6. Might be worth fast forwarding through them, thought.
Jean
On 15 févr. 2013, at 22:46, Rick Mann wrote:
> Are there any WWDC videos covering Cocoa Collection Views (not iOS Collection
> Views)? I just
e to use an english alphanumeric character set ?
Otherwise, how would you deal with this input for a variable name: 名前 ? [ If I
am a japanese user, I would expect your software to call the variable "namae" ].
IMHO the whole unicode character set is too large. Most language won't
ique
variable name to strings you can't translate (for instance the hex
representation of the bytes in the UTF8 string) ?
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
___
Cocoa-de
On 22 janv. 2013, at 18:34, Jean Suisse wrote:
>
>> myObj = [[myClass alloc] performSelector(@selector("initWithManager:")
>> withObject:self];
>>
>> Would this work?
>>
>
>
> You could do :
>
> id myObj =[myClass alloc];
&
> myObj = [[myClass alloc] performSelector(@selector("initWithManager:")
> withObject:self];
>
> Would this work?
>
You could do :
id myObj =[myClass alloc];
myObj = [myObj performSelector(@selector("initWithManager:") withObject:myObj];
___
Cocoa
On 22 janv. 2013, at 10:29, Graham Cox wrote:
> On 22/01/2013, at 7:50 PM, Jean Suisse wrote:
>
>> Thank you very much for your reply.
>> I can now print the right view. This view (Parent View) has only two large
>> custom subviews in which I display graphics.
>>
Suska wrote:
> On Jan 21, 2013, at 8:17 AM, Jean Suisse wrote:
>
>> I have a non-document based application to which I would like to add
>> printing support.
>> The main window (the one in the .xib created by default by Xcode) contains a
>> split view.
>>
&g
Answering a part of my question:
The menu item for printing needs to be re-wired to target the app delegate
rather than the first responder.
Now, I need to fix the page orientation and determine the size in points for
the rendering. Any ideas ?
On 21 janv. 2013, at 16:17, Jean Suisse wrote
Dear All,
I have a non-document based application to which I would like to add printing
support.
The main window (the one in the .xib created by default by Xcode) contains a
split view.
Currently, when printing, I get only the left pane of the split view (at best)
or the control that has the f
On 8 janv. 2013, at 00:24, Rick Mann wrote:
>
> On Jan 7, 2013, at 11:22 , Greg Parker wrote:
>
>> Note also that physics simulations will always need to be careful with the
>> error inherent to finite precision floating-point arithmetic. IEEE
>> specification of exact results for every opera
;
}
Best regards,
Jean
---
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments t
On 12 déc. 2012, at 13:02, Mike Abdullah wrote:
> Why does your code care if some unknown object is a block? This is a strong
> sign of a bad design.
As far as I am concerned, I can think of at least two or three legitimate
reasons to care wether an unidentified object is a block or not.
But
regarding how
to add thread-safety to Singleton (and similar constructs) such that the
resulting code is both reliable and efficient.
DCLP = Double-Checked Locking Pattern
Link: http://erdani.com/publications/DDJ_Jul_Aug_2004_revised.pdf
Jean
---
Jean Suisse
Institut de Chimie
On 22 oct. 2012, at 22:32, Jean Suisse wrote:
> Thank you very much for your reply.
> Indeed, calling invalidateShadow did the trick. Now I need to find a way to
> be notified when [[view animator] dosomething] completes, otherwise the
> shadow takes the shape of the windo
Thomases wrote:
> On Oct 22, 2012, at 2:07 PM, Jean Suisse wrote:
>
>> The issue:
>> If the NSPanel opens with theView visible, when hiding it, theView's shadow
>> remains.
>> If the NSPanel opens with theView hidden, when displaying theView, theView
>> d
Dear List,
I have an old transparent NSPanel, which shape is only defined by the painted
portion of the views it contains.
The NSPanel has the following attributes set:
ExcludedFromWindowsMenu:NO
BackgroundColor: [NSColor clearColor]
AlphaValue:1.0
HasShadow:YES
useOptimizedDrawing:YES
Opaque:NO
Thank you for your reply. I will try that.
Jean
On 22 oct. 2012, at 18:21, Mike Abdullah wrote:
>
> On 22 Oct 2012, at 16:54, Sean McBride wrote:
>
>> On Wed, 17 Oct 2012 13:38:45 +0200, Jean Suisse said:
>>
>>> My scientific cocoa app (10.6-10.8) records acqu
Thank you very much for this very clear explanation.
I will look for the APIS to perform #1 and #2.
Best regards,
Jean
On 18 oct. 2012, at 20:29, Seth Willits wrote:
> On Oct 18, 2012, at 4:04 AM, Jean Suisse wrote:
>
>> Thank you for your reply. I am not familiar with the top
Greetings, fellow developers on the lists,
My scientific cocoa app (10.6-10.8) records acquired data from devices and
store them in human-readable UTF8 text files that have specific extensions
(different from .txt). I have two questions related to file extensions, default
application, icons and
sometimes, autocompletion may not work.
Cheers,
Jean
On 15 sept. 2012, at 11:11, Steve Steinitz wrote:
> Hi Jean,
>
> On 15 Sep 12, at 6:12pm, Jean Suisse wrote:
>
>> There seem to be a pattern in you methods: they all contain the name of a
>> day of the week (mond
Hi Steve,
There seem to be a pattern in you methods: they all contain the name of a day
of the week (monday) and you want them for all days. Then you could use macros.
Example :
#define SYTNHESIZE_WHATEVER_BUNCH_OF_FUNCTION_FOR_DAY(dayName)
\
- (Shift *) dayName##Creat
t; I'll try that later.
>
> - Koen.
>
> On Thu, Sep 13, 2012 at 8:51 AM, Jean Suisse wrote:
>> It is the expected behavior, since the stacking of two partially transparent
>> objects leads to a less transparent set.
>> So I don't know what you want is
It is the expected behavior, since the stacking of two partially transparent
objects leads to a less transparent set.
So I don't know what you want is possible.
Are your lines straight ? If so, maybe you could try to draw one of them in two
segments, to avoid the intersection (beware of the anti
Hi,
Thank you for your reply.
Yes, I have been thinking for a long time that I should take a really good look
to bindings. I should invest some time in it.
Thank you for your help.
Cheers,
Jean
On 7 sept. 2012, at 11:00, Uli Kusterer wrote:
> Jean,
>
> I think your problem isn't the table,
Yes, I meant GCD. Sorry I missed the part where you told us about supporting
10.5 in your original message.
On 6 sept. 2012, at 20:55, Dan S wrote:
> if you meant using the grand central dispatch, i think that only became
> available in 10.6, I need to support this for 10.5
>
> On Thu, Sep 6
lView), the keypath (set by default to objectvalue, the key should be
here), the model object, set to MyTableCellView, an other keypath, set to
MyTextField.
On 6 sept. 2012, at 20:34, Jean Suisse wrote:
> Thank you for your reply.
>
>> Elaborate on "not letting me do that.&quo
Hi,
Fritz Anderson is right. We can only agree.
And recently, they made following Jens Alfke's advice incredibly easy.
Just post a block to one of the available dispatch queues (not the one running
on your main thread thought) and let it run its curse.
Jean
On 6 sept. 2012, at 16:36, Fritz A
Hello,
In the content view of the window of a freshly created NIB, I have a view-based
outline view. The file owner is set to be MyWindowController. The outlineView
is the standard, preconfigured setup, dragged from IB.
Now, I would like to modify the "default" views provided in this standard
s
worked for me)
Cheers
Jean
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
U.F.R. Sciences et Techniques, Bâtiment Mirande
Aile B, bureau 411
9, avenue Alain Savary — B.P. 47870
21078 DIJON CEDEX
T: +333-8039-9037
F: +339-7223-9232
E: jean.sui...@u
tually what you want.
> Also, the window could return YES from becomesKeyOnlyIfNeeded, and it should
> also work.
>
> -corbin
>
>
>
> On Aug 21, 2012, at 5:48 AM, Jean Suisse wrote:
>
>> Hello,
>>
>> I have an NSPanel window that contains an NSTa
Well, apparently Glen Low did post a similar question, back in 2007.
http://lists.apple.com/archives/cocoa-dev/2007/Jun/msg00897.html
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
U.F.R. Sciences et Techniques, Bâtiment Mirande
Aile B, bureau 411
9
lick will be required to select
the item. This two-click selection is inconvenient.
I have tried to answer yes to acceptsFirstMouse in the content view, the scroll
view, and the table view without success. Anyone knows how to deal with this ?
Best regards,
Jean
Jean Suisse
Institut de Chimie Mo
Hello,
In short :
Is there a way to be notified of any change in the status of control keys
(option, control, command, etc.) in a given NSWindowController, when another
window of the app has the focus ?
Long version (what I am trying to achieve) :
The app I am currently working on is a multipu
obile devices with limited power supply since it
further the reduces the amount of energy actually available for their operation
and drains their batteries.
Jean Suisse
Institut de Chimie Moléculaire de l’Université de Bourgogne
(ICMUB) — UMR 6302
U.F.R. Sciences et Techniques, Bâtiment Mirande
Ail
cript TeX-to-HTML rendering packages. Stack Exchange uses one for
> their Mathematics Q&A site that seems to work pretty well. However, note that
> it's not instant.
>
> -- Chris
>
> On Jul 2, 2012, at 8:55 AM, Jean Suisse wrote:
>
>> Dear all,
>>
Well, it seems that all paths leads towards Webkit and MathML… which
unfortunately requires some parsing / rewriting, even for simple equations…
Thank you Jens.
Best regards,
Jean
On 2 juil. 2012, at 18:45, Jens Alfke wrote:
>
> On Jul 2, 2012, at 8:55 AM, Jean Suisse wrote:
>
equation.
On 2 juil. 2012, at 18:23, Jean-Daniel Dupas wrote:
>
> Le 2 juil. 2012 à 17:55, Jean Suisse a écrit :
>
>> Dear all,
>>
>> I was wondering if there is a way to get the "pretty formatted" version of
>> an equation (from an NSString) t
t;
> -koko
>
> On Jul 2, 2012, at 9:55 AM, Jean Suisse wrote:
>
>> Dear all,
>>
>> I was wondering if there is a way to get the "pretty formatted" version of
>> an equation (from an NSString) to display within a view (similar to the way
>>
Dear all,
I was wondering if there is a way to get the "pretty formatted" version of an
equation (from an NSString) to display within a view (similar to the way
Graph.app displays it).
The question is open, any means is acceptable (if not too far-fetched).
I know I can get a .png version using
want to adjust the data model on your thread and then just say redraw.
>
> On Apr 27, 2012, at 3:42 PM, Jean Suisse wrote:
>
>> So if I understand you correctly alteration of the dataSource should always
>> be performed on the main thread.
>> [implied: because reques
there some way to prevent thread switching for a short time ? Do you know an
other way to deal with the present issue (alteration of the dataSource of an
NSTableView not performed on the main thread) ?
Jean
On 26 avr. 2012, at 21:47, Corbin Dunn wrote:
>
> On Apr 26, 2012, at 3:23 AM,
Dear Peter,
Thank you for your reply. Here is the requested code (see below).
After more investigations, I would like to take back a previous statement, that
the tableview was perfectly aware that the number of rows in the DS was
changed. This is due to my inexperience in stepping through the c
Hi All,
I have an NSTableView whose DataSource and delegate is a custom controller
holding an NSMutableArray
(containing a list of "Task/job" objects).
The tableView is used to display "Tasks" waiting to be executed. When
activated, the "Task" is requested to post its blocks on a serial queue
Hi !
Well, I am no expert, so I can't answer your question.
But I do have a suggestion (fix): have you tried loading your QuickTime movie
on an other thread, and then attaching it to your main thread ? (you have to
detach it first).
Jean
On 11 janv. 2012, at 21:56, Mark Woods wrote:
> Does a
94 matches
Mail list logo