On 15 Sep 2010, at 06:09, Shane Stanley wrote:
> On 15/9/10 12:29 PM, "Keary Suska" wrote:
>
>> Checkboxes aren't edit controls, they are buttons, and to my knowledge don't
>> even have an "editable" property (even though the table column has such a
>> binding). To prevent changing a button stat
1. When I build the Apple Sample Code GLES2Sample (for iOS 4.1) in Xcode 3.2.4
for the Device with "Run Static Analyzer" checked the analyser tells me about
destroyShaders() in Shaders.m that "the value stored to vertShader is never
read".
The Apple code is:
/* delete shader resources */
void
On 15 Sep, 2010, at 02:11, jonat...@mugginsoft.com wrote:
> On 15 Sep 2010, at 06:09, Shane Stanley wrote:
>
>> On 15/9/10 12:29 PM, "Keary Suska" wrote:
>>
>>> Checkboxes aren't edit controls, they are buttons, and to my knowledge don't
>>> even have an "editable" property (even though the tab
On Wed, Sep 15, 2010 at 4:29 AM, Keary Suska wrote:
>
> On Sep 14, 2010, at 5:59 PM, Shane Stanley wrote:
>
>> I have a table view using Cocoa bindings, and all columns have editable
>> turned off in the Attributes panel. However one column, which contains a
>> checkbox cell, steadfastly remains e
Hi there,
can someone confirm me there is no way to increase the size of a round NSSlider
beyond what is provided by the "regular" choice?
Thanks a lot,
Vincent___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests o
What part does the column Z_OPT play in Core Data sqlite table? I can't seem to
find much reference to it on the net.
Thanks.___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
C
On 15/9/10 7:11 PM, "jonat...@mugginsoft.com"
wrote:
>> Thanks. I guess it boils down to the fact that a checkbox is a bad choice
>> for just showing a binary state in a table.
> Checkbox sounds fine to me for this purpose.
>
> What about the NSTableColumn enabled binding?
Yes, that works. It j
In NSEntityMigrationPolicy Class Reference, I read:
beginEntityMapping:manager:error:
Invoked by the migration manager at the start of a given entity mapping.
endEntityMapping:manager:error:
Invoked by the migration manager at the end of a given entity mapping.
Simple enough. However, I find th
Hi everyone,
Once again we are expanding our Mac team at Skype and looking for
skilled Cocoa developers. Please see the detailed description below:
The Brief:
Skype is software that enables the world's conversations. Millions of
individuals and businesses use Skype to make free video and voice
c
I have an indexing process which runs on a background thread and indexes into a
CoreData database. I experienced some odd crashes until I properly read the
documentation and understood that sharing an NSManagedObjectContext across
threads was a bad idea, and I've fixed the code so that the index
On Wed, 15 Sep 2010 02:45:27 -0700, Michael Watson said:
>If he means that the checkbox would never be toggleable under any
>circumstances, and that it's purely to *indicate* state and not
>*control* state, that's the wrong use for a checkbox button. A custom
>indicator that doesn't look like it c
On Tue, 14 Sep 2010 15:34:41 +0100, Jonathan Guy said:
>I was under the impression that if you compile GC in supported mode it
>was capable of loading code with or without GC?
Not 'loading' but 'being loaded by'. If you build a lib as 'supported',
it can be linked to by an app that is GC or not.
Hi everybody,
I'm trying to rotate a drawing made up of multiples contiguous CALayers, each
one sublayer of a CAScrollLayer superlayer. If I set up an affine transform in
the scroll layer, which seems the only practical way to do a global rotation of
all sublayers, I get very strange results: t
On Sep 15, 2010, at 2:45 AM, Michael Watson wrote:
>
> If he means that the checkbox would never be toggleable under any
> circumstances, and that it's purely to *indicate* state and not *control*
> state, that's the wrong use for a checkbox button. A custom indicator that
> doesn't look like
On Sep 14, 2010, at 9:42 PM, James Miller wrote:
> With Apple recommending block-based animation of UIImageViews, I'm not quite
> grasping how to take older frame-by-frame animation code like this:
>
> NSArray *playerImagesRight = [NSArray arrayWithObjects: [UIImage
> imageNamed:@"p1.png"], [UI
On 2010 Sep 15, at 07:02, Roland King wrote:
> Checking the documentation for NSNotificationCenter however I see that the
> notifications are processed in the thread in which they were sent, that of
> course will be my indexing thread and that's exactly what I was trying to
> avoid, updating c
On Sep 15, 2010, at 2:11 AM, Gerriet M. Denkmann wrote:
> 1. When I build the Apple Sample Code GLES2Sample (for iOS 4.1) in Xcode
> 3.2.4 for the Device with "Run Static Analyzer" checked the analyser tells
> me about destroyShaders() in Shaders.m that "the value stored to vertShader
> is nev
On Sep 15, 2010, at 8:36 AM, Kyle Sluder wrote:
> On Sep 15, 2010, at 2:45 AM, Michael Watson wrote:
>
>>
>> If he means that the checkbox would never be toggleable under any
>> circumstances, and that it's purely to *indicate* state and not *control*
>> state, that's the wrong use for a che
I do this in awakeFromNib (self is subclass of NSOutlineView);
[self registerForDraggedTypes:[NSArray
arrayWithObjects:NSDragPboard,nil]];
I implement in the data source:
- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray
*)items toPasteboard:(NSPasteboard *)pboard {
Fi
On Sep 15, 2010, at 10:35 AM, k...@highrolls.net wrote:
> items is an array of pointers to my outline view items ... how do I put them
> on the pboard?
If they're property list items, you can put them directly onto the pasteboard.
If they're not, then you should archive them. Implement NSCodin
I wrote a simple project to show basic drag-and-drop in an NSOutlineView,
available here:
http://davedelong.com/downloads
HTH,
Dave
On Sep 15, 2010, at 10:35 AM, k...@highrolls.net wrote:
> I do this in awakeFromNib (self is subclass of NSOutlineView);
>
> [self registerForDraggedTypes:[NSAr
I've been spending some time searching and thinking about how I can make a
bookmark bar like in Safari or Firefox. It has some of the characteristics of
a toolbar especially when the window is small it puts the remaining toolbar
items in a drop-down menu but it also has some of the properties o
Word up to Nick and Dave ...
All my issues were because in writeItems:toPasteboard I wasn't doing
anything ... I was just trying to stub in code to get the process.
Ergo, upon doing
[pboard declareTypes:[NSArray arrayWithObject:@"HTREEITEM"]
owner:self];
[pboard setData:[NSData d
Great. That helps. So can you point me to a technical note with an overview
and/or examples of the new block based animations?
On Sep 15, 2010, at 9:56 AM, David Duncan wrote:
> On Sep 14, 2010, at 9:42 PM, James Miller wrote:
>
>> With Apple recommending block-based animation of UIImageViews,
On Sep 14, 2010, at 7:36 PM, k...@highrolls.net wrote:
> what do i need to implement so I can drag item within an NSOutline View?
http://developer.apple.com/library/mac/#samplecode/DragNDropOutlineView/Introduction/Intro.html
-jcr
___
Cocoa-dev mail
On Sep 14, 2010, at 7:36 PM, k...@highrolls.net wrote:
> what do i need to implement so I can drag item within an NSOutline View?
http://developer.apple.com/library/mac/#samplecode/DragNDropOutlineView/Introduction/Intro.html
-jcr
___
Cocoa-dev mail
Probably a combination of the docs and the WWDC session on UIKit Animations
(can't recall the session number off hand).
On Sep 15, 2010, at 11:38 AM, James Miller wrote:
> Great. That helps. So can you point me to a technical note with an overview
> and/or examples of the new block based animat
I'm trying to add some custom font support to an iPad app and I keep running
into a spinlock from CGContextSelectFont.
Happens on SDK 4.0 Simulator and Device running 3.2.2. I've narrowed down the
code to:
CGContextRefcontext = CGBitmapContextCreate(&data, 1, 1, 8,
4, CGCo
Apparently the "font system" was not initialized before this call. Putting a
"[UIFont familyNames]" somewhere previous causes things to roll just fine.
I should mention that this is an OpenGL based app with minimal other system UI.
-Stevo Brock
Head of Development
Monkey Tools, LLC
www.monke
On Sep 15, 2010, at 4:11 PM, Stevo Brock wrote:
> Apparently the "font system" was not initialized before this call. Putting a
> "[UIFont familyNames]" somewhere previous causes things to roll just fine.
>
> I should mention that this is an OpenGL based app with minimal other system
> UI.
>
http://www.informit.com/articles/article.aspx?p=1211756&seqNum=5
http://lapcatsoftware.com/blog/?s=without+a+nib
http://lapcatsoftware.com/blog/2007/05/16/working-without-a-nib-part-1/
http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-recent-menu/
http://forums.macrumors.c
Hi Vince,
The details of the parameters to the function aren't important. The specific
example I gave has been reduced down from some other code. In the end I'm not
using Comic Sans, but it will come from an NSString.
The point is that calling CGContextSelectFont() before doing some other
un
Since I didn't see the actual backtrace, I cannot comment on what could be
causing a spin lock deadlock.
One glaring point I'm concerned with this example is that the font name being
passed to CGContextSelectFont is incorrect.
All of our font APIs, both on Mac OS X and iOS, are expecting the po
Hi Aki,
Thanks for your reply. Unfortunately changing the font name to the Postscript
name does not change the situation.
And also unfortunately, when I click Pause in the Debugger, the stack trace I
gave is all that is shown. If there is a way to get a more complete stack
trace, please let
On Sep 15, 2010, at 5:22 PM, Stevo Brock wrote:
> And also unfortunately, when I click Pause in the Debugger, the stack trace I
> gave is all that is shown. If there is a way to get a more complete stack
> trace, please let me know.
Is there anything releted-looking going on in another thread?
Nothing related at all going on.
-Stevo
On Sep 15, 2010, at 5:30 PM, Wim Lewis wrote:
>
> On Sep 15, 2010, at 5:22 PM, Stevo Brock wrote:
>> And also unfortunately, when I click Pause in the Debugger, the stack trace
>> I gave is all that is shown. If there is a way to get a more complete st
On Wed, Sep 15, 2010 at 5:53 PM, Stevo Brock wrote:
> Nothing related at all going on.
It still might be useful to get a backtrace across all threads
("thread apply all bt").
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Here goes:
Thread 15 (process 98336):
#0 0x95a46086 in select$DARWIN_EXTSN ()
#1 0x02e968ce in __CFSocketManager ()
#2 0x95a5481d in _pthread_start ()
#3 0x95a546a2 in thread_start ()
Thread 13 (process 98336):
#0 0x95a270fa in mach_msg_trap ()
#1 0x95a27867 in mach_msg ()
#2 0x02e66052 in
Last week I found that an app would crash if I displayed a modal dialog in
-applicationWillFinishLaunching (note: *Will*), *and* *then* ran a modal
session on a window in -applicationDidFinishLaunching: (note: *Did*).
I've now reproduced it in a very simple demo, shown below. Why does this cras
On Wed, Sep 15, 2010 at 6:07 PM, Jerry Krinock wrote:
> - (void)applicationWillFinishLaunching:(NSNotification*)aNotification {
> NSRunAlertPanel(@"Hello",
> @"A crash is coming soon.",
> @"OK",
> nil,
> nil) ;
> }
The
I want a key down in a view to be handled by keyDown:theEvent in a
different view. How is this accomplished?
-koko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact t
On 2010 Sep 15, at 18:58, Kyle Sluder wrote:
> There's no runloop running yet when -applicationWillFinishLaunching:
> is called…
Thank you, Kyle. Good explanation.
> Among other things, AppKit's automatically-installed autorelease pool hasn't
> been installed yet,
> Then NSRunAlertPanel is goi
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html
See NSResponder or, in UIKit, UIResponder
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/EventHandlingBasics/EventHandlingBasics.html%23//a
On Wed, Sep 15, 2010 at 7:11 PM, Jerry Krinock wrote:
> Anything that I want to happen before a document opens, in case the app is
> launched by doubleclicking a document.
I think the right pattern to use here would be to set a flag in
-applicationDidFinishLaunching: or some later point. Until t
On Sep 15, 2010, at 7:30 PM, Kyle Sluder wrote:
> On Wed, Sep 15, 2010 at 7:11 PM, Jerry Krinock wrote:
>> Anything that I want to happen before a document opens, in case the app is
>> launched by doubleclicking a document.
>
> I think the right pattern to use here would be to set a flag in
>
I have been having problems calling my Cocoa app with Python scripts
through the Scripting Bridge. To test further, I wrote the following
Cocoa code to use the Scripting Bridge. For a large file (over 7000
elements in the SBElementArray recs variable) it runs smoothly until
77% completion a
Have you profiled the thread that's stopped/paused? What does its stack
trace look like?
Have you verified that the problem isn't that 'GEDitCOMII' isn't responding?
Also, if you're not using GC, consider profiling your loop with and without
each iteration allocating/releasing an autorelease pool
47 matches
Mail list logo