Xcode from throwing up warning at least?
Regards,
Varun
On 2/07/2014 1:59 pm, "Ken Thomases" wrote:
>On Jul 1, 2014, at 6:46 PM, Varun Chandramohan wrote:
>
>> I have a NSTableView (View based) with 8 NSTableColumn each of which
>>has NSTableCellView as defau
Hi All,
I have a NSTableView (View based) with 8 NSTableColumn each of which has
NSTableCellView as default built from IB. I followed apple guide
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/TableView/Introduction/Introduction.html#//apple_ref/doc/uid/1026i-CH1-SW1
Hi All,
Apple has notified that this a known bug and they have a duplicate of the bug I
submitted regarding this issue. They closed my bug. I am not sure if bug
numbers will benefit anyone in this forum, if so let me know ill post it.
Regards,
Varun
From: Jens Alfke mailto:j...@mooseyard.com>>
Hi All,
Is there ant simple to have a split header view to generalise sub header? Here
is an example of what I want to achieve using NSTableHeaderView?
---
|header 1 | Common Header Txt |
| |
--
I agree on the fact that if the auto pool is introduced in main then its going
to mask all the leaks in other parts of the code leading to unknown memory
leaks. I see a divided option on this, but in OSX world this should be taken
care by OS itself. Perhaps I will report this to Apple and see wh
This is OS X not iOS. Yes main look like what is shown below without the
autoreleasepool.
From: Sean McBride
Sent: Saturday, June 21, 2014 2:39 AM
To: Steve Christensen; Varun Chandramohan
Cc: Cocoa-Dev List
Subject: Re: NSReleasePool issue
Given the
Hi All,
I was playing around with OBJ_DEBUG_MISSING_POOL env variable and set it to
YES. I was able to debug most of the issues in my code where I missed auto
release pools. This is the last one remaining. However I am not sure where the
leak is happening. It looks like NSApplicationMain, do th
valid row in table code? Could I do something like this
before removing the objects? [ltableView removeRowsAtIndexes:indexes
withAnimation:NSTableViewAnimationSlideDown];
Regards,
Varun
On 16/05/2014 4:45 pm, "Graham Cox" wrote:
>
>On 16 May 2014, at 11:18 am, Varun Chan
Hi All,
I was playing around with dragging items into NSTableView and I ran into a
interesting problem. When I drag an item into my table, the following delegate
gets called.
- (BOOL)tableView:(NSTableView *)tableView acceptDrop:(id)info
row:(NSInteger)row dropOperation:(NSTableViewDropOperat
Ah yes, that was the mistake. I did not notice it. Probably its always a
good idea to use fileURLWithPath as I always deal with file urls and not
http://.
On 7/05/2014 3:58 pm, "Ken Thomases" wrote:
>On May 7, 2014, at 12:02 AM, Varun Chandramohan wrote:
>
>>N
Hi All,
I wanted to open a Finder window from my app with a file pre-selected. The user
could perform any Finder operations needed. I looked around the internet and it
turns out the best way to do this is using NSWorkspace.
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
Hi Quincey,
You are right, the code is taken from the link you posted. Actually I
understand that group rows were demonstrated in that code. Actually when I
remove group code I get desired result. I was trying to include group rows
so that in future should I need that feature, I need not revisit t
;
Date: Friday, 2 May 2014 3:12 pm
To: Development
mailto:varun.chandramo...@wontok.com>>
Cc: Cocoa dev mailto:Cocoa-dev@lists.apple.com>>
Subject: Re: Question on NSScrollView
On May 1, 2014, at 17:25 , Varun Chandramohan
mailto:varun.chandramo...@wontok.com>> wrote:
Yes I have im
quinceymor...@rivergatesoftware.com>>
Date: Friday, 2 May 2014 9:10 am
To: Development
mailto:varun.chandramo...@wontok.com>>
Cc: Cocoa dev mailto:Cocoa-dev@lists.apple.com>>
Subject: Re: Question on NSScrollView
On May 1, 2014, at 15:16 , Varun Chandramohan
mailto:varun.chandramo...@wontok.c
why this is happening and how to get rid of this?
Regards,
Varun
On 30/04/2014 12:40 pm, "Graham Cox" wrote:
>
>On 30 Apr 2014, at 12:20 pm, Varun Chandramohan
> wrote:
>
>> Can someone tell me if NSScrollView can be extended to work like that?
>>Any suggesti
Hi Guys,
In my app I have a scrollview that displays a list of file paths which is
populated by NSArrayController. This work well, except that I wanted to add
some fancy functionality to it. I have seen some apps allow dragging a file
from Finder into scroll view to add it. This is a neat funct
23/04/2014 2:05 pm, "Greg Parker" wrote:
>On Apr 22, 2014, at 6:49 PM, Jens Alfke wrote:
>> On Apr 22, 2014, at 6:38 PM, Varun Chandramohan
>> wrote:
>>> However when I
>>> run the same code in older OS 10.7.x and run leaks there I noticed big
>>>
Hi Guys,
Since we are on the topic I noticed something interesting in my code. My
development environment is 10.9.1, and when ever I run ³leaks² command to
check for memory leaks I get none. It seems pretty clean. However when I
run the same code in older OS 10.7.x and run leaks there I noticed bi
On 22/04/2014 9:10 am, "Ken Thomases" wrote:
>On Apr 21, 2014, at 5:47 PM, Varun Chandramohan wrote:
>
>>op = [[QCCAESPadCryptor alloc] initToDecryptInputData:[NSData
>> dataWithBytes:cyphertext_dat length:sizeof(cyphertext_dat)]
>>
On 4/04/2014 11:16 am, "Ken Thomases" wrote:
>On Apr 3, 2014, at 7:02 PM, Varun Chandramohan wrote:
>
>> On 4/04/2014 10:47 am, "Jerry Krinock" wrote:
>>
>>> On 2014 Apr 03, at 16:11, Varun Chandramohan
>>> wrote:
>>>
>>&
To summarise what was discussed,
- I think the folder hierarchy problem is easily solvable as I always
traverse from top of the tree. If an entry for one of the folders is found
in my set I stop the traversal to lower leaves of the tree.
- I would be using NSSet to store my “restrict list”. Howeve
t;Ken Thomases" wrote:
>On Apr 14, 2014, at 7:02 PM, Varun Chandramohan wrote:
>
>> I have a question about efficiency when trying to compare NSURL. The
>>requirement is quite simple. I try and iterate through a directory to
>>all subdirectories and files. While doing th
Hi All,
I have a question about efficiency when trying to compare NSURL. The
requirement is quite simple. I try and iterate through a directory to all
subdirectories and files. While doing this walk-through, I need to check
against an array of NSURLs which are restricted files and folders.
This
Thanks guys, really appreciate it.
On 7/04/2014 1:25 pm, "Ken Thomases" wrote:
>On Apr 6, 2014, at 9:18 PM, Graham Cox wrote:
>
>> On 7 Apr 2014, at 10:35 am, Varun Chandramohan
>> wrote:
>>
>>> @property (retain) NSArray* contents;
>>
>&g
issues would be addressed very quickly by Apple? No?
Regards,
Varun
On 4/04/2014 4:07 pm, "Kyle Sluder" wrote:
>On Apr 3, 2014, at 9:54 PM, Jens Alfke wrote:
>>
>>
>>> On Apr 3, 2014, at 7:47 PM, Varun Chandramohan
>>> wrote:
>>>
>>>
Hi Graham,
Thank you for such detailed explanation. I made a few changes except the
type check of what NSPropertyListSerialization returns. Ill be adding that
soon. Other than that, I wanted you to take a look at the changes I made
and let me know if you see any problems. I tested it, at it seems
Hi Guys,
I was looking into an older project which does not use ARC and I noticed new
static code analysis issues with leaks. Here is a little sample code of the
object in question.
@interface TempConfig : NSObject
@property (assign) NSMutableArray* contents;
+(id)newTempConfigWithSource:(
Thanks Ken,
That helped.
Regards,
Varun
On 4/04/2014 11:16 am, "Ken Thomases" wrote:
>On Apr 3, 2014, at 7:02 PM, Varun Chandramohan wrote:
>
>> On 4/04/2014 10:47 am, "Jerry Krinock" wrote:
>>
>>> On 2014 Apr 03, at 16:11, Varun Chandramohan
m>>
Subject: Re: NSOperation Issues
On Apr 3, 2014, at 4:11 PM, Varun Chandramohan
mailto:varun.chandramo...@wontok.com>> wrote:
I suspect that NSOperationQueue cannot be used as daemon running as root user?
This isn't directly related to your question, but you almost certainly
sho
Oh you mean, the runloop has not been initialised and the daemon is
exiting before that?
That could be the cause. Thanks I will investigate.
On 4/04/2014 10:47 am, "Jerry Krinock" wrote:
>
>On 2014 Apr 03, at 16:11, Varun Chandramohan
> wrote:
>
>> when I port t
Hi All,
I have some basic decryption I do with common crypto that works very well when
I use in my app, some sample code below.
QCCAESPadCryptor * op;
NSString *licenseKey = nil;
NSOperationQueue *queue;
op = [[QCCAESPadCryptor alloc] initToDecryptInputData:[NSData
dataWithByte
Ok, Setting it to 1 solved it. Looks like it should not be 0.
Regards,
Varun
On 1/04/2014 2:57 pm, "Varun Chandramohan"
wrote:
>Hi Graham,
>
>I checked that before posting here. In Size Inspector for ³Box"
>Margins (Horizontal) 0 (Vertical) 0
>Border (Width) 0 (
Hi Graham,
I checked that before posting here. In Size Inspector for ³Box"
Margins (Horizontal) 0 (Vertical) 0
Border (Width) 0 (Radius) 0.
That¹s what I am not able to understand where the problem is.
- Varun
On 1/04/2014 2:53 pm, "Graham Cox" wrote:
>
>On 1 Apr 20
Hi All,
I have a view which has a NSBox. The view is designed and managed by IB and I
am doing nothing from code. The NSBox is of type (primary, the way I want it),
and border type is Line. When I use this, I get warning "Border width requires
NSCustomBox type and NSLineBorder" type. To get ri
34 matches
Mail list logo