Peter,
On Jan 29, 2014, at 12:02 PM, Peter Teeson
ptee...@icloud.commailto:ptee...@icloud.com wrote:
I have a project in which I want to take advantage of the C++ Standard library
(primarily because of the container classes - including the special ones).
FWIW the project has to traverse a
Hi folks,
I have two images, a retina and a non-retina image that I would like to use as
a Cursor. I crop the transparency out of the images and combine them into one
NSImage that has two representations, a retina and a non-retina one. I then use
the combined image to set NSCursor’s image.
Hi folks,
I have an existing project that I’d like to transition from 32-bit to 64-bit.
The current project places the results of builds such as a static library in a
folder that I shall call “Output”
In Xcode, I see a drop down menu that allows me to select which architecture to
builds for
Scott,
I'm curious, why does 64-bit matter? iPhone memory is still around 1 gig and
there is no virtual memory. Until you exceed the 4 gig limit, I don't see why
this matters.
Abdul
Sent from my iPhone
On Sep 10, 2013, at 3:44 PM, Scott Ribe
Nick,
In your secondary you can use dispatch_async or dispatch_sync to schedule a
block of code to execute on the main thread. Below is a simple example:
dispatch_async(dispatch_get_main_queue(), ^{
// put your code to modify mutable array here
});
I hope this helps.
Thanks,
Abdul
cocoa-...@esoteritech.com wrote:
On Jul 22, 2013, at 8:31 AM, Abdul Sowayan wrote:
I’m am using a view based NSTableView. In the NSTableViewCell, I place a
button and hook up its action/target to the App delegate. The problem is,
it doesn’t seem to work. If I place the button outside
Hi Kyle,
I actually did use NSTableCellView. My button didn't work until I hooked up the
delegate outlet.
Abdul
Sent from my iPhone
On Jul 24, 2013, at 1:14 AM, Kyle Sluder k...@ksluder.com wrote:
On Tue, Jul 23, 2013, at 12:42 PM, Keary Suska wrote:
I didn't look at the attachment
Hi,
So, when myController is nil'ed out, ARC releases it, and it releases
the block in turn. No leaks/abandoned memory.
A special form of this is the idiom:
__block id mySelf = self;
^{
[mySelf doSomething];
}
Wouldn't using __weak instead of __block be better and clearer in the
Hi Ben,
I'm rather confused by the commonly used implementation of singletons.
(Ignoring the fact that perhaps I shouldn't be using singletons) I would
appreciate you view on this.
Normally I implement a singleton such as..
static MyClass *sharedInstance = nil;
+ (MyClass *)sharedInstance
{
Hi folks,
I have an application that we wrong. There is an older version of the
application that I will call V0, and a newer version of the application that
I will call V1.
I have both V0 and V1 installed on my computer(s) (Mac OS X 10.6 and 10.7).
Both V0 and V1 generate application specific
Hi folks,
If I launch my app from the command line, I can pass it options like this
(this would be the argc, argv parameters to main):
./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
What I would like to have is launch my application from the GUI and somehow
pass the command line
Hi Folks,
I can do:
./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
Or
defaults write com.Bar.Foo ApplePersistenceIgnoreState YES
My question is regarding options such as ApplePersistenceIgnoreState. Where
did this come from? Is there some documentation that lists similar
Hi folks,
I have a carbon based application that we are converting overtime to Cocoa.
What I would like to do, if possible, is to incorporate multi-gesture events
(such as magnify event) into my carbon application. I can see that NSResponder
has magnifyWithEvent: selector. I am wondering if
Hi folks,
I'm trying to figure out a clear guideline on how to handle weak references.
Let's consider the following scenarios:
1- Say I have a button, and set its action/target (via a nib file) to call
method on the controller. In the controller dealloc method, should the
controller set the
Hi Corbin,
I wrote that sample, and gave the WWDC talk based on it a few years ago. I
also own NSTableView.
Yes, please do file a bug. The sample should set the delegate/datasource to
nil, as it is good practice to do so, and we can update the sample.
Thanks for the clarification, it is
Hi folks,
As I understood it several years ago, there was no native support in Cocoa
for rendering vertical Japanese text. Note that certain punctuation and
compound characters are supposed to render differently when drawing in the
vertical orientation than they normally would when drawing
Hi folks,
I am having Carbon/PowerPlant and Cocoa integration issue. I was hoping
someone might have an insight into this problem. Any feedback would be
greatly appreciated. A reproducer program that shows the problem can be
found at:
http://ericgorr.net/cocoadev/BorderlessWindow.zip
My
Hi Kyle,
Thanks for your response.
Did you try calling -setFloatingPanel: on the panel?
Yes I did. When I do so, This is the dump I get:
0x1820f00 Document 283C V 3 Window
0x1822b90 com.apple.HIToolbox.windowgroups.toolbar
Without calling -setFloatingPanel: I get
18 matches
Mail list logo