On May 1, 2011, at 3:42 AM, Jose R.P. - Renacentist Software wrote:
> I've run "Instruments" in order to detect leaks in a sample xcodeproj
> (RTestApp) for the framework I'm creating. There are leaks and the tool never
> identifies my Framework as the responsible one, but there are at least fif
On May 3, 2011, at 9:10 AM, Eric Williams wrote:
> Any suggestions on how I can bind a button to a textfield so that the button
> is disabled when the field is empty, and then enabled once text has been
> entered in the field?
The typical MVC approach would be to bind your buttons enabled bind
At the bottom of the docs page is a "did this help" set of links. That leads
you to a place you can file documentation comments
On May 4, 2011, at 13:51, Дмитрий Николаев wrote:
> Hello!
>
> I dont know where to post such errors.
> In
> http://developer.apple.com/library/mac/#documentation/
Hello!
I dont know where to post such errors.
In
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaDrawingGuide/Paths/Paths.html
Paths.
Line Dash Style
Listing 5-5 Adding a dash style to a path
// Set the line dash pattern.
float lineDash[6];
float need to be
Any suggestions on how I can bind a button to a textfield so that the button is
disabled when the field is empty, and then enabled once text has been entered
in the field?
Thanks.
Eric Williams
AIM & Email: wile...@gmail.com
Skype: wilersh
_
Hello, Rimas
You can change the inset of the NSTextContainer associated with the
NSTextView for this purpose. See setTextContainerInset method of NSTextView.
2011/5/3 Rimas M.
> Hello,
>
> I continue my fight with cocoa text system :)) At the moment I am loosing..
>
> Now I am trying to impleme
Hi All
Usually for sending actions to controller, I use NSButton. But is there
anyway I can use a text to send action to a controller(not as a hyperlink to
a website) when it is clicked just like that on a button.
--
thanks and regards
visco
___
Cocoa
i devs,
I've run "Instruments" in order to detect leaks in a sample xcodeproj
(RTestApp) for the framework I'm creating. There are leaks and the tool never
identifies my Framework as the responsible one, but there are at least fifty
"Foundation" (substringWithRange:) and "libcrypto" (CRYPTO_mal
I've originally posted this on the dev forums but after a few days it's
only gotten 8 views and no replies. I'm hoping for a bit more luck here.
Here's the original post:
We use a subclass of NSTextStorage that enables us to do live word and
page count. The final product, however, must be written
Hello,
Problem Background:
I have a NSOutlineView with every tableColumn binded programmatically
to the NSTreeController's arrangedObjects so there is no need to bind
selectionIndexPaths. The source of NSTreeController's arrangedObjects
is a mutableArray. I'm adding all nodes to the NSTreeControl
Dear Patrick,
Thanks so much for your answer!
I don't know the details of TCP. However, TCP should be a reliable protocol.
Developers are not required to keep its connection state since TCP does
that. That's one of the important differences between TCP and UDP, right?
When using UDP, it is mandat
On May 3, 2011, at 9:52 PM, Stephen J. Butler wrote:
> On Tue, May 3, 2011 at 8:49 PM, wrote:
>> - (void)noEmailAlertDidEnd:(NSAlert*) returnCode:(NSInteger)retCode
>> contextInfo:(void*)ctxInfo {
>
> See it now?
>
> - (void)noEmailAlertDidEnd:(NSAlert*) returnCode
> :(NSInteger)retCode
>
On Tue, May 3, 2011 at 8:49 PM, wrote:
> - (void)noEmailAlertDidEnd:(NSAlert*) returnCode:(NSInteger)retCode
> contextInfo:(void*)ctxInfo {
See it now?
- (void)noEmailAlertDidEnd:(NSAlert*) returnCode
:(NSInteger)retCode
contextInfo:(void*)ctxInfo
It's using 'returnCode' as the first vari
I create a sheet using the following:
[alert beginSheetModalForWindow:[self windowForSheet] modalDelegate:self
didEndSelector:@selector(noEmailAlertDidEnd::contextInfo:) contextInfo:NULL];
What looks strange to me is the @selector(noEmailAlertDidEnd::contextInfo:)
that got created by Xcode's
Interesting, OK, now remember, t this is new to me.
To begin the QL panel I run this required method:
- (void)beginPreviewPanelControl:(QLPreviewPanel *)panel
{
previewPanel = [panel retain];
panel.delegate = self;
panel.dataSource = self;
}
and then it ends with
- (void)endPre
On May 3, 2011, at 5:27 PM, Brad Stone wrote:
> My app stores an NSURL to a file. All I'm doing is acting as the data source
> and delegate for QL and giving it access to an NSArray with the URL. I'm not
> creating a plugin (or am I misunderstanding you).
No, when you said "QuickLook" I tho
On 3 May 2011, at 4:03 PM, Brad Stone wrote:
> I have a symbolic breakpoint set and it stops on
> auto_refcount_underflow_error, even the small files. If I continue the doc
> shows in QL.
Presumably, a few stack frames up, there will be a call to CFRelease() which is
causing the underflow (wh
My app stores an NSURL to a file. All I'm doing is acting as the data source
and delegate for QL and giving it access to an NSArray with the URL. I'm not
creating a plugin (or am I misunderstanding you).
On May 3, 2011, at 6:59 PM, Nick Zitzmann wrote:
>
> On May 3, 2011, at 4:45 PM, Brad S
I have a symbolic breakpoint set and it stops on auto_refcount_underflow_error,
even the small files. If I continue the doc shows in QL.
On May 3, 2011, at 6:52 PM, Wim Lewis wrote:
>
> On 3 May 2011, at 3:45 PM, Brad Stone wrote:
>> Here's what I get when I QL a large file.
>>
>> proNotes(52
On May 3, 2011, at 4:45 PM, Brad Stone wrote:
> Here's what I get when I QL a large file.
>
> proNotes(52698,0x1196fd000) malloc: reference count underflow for
> 0x201afc920, break on auto_refcount_underflow_error to debug. (17 times)
> proNotes(52698,0x1196fd000) malloc: resurrection error for
On 3 May 2011, at 3:45 PM, Brad Stone wrote:
> Here's what I get when I QL a large file.
>
> proNotes(52698,0x1196fd000) malloc: reference count underflow for
> 0x201afc920, break on auto_refcount_underflow_error to debug. (17 times)
> proNotes(52698,0x1196fd000) malloc: resurrection error for o
I added Quartz and QuickLook frameworks to my garbage-collection-required app
and then added simple Quick Look functionally.
The bigger the file the more errors I get. Small pdfs show no errors, large
ppts, xl or zip files show a bunch of errors and eventually crash. I'm not
familiar with n
(replying to all this time)..
A singleton may be an appropriate solution to this problem. Their usage is not
perfect but few tools are.
That said, "DataHandler" should probably not be the singleton. That is the
class you created to read the file. If it doesn't make sense to create another
obje
On May 3, 2011, at 4:08 PM, Martin Batholdy wrote:
> Now how can I make sure that a global data-source is available independent
> from instances and their state?
> How can I share data between objects?
I would recommend making a singleton "manager" object that holds instances of
this data hand
Hi,
I am still new to objective-c and cocoa and the whole object-oriented approach.
So perhaps this is a weird question for you, but for me it is really important
to understand.
I have a small program with a DataHandler-class.
This class has methods to get data from a file on the disk and to sa
On Mon, May 2, 2011 at 3:15 PM, Quincey Morris
wrote:
> On May 2, 2011, at 12:47, lorenzo7...@gmail.com wrote:
>
> > anotherItemController
> > Content Array
> > Bind to: MyAppsClass (added an NSObject from palette and set its class to
> MyAppsClass)
> > Controller Key: myMutableArray
>
> If this i
On Tue, 03 May 2011 20:34:42 +1000, Brian Bruinewoud said:
>What I'm trying to do:
>In a popover, I have buttons
>On touching a button, a subview will be created in the main view of the screen
>(that is, beneath the popover)
>UIViewController *newRoom = [[ Room alloc ] initWithNibName: @"Roo
Hello,
I continue my fight with cocoa text system :)) At the moment I am loosing..
Now I am trying to implement vertical text alignment in NSTextView. If
I would need only drawing, would be quite easy. But I need to maintain
an editing capability.
The thing I am talking about is very similar (or
On May 3, 2011, at 3:40 AM, Brian Bruinewoud wrote:
> Hi All,
>
> self.view.alpha is animated but nothing at all happens to drawingVC.view.
My guess would be that 'drawingVC.view' isn't actually in a window anywhere.
Given your current and previous question however, I would posit that you are
Hello Aki,
Thank you for reply.
Looks like I will need to learn lots of new things, because fonts
metrics are unknown world for me.
I have played a bit with "rect of glyph" from NSFont and
NSLayoutManager. Some useful information can be found. But lots of
unclear things are mostly with baselines
FYI, I have worked around this with the following subclass which
allows me to customize the labels: https://gist.github.com/953326
I have filed the following radar ticket for this issue:
http://openradar.appspot.com/radar?id=1174411
On Fri, Apr 29, 2011 at 8:21 PM, Eloy Duran wrote:
> I have bee
Hi All
Have a piece of drag and drop code that has worked perfectly for a
long time on Intel laptops with the trackpad and mouse button.
One of our users with the latest type of Macbook Pro ( integrated
trackpad and mouse ) can produce problems in this drag and drop code.
The result of th
On 03-May-2011, at 12:30 AM, Matt Neuburg wrote:
> On Mon, 02 May 2011 16:15:59 +0800, Roland King said:
>> I have a UIView subclass which has a number of UIButtons and UISliders on
>> it, it's a sort of control panel. I added UIPanGestureRecognizer to it with
>> the idea that if you stick you
Hi,There are four columns in my table view. The last column is empty. At run
time I want to add a button to the last column depending upon a condition. If a
condition is true for a row, button should be added (appeared) to the last
column of the row. If condition is not true any more for a row t
Hi All,
This animation doesn't code doesn't work properly:
- (IBAction) gotClicked: (id) sender
{
[UIView animateWithDuration: 1.0
delay: 0.0
options: UIViewAnimationOptionCurveEaseIn
animations:^{
Hi All,
This has got me annoyingly stumped.
What I'm trying to do:
In a popover, I have buttons
On touching a button, a subview will be created in the main view of the screen
(that is, beneath the popover)
What's not happening:
The view isn't being instantiated
For debugging purposes, I've imp
Hello!
If there any possibility to calculate position of baseline for specified glyph
? I need to draw line of dots at the level of baseline of last glyph, as in
"table of contents".
Chapter 1. 540
Chapter 123. 670
Thank you.___
37 matches
Mail list logo