Cocoa is Apple's application-development framework for Mac OS X, consisting of Foundation, Application Kit, and Core Data. Use the "cocoa-touch" tag for iOS questions.
0
votes
0answers
3 views
Scroll NSTextField large string
I want to make NSTextField animate large NSAttributedString like iTunes song title.
Thanks.
0
votes
0answers
4 views
How do i get the information from the observationInfo method in Objective C KVO?
There is the observationInfo method which returns information of bindings of an object. I have looked around but i do not know how to the information from the dictionary. Can any one lead me in the ...
-1
votes
1answer
9 views
UIImageView array frame equality
I have two NSMutableArrays with UIImageViews in it. I am wondering how to check if the frames of the UIImageViews are equal to the frames of the other array in Objective-C. Is there a function for ...
0
votes
1answer
14 views
Rotating NSView around center
I'm trying to animate the rotation of an NSView around its center, but it keeps shifting side to side during rotation. What is causing this?
-(void)startRefreshAnimation {
[NSAnimationContext ...
0
votes
0answers
6 views
cocoa error 260 on iPad, work fine on the iPhone
I have an app which opens a PDF using this extension in phone gap.
It work fine on iPhone, but when I run it on iPad it outputs the error:
Unable to get data for URL: The operation couldn't be ...
0
votes
0answers
7 views
NSTableView removeTableColumn is not working
I am trying to Add/ Remove column dynamically. And it works fine if table having some values.
But is tableView doesn't have any value, Add or remove column doesn't work.
removeTableColumn / ...
0
votes
0answers
11 views
Full-Screen, Transparent App & Main Menu Interaction
I'm making an app that covers the screen, so I have a window covering the screen completely, with its level higher than the main menu.
So I draw over the main menu, but I want the main menu to be ...
0
votes
0answers
13 views
CoreData import not caught by NSFetchedResultsController
My NSFetchedResultsController is not getting updates to newly imported objects.
On a background thread I create a NSManagedObjectContext that is not a child of my main context and add an observer so ...
0
votes
0answers
9 views
Multiple CustomView instantiation subclassing NSView
(I cannot add images, but here is a synthetic figure of what I am trying to achieve:
http://s10.postimg.org/8b2pzvxih/Views.png )
I want to have two instantiations of the same class RCView ...
2
votes
1answer
55 views
Can we call the method after the application has been minimized?
iOS
Can we call the method after the application has been minimized?
For example, 5 seconds after was called applicationDidEnterBackground:.
I use this code, but test method don't call
- ...
0
votes
1answer
13 views
If cocoa app crashes where is stacktrace /crash log stored?
I am new to mac and cocoa development. When a cocoa app crashes there is a windows that asks the user to report crash log to apple. I want to write a customized reporting component. So I want to know ...
0
votes
1answer
6 views
NSFormCell placeholderString
Just set up a NSForm and binded the first row to an NSFormCell in Interface Builder.
When I enter a text, I expected to get the result in [myFormCell placeholderString] or [myFormCell ...
0
votes
1answer
27 views
Loading custom cell from nib does not finish on time
I have a UIView that contains two UITableViews, which are toggled between using a segmented control in the navigation bar of the UIView.
The first table (ingredients) uses only standard cells, and is ...
0
votes
1answer
7 views
Using multiple NSSliderCell in a single NSSlider
I'd like to create an NSSlider that has three knobs, not just one. I'm thinking I can subclass NSSliderCell and then override the tracking methods to ensure that one slider cell doesn't pass the one ...
0
votes
0answers
5 views
How to implement -draw for custom NSImageRep subclass
I'm interested in creating an NSImageRep subclass that can hold double precision values. The standard NSBitmapImageRep can hold single precision floats, but chokes on doubles. I like that the ...