Dear list,
I'm having trouble submitting an app update to the Mac App Store. I'm not sure
if this is an Xcode issue or something else, so I thought I'd try here first.
I've updated this app many times using the same computer. This time I get the
error in the organiser on the page entitled "Choo
Am 29.03.2012 um 02:52 schrieb David Delmonte:
> Terminating app due to uncaught exception 'NSInvalidArgumentException',
> reason: '-[_UIAppearance setTitleTextAttributes:]: unrecognized selector sent
> to instance 0x7c957d20'
>
>
> I would appreciate any help in understanding what I'm doing
Hi,
I'm working on a project where I might put icons in the top-right toolbar kinda
like the fullscreen icon for lion or like the Mail icons in this window where
I'm typing right now. My question would be what is the best way to put them
there? I know how to get them to appear in the window f
On Mar 28, 2012, at 7:21 PM, Jens Alfke wrote:
> On Mar 27, 2012, at 1:50 PM, Rick Mann wrote:
>
>> if ([fm fileExistsAtPath: url.absoluteString])
>
> This line seems wrong. It should be using the .path property instead of
> .absoluteString.
Or better yet, just use the (unfortunately verbos
I'm building an app for iOS 5.x and am trying to use the new UIAppearance
capability.
I want to style a UISegmented Control title as follows:
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc]
initWithItems:segments];
segmentedControl.segmentedControlStyle =
Thanks Graham,
Yes, fully aware that CGLayer and CALayer are completely different.
Interesting to hear about the z position needing to be a large number - will
keep that in mind.
Cool visualizer.
I'm going to have another go at a test project and see if I can work around the
issues and do it
On Mar 28, 2012, at 17:21 , Jens Alfke wrote:
>
> On Mar 27, 2012, at 1:50 PM, Rick Mann wrote:
>
>>if ([fm fileExistsAtPath: url.absoluteString])
>
> This line seems wrong. It should be using the .path property instead of
> .absoluteString. The latter is the entire URL, including the sch
On Mar 27, 2012, at 1:50 PM, Rick Mann wrote:
>if ([fm fileExistsAtPath: url.absoluteString])
This line seems wrong. It should be using the .path property instead of
.absoluteString. The latter is the entire URL, including the scheme and the
colon, which is not going to be a real filesyste
At 8:52 AM +0100 3/27/12, Quinn \"The Eskimo!\" wrote:
> On 26 Mar 2012, at 21:28, Jens Alfke wrote:
>
>> What can I do about this? Ideally I'd like the stream to hold off on reading
>> more from the socket until my code finishes processing the buffer..
>
> If you don't call -read:maxLength:, t
On 28/03/2012, at 11:45 PM, Kenneth Baxter wrote:
> The contents of about half the layers seldom change, so from that
> perspective, caching contents as either NSImages, CIImages, CGLayers or using
> CALayers would seem to be a good idea. The other half of the layers are
> simple, and just con
Eric,
It's possible that NSTextFinder has a bug, in which case you should file a
Radar with a sample app that reproduces the problem. Having that information,
it may be possible to identify a workaround.
However, first tell me—are you setting the endsWithSearchBoundary parameter to
YES for the
I'm using the NSTextFinder API with the stringAtIndex:len:effectiveRange: style
of exposing the text.
I have a test case which has 4 strings in it, "foo1" .. "foo4". I show the
findbar, type 'foo', and click the 'find next' control.
Here are the calls that my client receives and the results be
Hello
Sorry for flooding the list with basic questions, but I really don't
have a big experience with the Cocoa development.
I am delving currently into PDFKit for Mac, trying to display a PDF
document on a window. I also would like to change default behavior of
this control (this is a customized
Le 28 mars 2012 à 20:00, Charles Srstka a écrit :
> On Mar 28, 2012, at 9:55 AM, jonat...@mugginsoft.com wrote:
>
>> On 28 Mar 2012, at 15:35, Andreas Grosam wrote:
>>
>>>
>>> On Mar 28, 2012, at 3:58 PM, jonat...@mugginsoft.com wrote:
>
I presume that you considered CFStringAppendCS
On Mar 28, 2012, at 11:00 AM, Charles Srstka wrote:
> Unicode NULL is the least of your problems. In UTF16, each character in the
> normal ASCII range is going to contain a zero as one of its two bytes (which
> one, of course, depending on whether the encoding is big- or little-endian).
> CFStr
Hi guys,
I'm working with the new NSOutlineView View based control.
I've created my own NSTableCellView subclass where I've place some controls,
one of them is an NSTextField.
Now I would to implement a simple cell editing as like in the old cell-based
table.
So I've set a datasource and a deleg
On Mar 28, 2012, at 9:55 AM, jonat...@mugginsoft.com wrote:
> On 28 Mar 2012, at 15:35, Andreas Grosam wrote:
>
>>
>> On Mar 28, 2012, at 3:58 PM, jonat...@mugginsoft.com wrote:
>>> I presume that you considered CFStringAppendCString():
>>>
>>> void CFStringAppendCString (
>>> CFMutableSt
GLPaint is a really old sample, and appears to have not been updated to use a
UIViewController subclass to manage its view, and as such will elicit this
warning because the window's rootViewController property will not have been
set. I would recommend you look at a more recent sample, or even at
On Mar 28, 2012, at 6:22 AM, David Delmonte wrote:
> Hi, I'm trying to do the above. I've added a simple UIButton at the
> AppDelegate level (as there is no ViewController).
>
> When the button is tapped:
>
> - (IBAction)pictureButtonTapped:(id)sender {
> NSLog(@"%s", __FUNCTION__);
>
Hi All,
I am trying to perform an action on a button using bindings, so I declared
and defined following method in my app-controller class:
- (void)selectFolderAtPath:(NSString *)path;
And I did following bindings on button in IB:
Argument:
Bind to: App Delegate
Model Key Path:
On 28 Mar 2012, at 21:49, Roland King wrote:
> What's the error message? "ARC does complain" doesn't quite say.
Uhhh... Sorry. Was a simple Typo which I discovered while trying to recreate
the error message.
Sorry for the noise.
Gerriet.
___
Co
On 28 Mar 2012, at 15:35, Andreas Grosam wrote:
>
> On Mar 28, 2012, at 3:58 PM, jonat...@mugginsoft.com wrote:
>>>
>> I presume that you considered CFStringAppendCString():
>>
>> void CFStringAppendCString (
>> CFMutableStringRef theString,
>> const char *cStr,
>> CFStringEncoding encoding
What's the error message? "ARC does complain" doesn't quite say.
On 28 Mar, 2012, at 22:34, "Gerriet M. Denkmann" wrote:
>
> - (void)encodeWithCoder:(NSCoder *)coder
> {
>if ( [coder allowsKeyedCoding] )
>{
>[ coder encodeObject: self.name forKey: @"Name" ];
>}
>else
Hi Ken,
I'm sorry that I can't give you a great answer to your questions, I
can only tell you what I do myself when I need high animation
performance: I use OpenGL, even for 2D. I have wondered whether some
of the more high level technologies are more suited, but judging from
game programming web
On Mar 28, 2012, at 3:58 PM, jonat...@mugginsoft.com wrote:
>
> On 28 Mar 2012, at 14:35, Andreas Grosam wrote:
>
>> What's the preferred method to append a sequence of bytes in encoding
>> 'encoding' (a CFStringEncoding) to a CFMutableString object?
>>
>> Well, the set of encodings which I'm
- (void)encodeWithCoder:(NSCoder *)coder
{
if ( [coder allowsKeyedCoding] )
{
[ coder encodeObject: self.name forKey: @"Name" ];
}
else
{
[ coder encodeObject: self.name ]; <--- ARC does complain
}
}
So: what to
10.6 and newer.
Not sure about gestures. Preview.app works fine on 10.6... Just try to
click "move" button in the toolbar and drag the PDF document...
> Well, you could detect a pinch too for resizing. Is this only for 10.7 and
> also how will you handle things if gestures is disabled?
>
> On M
On 28 Mar 2012, at 14:35, Andreas Grosam wrote:
> What's the preferred method to append a sequence of bytes in encoding
> 'encoding' (a CFStringEncoding) to a CFMutableString object?
>
> Well, the set of encodings which I'm interested in are the Unicode encoding
> schemes (UTF-8, UTF-16, UTF-
What's the preferred method to append a sequence of bytes in encoding
'encoding' (a CFStringEncoding) to a CFMutableString object?
Well, the set of encodings which I'm interested in are the Unicode encoding
schemes (UTF-8, UTF-16, UTF-16LE, UTF-16BE, etc)
Unfortunately, there is no CFStringApp
Hi, I'm trying to do the above. I've added a simple UIButton at the AppDelegate
level (as there is no ViewController).
When the button is tapped:
- (IBAction)pictureButtonTapped:(id)sender {
NSLog(@"%s", __FUNCTION__);
drawingView.backgroundColor = [UIColor colorWithPatternImage:
Thanks for taking the time to put together these replies Graham and Uli.
Yes, I know it's a heavy load in my test case, but it is something that could
happen from time to time in the real application.
The contents of about half the layers seldom change, so from that perspective,
caching conte
Well, you could detect a pinch too for resizing. Is this only for 10.7 and
also how will you handle things if gestures is disabled?
On Mar 28, 2012, at 8:15 AM, Nick wrote:
> This is for Mac OS.
> The functionality - similar to the Preview.app
> When the user zooms in the page, and the whole pa
This is for Mac OS.
The functionality - similar to the Preview.app
When the user zooms in the page, and the whole page does not fit into
the view, the user can pan the page to be able to browse the parts of
the page that otherwise can be seen only by using scrollbars (and the
latter is very inconve
Depends on what you are trying to do.
What's the total functionality you're going for? And is this for iOS or the
Mac?
On Mar 28, 2012, at 8:01 AM, Nick wrote:
> Hello,
>
> I am trying to figure out how to "pan" a pdf page displayed in a
> PDFView. Should I do this on my own (by intercepting
Hello,
I am trying to figure out how to "pan" a pdf page displayed in a
PDFView. Should I do this on my own (by intercepting mouseDragged and
setting scroll position of the surrounding NSScrollView)? I couldn't
find the method for setting this "panning mode" in PDFView class (by
default, a selecti
I don't think so (not sure what your question was, possibly it was in another
thread?)
On Mar 27, 2012, at 9:31 PM, b.n...@bluewin.ch wrote:
> sorry, is that the answer of my question?
>
> benedikt
>
>
>
>
>
> Ursprüngliche Nachricht
> Von: cocoa-dev@deployedsmarts.
> com
> Datum:
On 28/03/2012, at 6:36 PM, Kenneth Baxter wrote:
> I am trying out some different ideas for animating portions of a view, but am
> having problems with performance.
On current hardware, the main bottlenecks in the drawing pipeline are two spots:
1) The CPU, i.e. drawing stuff using Quartz calls
On Mar 27, 2012, at 7:29 PM, David Duncan wrote:
> Simplest solution is to save the scale along side the image itself (under the
> assumption that this data can possibly end up on a non-retina device for some
> reason) or to create a new UIImage with the screen scale via
> +imageWIthCGImage:sc
On 28/03/2012, at 6:36 PM, Kenneth Baxter wrote:
> I am trying out some different ideas for animating portions of a view, but am
> having problems with performance.
>
> Essentially I have an animation running using a CABasicAnimation, and when it
> calls back to my view, it invalidates the re
I tried this, and it worked fine on 10.7, however I have a couple of things I
am animating - an opacity float value, and an NSRect. Both animate fine on
10.7, but on 10.6, the NSRect (or CGRect - I've tried both) doen't get animated
- it just goes to its final value.
I have looked through the
I am trying out some different ideas for animating portions of a view, but am
having problems with performance.
Essentially I have an animation running using a CABasicAnimation, and when it
calls back to my view, it invalidates the rect where the object was drawn, and
the new place where it i
41 matches
Mail list logo