I have a function like macro:
#define DBDispatchMonoEvent(KLASS, NAME) \
do { \
[DBManagedEvent dispatchEventFromMonoSender:monoSender \
eventArgs:monoEventArgs \
targetClass:[KLASS class] \
On 17 Mar 2014, at 14:51, Reinhard Segeler wrote:
> Check the project "DatePicker" in the documentation. It should allow you,
> solving your problem.
>
The textual pickers in the example project display as dd/mm/. So no
solution that I can see.
J
_
Is it correct that a textual NSDatePicker can only display dates in short
format ( dd/mm/ )?
Attaching a date formatter and setting say a long date format seems to have no
effect.
Jonathan
___
Cocoa-dev mailing list (Cocoa-dev@lists.
On 11 Mar 2014, at 18:09, Uli Kusterer wrote:
> On 11 Mar 2014, at 17:12, jonat...@mugginsoft.com wrote:
>> There is WebView -drawsBackground but this has no disernable effect.
>
> That property is for the case where you want a transparent webview on screen.
>
>> T
> On 11 Mar 2014, at 16:03, Jens Alfke wrote:
>
>>
>> On Mar 11, 2014, at 8:55 AM, jonat...@mugginsoft.com wrote:
>>
>>> However, the pdf rendering is missing some simple div background colouring
>>> (like alternating backgrounds on table rows).
On 11 Mar 2014, at 16:03, Jens Alfke wrote:
>
> On Mar 11, 2014, at 8:55 AM, jonat...@mugginsoft.com wrote:
>
>> However, the pdf rendering is missing some simple div background colouring
>> (like alternating backgrounds on table rows).
>
> When I print from S
I create local mustache template driven HTML content and display it in my OS X
10.9 app using WebView.
I get the WebView PDF representation like so:
NSView *webDocumentView = [[[self.webView mainFrame]
frameView] documentView];
NSData *pdfData = [webDocumentView dataWithPDFInsideRect:webDocume
I require to use NSDecimalNumber extensively.
When creating NSDecimalNumbers it is advised not to use the NSNumber subclass
initWithXXX methods:
http://www.cocoabuilder.com/archive/cocoa/227178-question-on-estimating-arraywithcapacity.html#227253
I presume that this still applies.
To me it would
On 9 Mar 2014, at 04:08, Jens Alfke wrote:
>
> Is there some setting I’ve overlooked that will give the toolbar this visual
> style without my having to wrap all the items? Or is this really the way to
> do it?
>
Unfortunately I think this is the case.
What I have done in the past is to cre
On 6 Mar 2014, at 15:34, Mike Abdullah wrote:
>
> On 6 Mar 2014, at 15:30, William Squires wrote:
>
>> Can an ObjC protocol be inherited by another protocol? I know the syntax for
>> regular (class) inheritance, and for specifying that a class implements a
>> protocol, but what's the syntax
On 4 Mar 2014, at 21:27, Daniel Luis dos Santos wrote:
> Hello all,
>
> I have a test case where I would like to launch a UI. I have a NIB with a
> window that I load through code in the test case. Here goes the code :
>
> - (void)testExample
> {
> NSArray* topLevelWidgets = nil;
>
> NSB
On 3 Mar 2014, at 19:23, Kyle Sluder wrote:
> But Jonathan, why are you even exposing raw C pointer access to the
> identifiers in the first place? Why wouldn't you convert them to
> NSStrings and only expose them to Objective-C code that way?
>
Jens sort of nailed it.
The underlying Mono API i
On 3 Mar 2014, at 15:19, Daniel DeCovnick wrote:
> But, assuming for the moment that you have a really good reason for such a
> Cocoa-unfriendly API:
>
> “UTF8Name" is highly specific. I’d first consider what your source encoding
> is (both of the strings that are likely to be passed to this
I am pondering the following framework public API method signatures.
The API requires a mixture of const char* and NSString * parameters.
The question is whether to precede const char * parameter names with UTF8 e.g.:
+ (MonoClass *)monoClassWithName:(char *)className fromAssemblyName:(const cha
On 3 Mar 2014, at 09:47, Graham Cox wrote:
>
>
>> IAC, I don’t think it’s exactly about whether initWithCoder returns nil.
>> Surely it’s about the fact that decoding a NSArray can’t deal with a nil
>> element, since it can’t be inserted into the array. Simply dropping nil
>> elements doesn
On 25 Feb 2014, at 21:38, Greg Parker wrote:
> On Feb 25, 2014, at 6:42 AM, jonat...@mugginsoft.com wrote:
>> I have an NSString subclass as below.
>> If the subclass doesn’t respond to a given selector I want to forward the
>> selector to another object.
>>
>>
I have an NSString subclass as below.
If the subclass doesn’t respond to a given selector I want to forward the
selector to another object.
What is the best way to declare the interfaces for DBManagedString and
DBManagedObject?
Should I declare a DBManagedObject protocol in which all the method
On 23 Feb 2014, at 13:15, Graham Cox wrote:
>
> Either that or a custom class would actually require very little effort -
> probably less than the typing in this discussion so far anyway!
>
It actually takes a bit more effort to subclass NSNumber than it does to talk
about not doing it!
Gr
On 23 Feb 2014, at 10:05, Graham Cox wrote:
>
> You might find it happens to work today but it is not contracted to do so
>
I agree that there is some uncertainty going forward.
Part of the issue I think is in the nature of class clusters.
We rely on the behaviour of an unspecified collection
On 23 Feb 2014, at 00:07, Graham Cox wrote:
> NSNumber's can be slippery buggers, in my experience.
Won’t disagree with that.
>
> Why are you so determined that you must use NSNumber, rather than your own
> class? You haven't adequately explained why that isn't a good solution, as it
> certai
On 22 Feb 2014, at 15:32, Ken Thomases wrote:
>>
>
> NSDecimalNumber can represent values that are outside of the range of
> doubles. So, _some_ NSDecimalNumber instances _may_ return "d" for double,
> but others definitely won't.
>
I don’t think so.
It is possible that this behaviour could
On 22 Feb 2014, at 16:55, Jens Alfke wrote:
> But there's already a fully functional ObjC<->C# bridge in Mono, isn’t there?
> I know that’s what MonoTouch for iOS is based on. Doesn’t it already handle
> bridging of NSDictionaries to C# Maps?
>
The MonoTouch bindings are from C# to Cocoa.
So
On 22 Feb 2014, at 14:27, Jonathan Hull wrote:
> I think the main objection everyone has is that they believe (as did I) that
> -getValue: is actually returning the internal representation of the object.
That is a very pertinent point that we haven’t mentioned.
-getValue: populates a pointer t
On 22 Feb 2014, at 08:32, Ken Thomases wrote:
> There's no one representation of an NSNumber's content.
I think that this is the foundation of things.
What there is is a reported representation as given by -objCType.
The docs say, as I am sure you know:
“
NSNumber
objCType
Returns a C string
On 22 Feb 2014, at 00:12, Ken Thomases wrote:
> On Feb 21, 2014, at 3:17 PM, jonat...@mugginsoft.com wrote:
>
>> So I want to be able to send the same message to any class and get an
>> appropriate void* pointer.
>
> There's no one representation of its conte
On 21 Feb 2014, at 19:07, Fritz Anderson wrote
> int five = [@((int)5) intValue];
> SomeMonoCall("here's two more than three: ", &five);
The above is basically correct - note that I edited it a bit.
A basic point here is that you cannot take the address of an rvalue like so
&[@((int)5) intVal
I require an pointer to the value represented by an NSNumber.
No interior pointer exists as the class is immutable.
My best attempt, a category that shadows the represented value, is as follows
though I am wondering if I have missed a trick somewhere.
NSNumber uses tagged pointers and my unit te
On 18 Feb 2014, at 01:48, Rob Nikander wrote:
> Hi,
>
> Last year I did some work in Cocoa and discovered that the auto layout
> stuff was not completely supported in some common AppKit classes. I
> remember having problems with NSScrollView and NSOutlineView. This message
> talks in detail abou
On 14 Feb 2014, at 20:32, Antonio Nunes wrote:
> On 14 Feb 2014, at 15:09, jonat...@mugginsoft.com wrote:
>
>> PDFPage has two declared initialiser methods:
>>
>> - init
>> - InitWithImage:(NSImage *)image
>>
>> When creating a PDFDocument w
PDFPage has two declared initialiser methods:
- init
- InitWithImage:(NSImage *)image
When creating a PDFDocument with -initWithURL: neither of the above are called
on my PDFPage subclass.
A bit of digging reveals that what is called is the undocumented:
- (id)initWithPageRef:(id)pageRef
This
NSPDFPanel can display an accessory view.
Is there any way to validate the accessory view input prior to closing the
panel?
In my case the user can can specify that a password should be required when
opening the resultant PDF.
I want to prevent the panel closing when the password requirement ha
On 12 Feb 2014, at 00:49, Seth Willits wrote:
>
> This is one of those topics I thought about 6 years ago, came across a decent
> easy-to-use solution that has worked fine so I've never really had to think
> about it again. Until today.
>
> All the way back to when NSViewController was added
On 30 Jan 2014, at 11:53, Rui Pacheco wrote:
>
> And isn’t all this message passing pretty much the same as calling methods in
> classes, just like you’d do in Java, C# or C++?
I would say that message sending is very different indeed:
https://developer.apple.com/library/ios/documentation/co
On 30 Jan 2014, at 00:42, Jens Alfke wrote:
>
> Anyone exposing a C++ API in a dynamic library is nuts, IMHO.
What is it that makes C++ so unsuited to code sharing?
Objective-C has great clarity of purpose (send a guy a message) and openness.
Perhaps this is what makes it a great base for bu
On 14 Jan 2014, at 09:42, Charles Srstka wrote:
> On Jan 14, 2014, at 3:19 AM, jonat...@mugginsoft.com wrote:
>
>> The only problem with retaining it is the extra complexity involved in
>> integrating the static library build into the project and upgrading the
>> sou
ibrary that is not included as a
submodule so a quick out of the box evaluation isn’t available.
Neither this code nor the original look thread savvy - they both persist the
contract state in a static variable.
>
> On 22 Jan 2014, at 12:37, Jens Alfke wrote:
>
>> On Jan 22, 20
Does anyone regularly use design by contract in their Cocoa apps?
At present I often make use of NSAssert() et al to validate method inputs as a
passing nod to design by contract, but that’s it.
I know there are some macros available, http://www.roard.com/contracts/, but I
haven’t experimente
On 14 Jan 2014, at 20:44, Charles Srstka wrote:
> On Jan 14, 2014, at 1:09 PM, Jens Alfke wrote:
>
>> On Jan 14, 2014, at 9:37 AM, Jean-Daniel Dupas
>> wrote:
>>
>>> Just in case it was not mentioned in the thread, SecTransform supports RSA.
>>> You can use SecEncryptTransformCreate() with
On 14 Jan 2014, at 09:42, Charles Srstka wrote:
> On Jan 14, 2014, at 3:19 AM, jonat...@mugginsoft.com wrote:
>
>> The only problem with retaining it is the extra complexity involved in
>> integrating the static library build into the project and upgrading the
>> sou
On 9 Jan 2014, at 22:03, Kyle Sluder wrote:
> On Thu, Jan 9, 2014, at 01:54 PM, jonat...@mugginsoft.com wrote:
>>
>>
>> What is the best approach for generating fixed format report documents in
>> Cocoa?
>>
>> My thoughts:
>
> This is exact
On 13 Jan 2014, at 22:09, Kyle Sluder wrote:
> On Jan 13, 2014, at 1:57 PM, Jens Alfke wrote:
>>
>>
>>> On Jan 13, 2014, at 1:40 PM, Kyle Sluder wrote:
>>>
>>> Unfortunately, SecKey{Encrypt,Decrypt} are not available on OS X.
>>
>> Oh crap, is this thread about OS X? I misremembered it as b
I am trying to wean my app off libcrypto via security.framework and common
crypto.
My last dependency is on RSA.
Is there an alternative non openssl api or will I have to pursue linking a
static instance of libcrypto?
Thanks
Jonathan
___
Cocoa-d
I am trying to wean my app off libcypto via security.framework and common
crypto.
My last dependency is on RSA.
Is there an alternative non openssl api or will I have to pursue linking a
static instance of libcypto?
Thanks
Jonathan
__
On 10 Jan 2014, at 13:47, Arjun SM wrote:
> Hi all,
>
> I am having a crash issue when i am trying to set the dictionary for
> persistent domain.
>
> *Scenario*
>
> When user logs in to my application, my app receives a few settings from a
> server which is updated to NSMutableDictionary.
> A
> Thanks!
>
> Peter
>
> ___
>
> 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
>
Windows WPF has a fixed format document API. Its documentation states:
Fixed documents are intended for applications that require a precise "what you
see is what you get" (WYSIWYG) presentation, independent of the display or
printer hardware used. Typical uses for fixed documents include desktop
[20716:303] Unable to simultaneously satisfy
constraints:
(
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
WWDC 2013 Session Video 213: Best Practices for Cocoa animation briefly
describes embedding an NSStackView in an NSScrollView.
The commentary mentions in passing that the NSClipView instance must use
flipped co-ordinates.
Why?
Is this a general requirement for using auto layout subviews in an NSS
_
>>>
>>> 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
>>>
>>&g
On 28 Oct 2013, at 20:35, jonat...@mugginsoft.com wrote:
> On 28 Oct 2013, at 17:52, Gerd Knops wrote:
>
>> In Interface Builder text fields you can use "Value with Pattern" to combine
>> multiple properties into a single output. Alternatively in code you ca
On 28 Oct 2013, at 17:52, Gerd Knops wrote:
> In Interface Builder text fields you can use "Value with Pattern" to combine
> multiple properties into a single output. Alternatively in code you can do
> something like this:
>
> - (NSString *)fullName {
>
> return [NSString stringWi
Has anyone any suggestions for how to implement something similar to XAMLs
MultiBinding class?
Essentially this enables multiple bindings to be combined through a transformer
to produce the final view output.
http://msdn.microsoft.com/en-us/library/system.windows.data.multibinding.aspx
On 26 Oct 2013, at 21:28, jonat...@mugginsoft.com wrote:
> On 25 Oct 2013, at 10:58, jonat...@mugginsoft.com wrote:
>
>> Value transformers applied to NSPopupButton have some idiosyncrasies.
>> http://stackoverflow.com/questions/12505764/nspopupbutton-bindings-with-value-tr
On 25 Oct 2013, at 10:58, jonat...@mugginsoft.com wrote:
> Value transformers applied to NSPopupButton have some idiosyncrasies.
> http://stackoverflow.com/questions/12505764/nspopupbutton-bindings-with-value-transformer
>
> I have applied a transformer to an NSPopupButton co
Value transformers applied to NSPopupButton have some idiosyncrasies.
http://stackoverflow.com/questions/12505764/nspopupbutton-bindings-with-value-transformer
I have applied a transformer to an NSPopupButton content values binding but the
IB configured transformer does not seem to be applied.
I
Keary
On 25 Oct 2013, at 00:21, Keary Suska wrote:
> On Oct 24, 2013, at 9:01 AM, jonat...@mugginsoft.com wrote:
>
>> Have I missed something or is access to a decent NSFormatter subclass to
>> handle NSTextField string length limiting troublesome?
>>
>> I am
Dmitriy
On 24 Oct 2013, at 16:41, Dmitriy Balakirev wrote:
> For limiting text in NSTextField this works well: (_limit == 5, 30, etc.)
>
> - (BOOL)isPartialStringValid:(NSString *__autoreleasing *)partialStringPtr
> proposedSelectedRange:(NSRangePointer)proposedSelRangePtr
>
Have I missed something or is access to a decent NSFormatter subclass to handle
NSTextField string length limiting troublesome?
There is some form on this:
http://stackoverflow.com/questions/827014/how-to-limit-nstextfield-text-length-and-keep-it-always-upper-case/827598#827598
http://www.coc
In my document app I prompt users to save when switching views via:
NSDocument -canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo
I can call this once successfully after which I receive a sheet saying:
This document’s file has been changed by another application since you opened
or sav
On 21 Oct 2013, at 16:19, Darren Wheatley wrote:
> Hi,
>
> I have a custom subclass of NSTableView in my app.
>
> Can anyone suggest a method that will allow me to set a custom highlight
> colour on on a row when the user clicks on it?
>
> I've Googled for a solution, but haven't been able to
On 21 Oct 2013, at 06:01, Seth Willits wrote:
> On Oct 19, 2013, at 9:27 AM, Jerry Krinock wrote:
>
>> That's interesting and I've never seen it done.
>>
>> I'd call it a variation of writing custom accessors for each attribute.
>> Custom accessors for each attribute have the advantage of rel
On 19 Oct 2013, at 03:58, Jerry Krinock wrote:
>
> In Core Data documents, I ignore -[NSDocument isDocumentEdited] and instead
> use
> -[NSManagedObjectContext hasChanges].
>
> "In OS X v10.6 and later, this property is key-value observing compliant."
>
Unfortunately I am not using CoreData
On 18 Oct 2013, at 19:49, Seth Willits wrote:
>
> That said, it would probably mostly work, but it's not always guaranteed to
> be bulletproof because those keys could also be influenced by private
> methods.
My instincts agree.
I will suck it and see.
I don't really want to have to re-im
Twice recently I have found myself tinkering with NSDocument et al to support
observing of certain values.
For example, NSDocument -isDocumentEdited is not seemingly KVO compliant.
-isDocumentEdited status is driven by -updateChangeCount: so
in MYDocument : NSDocument the override is::
- (void)
On 17 Oct 2013, at 19:35, Trygve Inda wrote:
>
> How can I tie the selected index to the Identifier (67897 instead of
> "Hello") since the Identifier will not change?
>
> I don't want to bind the Selected Index to a selection in the NSArray
> Controller, but do want to be able to change the Nam
Is anyone aware of any open source alternatives to NSToolbar?
I have looked in the usual places and turned up nothing.
I need to use InAppStoreWindow to customise the window title bar.
That and the requirement for a ribbon-esque style toolbar exclude using
NSToolbar.
Jonathan
On 9 Oct 2013, at 05:32, Keary Suska wrote:
> On Oct 8, 2013, at 3:25 PM, Lee Ann Rucker wrote:
>
>>
>> On Oct 8, 2013, at 1:59 PM, jonat...@mugginsoft.com wrote:
>>>>
>>>>
>>> -tag and -identifier both have the advantage of being ac
On 8 Oct 2013, at 21:54, Lee Ann Rucker wrote:
>
> On Oct 8, 2013, at 1:47 PM, jonat...@mugginsoft.com wrote:
>
>> The NSControl -tag property can be used to identify an action sender.
>>
>> Can the NSUserInterfaceItemIdentification protocol property -identifier
The NSControl -tag property can be used to identify an action sender.
Can the NSUserInterfaceItemIdentification protocol property -identifier be
safely used for the same purpose?
It was introduced to support window restoration.
The docs apply several caveats with regard to the identifier:
https
On 8 Oct 2013, at 17:40, Seth Willits wrote:
> On Oct 8, 2013, at 8:40 AM, jonat...@mugginsoft.com wrote:
>
>> My intention is track the status of my top level view controllers and
>> insert/remove these as required in the responder chain between the window
>> a
I am building an OS X NSDocument app with a fairly complex view hierarchy and
want to interpose my view controllers into the responder chain (this I can do).
Some of the displayed views will feature just a button (to enable creation of a
new object).
This means that the first responder will be th
On 5 Oct 2013, at 12:28, Jim Elliott wrote:
> An odd thing is happening when I invoke the NSAlert method
> beginSheetModelForWindow:modalDelegate:didEndSelector:conextInfo. It seems
> that the method returns before calling and returning from the didEndSelector.
>
This is not odd, its expect
On 4 Oct 2013, at 21:52, Kyle Sluder wrote:
> On Fri, Oct 4, 2013, at 01:31 PM, jonat...@mugginsoft.com wrote:
>> I have a fixed size custom OS X view that I load from a nib and want to
>> centre within a host view using auto layout.
>> Can this be done using VFL alone?
&g
On 26 Sep 2013, at 04:52, Keary Suska wrote:
>
> No, you have it right. The docs have it wrong. Please file a bug ;-)
Bug is in:
15086319
Jonathan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
WRT NSValidatesImmediatelyBindingOption the binding docs say:
Q
A Boolean value that determines if the contents of the binding are
validated immediately.
If YES, the value is validated as it is entered. Otherwise, the content
is validated only when the user interface item attemp
see https://github.com/ThesaurusSoftware/Dubrovnik
Dubrovnik is a framework and set of tools to assist with interfacing Obj-C to
.NET/Mono.
The framework provides Obj-C access to the embedded Mono API and the code
generator reflects on managed assemblies to produce Obj-C source.
This largely aut
On 2 Apr 2013, at 17:13, Mike Abdullah wrote:
>
> On 2 Apr 2013, at 12:43, jonat...@mugginsoft.com wrote:
>
>> I provide some app documentation in both RTF and MarkDown and switch in an
>> NSTextView or WebView for display as required.
>>
>> But I don
I provide some app documentation in both RTF and MarkDown and switch in an
NSTextView or WebView for display as required.
Text view searching works well using the NSTextFinder find bar.
However, implementing a WebView find panel/bar seems difficult.
- (void)performFindPanelAction:(id)sender is st
Is it not possible to use IPC to have the helper message the client app so that
the client does the actual posting?
Regards
Jonathan Mitchell
Mugginsoft LLP
On 12 Feb 2013, at 22:01, Nick Zitzmann wrote:
> Short question: How do I spoof the application name & icon when a
> notification from
On 23 Jan 2013, at 13:07, Uli Kusterer wrote:
> On Jan 23, 2013, at 2:18 AM, jonat...@mugginsoft.com wrote:
>> Hmm. Maybe not. I want to keep the generated variable name legible.
>
> You need to nail down the languages you want to deploy to, and then find out
> what
On 23 Jan 2013, at 11:40, Jean Suisse wrote:
> On 23 janv. 2013, at 02:18, "jonat...@mugginsoft.com"
> wrote:
>
>>>>
>>>> My current thinking is, regardless of the language, is to exclude all
>>>> characters that are not members of
On 23 Jan 2013, at 01:32, Keary Suska wrote:
> On Jan 22, 2013, at 6:18 PM, Jens Alfke wrote:
>
>> On Jan 22, 2013, at 3:28 PM, jonat...@mugginsoft.com wrote:
>>
>>> Is + (id)letterCharacterSet the best choice here?
>>
>> The API docs say "Infor
On 23 Jan 2013, at 00:05, Jean Suisse wrote:
>>
>> Dealing with English seems not too troublesome but titles composed in other
>> languages might be a different matter.
>
> Do you want to deal with other languages ? For instance Japanese, Chinese,
> Korean, Arabic, etc. ?
The user can enter
I have a generic descriptive title of a parameter and want to express it as a
variable name within a script.
So if my title is "No more awesome today, please!" I will likely render this as
"no-more-awesome-today-please" ( I can define the separator style).
I am targeting about 20 or so scriptin
On 21 Jan 2013, at 09:41, Muthulingam Ammaiappan
wrote:
> i am modifying the "PXListView" as per my requirement...(please refer the
> "ThumbnailListView.png")
>
> the main problem is PXListView having one column and cells are added in a
> new row. but what i needed is "i need a One Row and cell
On 17 Jan 2013, at 00:58, Melvin Walker wrote:
> On Jan 16, 2013, at 4:45 PM, Andy Lee wrote:
>> On Jan 16, 2013, at 6:09 PM, Melvin Walker wrote:
>> [...]
When you select a color in the panel, NSColorPanel sends a changeColor:
message to the first responder. It also sends its actio
On 17 Jan 2013, at 00:58, Melvin Walker wrote:
> On Jan 16, 2013, at 4:45 PM, Andy Lee wrote:
>> On Jan 16, 2013, at 6:09 PM, Melvin Walker wrote:
>> [...]
When you select a color in the panel, NSColorPanel sends a changeColor:
message to the first responder. It also sends its actio
On 16 Jan 2013, at 20:47, Melvin Walker wrote:
> Is it possible to programmatically change color (using -setColor:) in
> NSColorPanel without it sending a changeColor: message to the first responder?
>
> We'd like it to just reflect a color change without telling the responder
> chain about it
On 16 Jan 2013, at 15:50, Fritz Anderson wrote:
> On 16 Jan 2013, at 3:52 AM, "jonat...@mugginsoft.com"
> wrote:
>
>> Py_SetProgramName((char *)[[scriptRunner launchPath] UTF8String]);
>
> If a char* is destined for the file system, you should be using
&
On 16 Jan 2013, at 11:39, Muthulingam Ammaiappan
wrote:
> Hi friends,
>
> i am developing cocoa application on mac os x, which will allows the user
> to import the video clips and make the movie from those video clips.here i
> need to deal with highly customized view(please refer the attac
On 16 Jan 2013, at 03:44, John Nairn wrote:
> Thanks. I watched the one on "Seccure Automation Techniques in OS X." Near
> the end it said exactly what I wanted to hear which is that application-run
> scripts that target only themselves have no restrictions. So far it is half
> true in my app
On 14 Jan 2013, at 17:59, Mike Abdullah wrote:
>
>>
>
> Go watch the sandboxing videos from WWDC this year. They cover automation
> quite a bit, and all will be made much clearer.
>
You want session 206 - Secure automation techniques in OS X.
If you don't have access we can probably paraph
On 14 Jan 2013, at 11:17, Oleg Krupnov wrote:
> Unlike NSView, there is no -registeredDraggedTypes method in NSWindow.
> How do I find out which dragged types a window is registered to?
>
Your window has to know what drag types it will respond to.
NSDraggingDestination defines the methods that
On 2 Jan 2013, at 21:03, Joel Reymont wrote:
> I have a dialog (sheet) with a single text field and a button.
>
> I'm using Cocoa Bindings to validate the value in the text field and
> set a string field in the File's Owner.
>
> This works fine but I would like to trigger the same sequence of
On 2 Jan 2013, at 04:56, Jerry Krinock wrote:
> This should be easy but I've been stumped for two hours.
>
>
> In the xib,
>
> Table columns' Editable checkboxes are switched on.
> Text field cells' Enabled checkboxes are switched on.
>
Is the text field cell behaviour drop down set to edita
On 14 Dec 2012, at 11:13, Mike Abdullah wrote:
> I'd strongly advise the OP it's better for them to create a custom class for
> their model objects, rather than go down this route of globally modifying
> NSMutableDictionary's API.
In general I would strongly advise this too, which effectively
On 13 Dec 2012, at 23:17, Kyle Sluder wrote:
>
> Since I'm comparing the string-drawing methods to NSTextFieldCell
> drawing, according to this documentation there should be no difference.
>
In my test case I compared the cells rendering with an NSTextField configured
as a label.
@implementa
On 13 Dec 2012, at 11:54, jonat...@mugginsoft.com wrote:
> I bind an NSArray of NSMutableDictionary instances to an NSTableView and
> enable NSTableColumn editing..
>
> How can I best implement KVO based validation when editing the view?
>
> Subclassing NSArray contro
I bind an NSArray of NSMutableDictionary instances to an NSTableView and enable
NSTableColumn editing..
How can I best implement KVO based validation when editing the view?
Subclassing NSArray controller is a no go as validateValue:forKeyPath:error is
never called.
Subclassing the NSMutableDict
On 12 Dec 2012, at 09:57, Andreas Grosam wrote:
>
> On 12.12.2012, at 10:19, Charles Srstka wrote:
>
>> On Dec 12, 2012, at 3:03 AM, Andreas Grosam wrote:
>>
>>> How can I check at runtime whether an object (id) is actually a block, and
>>> not another kind of object?
>>
>> I don't think t
1 - 100 of 493 matches
Mail list logo