Tagged Questions
3
votes
0answers
32 views
Paste Data or Alternatives to CMD V simulation
I used to simulate CMD V event to paste data from my app to the active app. However, it seems like with the new sandboxing restrictions this isn't allowed anymore.
Does anybody know another way to ...
2
votes
0answers
63 views
100% memory leak in gcd block
I have an arc-enabled project which has PersonModel class:
// .h
@interface PersonModel : NSObject
@property (strong, nonatomic) NSString *photoUrl;
@property (strong, nonatomic) UIImage *photo;
...
2
votes
0answers
86 views
Xcode displays errror when building Mac app for release
I'm writing an application for OS X using core data. It's no problem to build and run it for debugging but when I switch to release or try to archive it, it throws the error
...
2
votes
0answers
54 views
NSLevelIndicator disable critical value
I have a mac application that i have created that measures bandwidth. I have setup alerts for the user when they have reached a certain percent of the bandwidth. I have options to disable the warning ...
2
votes
0answers
258 views
Problems with Localization in xcode 4.5.2
I looking for help in Localizing a project.
Compiling on 10.7.x with xCode 4.5.2 - native Language is English.
I've added Localization to my project ( Localizable.strings, ect.) but have found that ...
2
votes
0answers
221 views
How to make a NSTableView with dynamic number of columns and binding in Cocoa /Xcode?
Sorry, I know this is a bit complicated question .
Life is easy when I want to make a NSTableview object on screen with fixed number of columns. I just make a data binding to each column and simply ...
2
votes
0answers
80 views
CoreData renaming relationship on mapping
I have this coredata model in two different versions. All I changed is the name of a relationship.
But it seems insanely impossible to rename it using a simple mapping model!
Lets say I have the ...
2
votes
0answers
93 views
Embedding NSOpenGlViews in a ScrollView does not produce expected scrolling behavior
I have three NSOpenGLViews embedded in a scrollview. Scrolling produces unexpected behavior. The NSOpenGLViews refuse to be clipped by the bottom of the scrollview and instead will sit on the bottom ...
2
votes
0answers
193 views
Compiling Karelia's ConnectionKit in Xcode 4
I am trying to build and use the ConnectionKit framework in my code, but compiling it is yielding close to 100 errors, and about as many 'deprecated' warnings. Does anyone still use this framework, ...
2
votes
0answers
816 views
How to create an application bundle in Xcode?
Alright, I have just finished coding an application in Xcode... How do I create an application bundle out of this? I tried using the "Release" build configuration, but on a tester's computer the ...
2
votes
0answers
493 views
OpenCV and Cocoa error “Previous frame inner to this frame”
I'm playing with OpenCV in Cocoa program. When I try to call the method with some OpenCV code in the second thread I get "Previous frame inner to this frame (gdb could not unwind past this frame)"
1
vote
0answers
25 views
Additional .m file within same class
In Cocoa/xCode, I have a class which is in a huge .m file and would like to split the .m file in 2 .m files but still being from the same class. So I can call [self myFunctionInSecond.mfile] from the ...
1
vote
0answers
71 views
Call method only on change in visible windows
I need to call a method every time there is a visible change in the currently viewable system windows. For example, I'm getting the full visible window list with:
CFArrayRef openWindows ...
1
vote
0answers
24 views
How to avoid distortion by changing the position of a subView
I have a NSViewController which I assigned to my main application with code :
self.masterViewController = [[MasterViewController alloc] initWithNibName:@"MasterViewController" bundle:nil];
...
1
vote
0answers
62 views
Hover Over effect in NSCollectionView
I have an NSCollectionView with a few NSViews in it. The NSView has an NSBox in it that changes color when it is selected. I want to also make the NSBox change color when hovered over.
I subclassed ...