1
vote
1answer
86 views

NSWindow attached to cursor

I would like to make a custom panel, that shows a zoom at the current cursor-location. Like for example 'Sip' does. I have searched the web for examples, but didn't find anything specific. I found ...
3
votes
1answer
109 views

How to watch for changes in [NSCursor currentCursor]?

I've got an app with a custom cursor which I achieved using a custom wrapper for NSCursor (most of the main code is designed to be OS portable, so above that I pretend the NSCursor is a Windows-style ...
0
votes
0answers
18 views

LLDB: Show all objects with a pointer to an object in memory

So, at a breakpoint, I have a random object instance. I want to figure out which objects have a pointer to this object. Is there a way to see this in the debugger console? Maybe something that shows ...
2
votes
3answers
199 views

Why remove subview?

I realise if I remove subviews accordingly from my application, the memory management seems better ( I have a lot of subviews inside my application). So my question is it is a must to remove all ...
3
votes
2answers
556 views

XCode 4.5 warns about method name conflicts between Categories for parent/child classes

I'm working on a project that was originally built in XCode 4.0, and then migrated to using XCode 4.2. Now I've tested out migrating to XCode 4.5, and I'm getting a ton of warnings like below... ...
0
votes
2answers
80 views

how to find out which UIVIews are on the screen at runtime

I am working on an iPhone app that has a complex way of constructing its views, I am at a point where some of the UI behavior is not consistent and some UI views are not being presented properly, ...
0
votes
2answers
655 views

How to find a UICollectionViewCell's coordinates relative to the App Window

Is it possible to translate a cell's coordinates from being relative to the UICollectionView to being relative to the super view? So far I've been unable to translate a cell's coordinates when touched ...
3
votes
1answer
2k views

Moving an object randomly around the screen

I'm trying to animate a UIButton to move randomly around the screen in different directions. The code below is kind of working. The button will begin moving along a random path, however, it then just ...
0
votes
0answers
73 views

Display image twitpic by home_timeline urls

I'm trying to display a twitpic image in a UIImage. Now I get the URL from the twitter API and if it contains twitpic.com, I generate a thumb (twitpic.com/show/thumb/xxx). Then I put this link in a ...
0
votes
1answer
162 views

Long lived CTCallCenter instance shows no calls and never calls event handler

I have a CTCallCenter instance created (alloc/init) after launch. The event handler is never called (neither an NSLog nor a breakpoint fire). If I ask it later about current calls it returns nil. ...
2
votes
2answers
132 views

Error when adding an image to an Mail - MFMailComposeViewController

I'm trying to send an Image, which I have added to my Project, using the MFMailComposeViewController. I tried this in the simulator and it works fine, I can also see the Image in the Textfield, but ...
2
votes
3answers
2k views

Change application name in Xcode / Cocoa

What's the most efficient way to change my Mac OS X application name in Xcode? (I know it's easy; I've done it in the past but I can't really remember how... :/) What I mean : Let's say, I've got ...
3
votes
2answers
1k views

How can I add an icon to an iPhone application?

Will simply putting an image into the project folder do it?
5
votes
10answers
2k views

How do I disable NSLog?

I'd like to do the following in Xcode: Find all NSLog commands without comments, and replace it with //NSLog... In other words, I want to comment all NSLog calls. Is this possible? Is there an easy ...
2
votes
2answers
2k views

MKMapView calling didSelectAnnotationView

I use MKMapView. On map I show clickable AnnotationViews. After click on AnnotationView, I push MyController to NavigationController. In MyController I click on the back button, after this my ...

1 2 3 4 5 1309
15 30 50 per page