On Feb 3, 2011, at 22:58, Andrew Coad wrote:
>//[[self touchClearImage] drawAtPoint:aPoint
> blendMode:kCGBlendModeNormal alpha:0.0]; // <-- see note below
This doesn't do anything -- alpha == 0 turns the source image fully transparent
(in effect), and a transparent source has no ef
Hi,
I am developing an iPhone application, where i present the main screen as
spring board view (like iphone main screen).
I am trying to implement all the features available in iphone main screen
like change the Grid position and Remove the Grid in the Edit Mode.
I have implemented the spring b
I'm stuck on something that should be simple but it is evading me. I have
searched this mailing list and regular documentation but can't figure out an
answer.
I'm using the iOS platform. Previously, my drawing code needed to draw images
at different locations in the view erasing everything pri
On Feb 3, 2011, at 5:03 PM, Bruce Cresanta wrote:
> I am using a webarchive for editing purposes. Is there a way to
> disable links via the delegate protocols? It's distracting to try to edit
> link text (which really doesn't work anyway) and getting pulled off the page.
Return NO from
On Feb 3, 2011, at 9:38 PM, Greg Parker wrote:
> On Feb 3, 2011, at 6:18 PM, Jeff Kelley wrote:
>> I’m trying to use objc_msgSend_stret to call -bounds on a UIScreen. I have
>> the following code:
>>
>>> SEL bounds = NSSelectorFromString(@"bounds");
>>> CGRect screenBounds;
>>> objc_msgSend_stre
On Thu, Feb 3, 2011 at 6:18 PM, Jeff Kelley wrote:
> I’m trying to use objc_msgSend_stret to call -bounds on a UIScreen. I have
> the following code:
You need to explicitly #import (or
, where the declaration really lives). Otherwise, the
compiler will issue a warning (which you should have see
On Feb 3, 2011, at 6:18 PM, Jeff Kelley wrote:
> I’m trying to use objc_msgSend_stret to call -bounds on a UIScreen. I have
> the following code:
>
>> SEL bounds = NSSelectorFromString(@"bounds");
>> CGRect screenBounds;
>> objc_msgSend_stret((void *)&screenBounds, screen, bounds);
>
> The decla
I’m trying to use objc_msgSend_stret to call -bounds on a UIScreen. I have the
following code:
> SEL bounds = NSSelectorFromString(@"bounds");
> CGRect screenBounds;
> objc_msgSend_stret((void *)&screenBounds, screen, bounds);
The declaration of objc_msgSend_stret in the Xcode code sense pop-up
Hello,
I am using a webarchive for editing purposes. Is there a way to
disable links via the delegate protocols? It's distracting to try to edit
link text (which really doesn't work anyway) and getting pulled off the page.
Thanks,
Bruce
_
On Feb 3, 2011, at 1:32 PM, Paul Morel wrote:
> in my application I would need to save an image where pixel intensities are
> floating point values. Apparently TIFF can support that.But I don't know I
> can do that in Objective-C. I saw that there is a bitmap format
> "NSFloatingPointSamplesBit
On 28 Jan 2011, at 21:34, jonat...@mugginsoft.com wrote:
> Does NSTextView officially support line wrapping with the horizontal scroller
> remaining visible?
> I have a placard in my scroller and don't want to remove it along with the
> scroller when I toggle between line wrapping and non wrapp
On Feb 3, 2011, at 3:05 PM, Jerry Krinock wrote:
> Thanks, Glenn, and thanks, Matt, for the explanation.
>
> So I added a parameter to my method which one can use to get the performance
> improvement only if they are willing to compromise accuracy and parsing of
> numbers written in "e" notati
True, you can do the affine transform, but that doesn't cover all cases of
alternate glyphs that should be used for different scripts in different
directions.
It also doesn't really alter the way the cursor appears or how input methods
appear. For many languages, this becomes a complicated user
Hi,
in my application I would need to save an image where pixel intensities are
floating point values. Apparently TIFF can support that.But I don't know I can
do that in Objective-C. I saw that there is a bitmap format
"NSFloatingPointSamplesBitmapFormat" that can be used. Does anybody knows ho
Thanks, Glenn, and thanks, Matt, for the explanation.
So I added a parameter to my method which one can use to get the performance
improvement only if they are willing to compromise accuracy and parsing of
numbers written in "e" notation. Also, I chose a name which is less likely to
used by Ap
I just figured out what it was.
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSLog(@"%@", [[NSBundle bundleForClass:[self class]] bundlePath]);
NSLog(@"%@", [[NSBundle bundleForClass:[self class]]
pathForResource:@"Localizable" ofType:@"strings"]);
I'm doing a photo browser of sorts, as part of a larger app. We display a few
thumbnails, and if the user taps one, they're presented with the full-size
image.
The problem is that I start with the large images, and when I set them on the
small UIImageView, they're scaled down and look pretty ba
NSLog(@"%@", NSLocalizedStringFromTableInBundle(@"Upload File", nil, [NSBundle
bundleForClass:[self class]], nil));
Just to be clear that it is in fact coming from the same bundle.
The output is Upload File
So it obviously is not reading from the Localized.strings file. I don't know
why, but the
I am aware of this, this is an Application and both the strings are in the Copy
Bundle Resources build phase and appear in the application the way the should.
But for some reason, it doesn't work.
On Feb 3, 2011, at 12:40 PM, Uli Kusterer wrote:
> On 03.02.2011, at 19:33, Mr. Gecko wrote:
>> He
On 03.02.2011, at 19:33, Mr. Gecko wrote:
> Hello, I'm having a problem where NSLocalizableString isn't working in one of
> my projects but it is working perfectly fine in a test project made just to
> verify it is the project. I copied the same strings from one project to the
> other and it all
Hello, I'm having a problem where NSLocalizableString isn't working in one of
my projects but it is working perfectly fine in a test project made just to
verify it is the project. I copied the same strings from one project to the
other and it all works... Has anyone experienced this problem? If
Thanks for the informative and quick reply. I'll go ahead with the bug
report.
Brian
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
On Feb 3, 2011, at 10:35 AM, Jerry Krinock wrote:
> -[NSScanner scanDecimal:] takes an average of 4 milliseconds to scan a short
> string of decimal digits, which means tens of seconds for thousands of scans,
> which is unacceptable for my application. Also, excessive memory allocations
> req
Probably because you aren't comparing like-for-like; did you try comparing it
with [NSScanner scanDouble:] instead?
Your code wouldn't cope with the HUGE range of numbers that scanDecimal could
be required to cope with, nor the variety of formats that NSDecimalNumber could
scan.
Do you really
-[NSScanner scanDecimal:] takes an average of 4 milliseconds to scan a short
string of decimal digits, which means tens of seconds for thousands of scans,
which is unacceptable for my application. Also, excessive memory allocations
require a local autorelease pool around each invocation.
Surpr
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSAffineTransform_Class/Reference/Reference.html
NSAffineTransform?
If you read the Drawing and Graphics documents on the developer website, they
talks about the view, its bounding box, and how to achieve
Thanks for your reply Luke, and that was a great explanation. In the end it
was me misunderstanding how the mechanism works. Your succeeded in making
something that seemed like voodoo to me, become much clearer and less voodoo
and more clever engineering.
Regards,
JD
On Feb 02, 2011, at 08
The reason I did it the way I stated was that it is a retrofit of CoreData,
and I didn't want to have to change a slew of accessor calls in existing
code. Otherwise, I would agree. Doing it my way does require four
accessors to be written instead of two. The form is similar for all
scalers, so I
Hello list,
I'm experiencing a strange behavior on the part of NSFetchedResultsController
and I can't seem to find why, although I suspect it's something utterly simple
that I'm just not seeing.
Here's the setup. I have a list of some 20 keys the user can choose from to
sort some experimental
On 03.02.2011, at 15:58, John Joyce wrote:
> Not all human writing has a historical root in top-left to lower-right
> direction!
Just didn't want to confuse things even more by only talking about
top-to-bottom, it doesn't really have much impact on this discussion. But it's
certainly an intere
On Feb 3, 2011, at 8:51 PM, Uli Kusterer wrote:
> On 03.02.2011, at 04:19, Todd Heberlein wrote:
>> During the recent text orientation/position thread a couple of things caught
>> my attention: (1) the text system seemed designed to have a flipped view
>> (origin in the upper left), and (2) the
On 03.02.2011, at 04:19, Todd Heberlein wrote:
> During the recent text orientation/position thread a couple of things caught
> my attention: (1) the text system seemed designed to have a flipped view
> (origin in the upper left), and (2) the iOS version of an NSView, the UIView,
> also has an o
Hi folks
> The problem I have is that specifying NSViewWidthSizable as part of the
> resizing mask means that the parent form can no longer resize.
>
> Have I missed something simple?
As it happens, this was simply due to the fact that something in the NIB file
had gotten screwed up.
Once I r
On Feb 2, 2011, at 9:22 PM, Omar Hagopian wrote:
> Hi there!
>
> I am planning to implement a component similar to the iphone's photo album..
> I guess that using uviews will make the component to have a bad performace ,
> I mean scrolling slow and all of the stuff ... so which way should I t
Hi folks
I am trying to create a multi-tab NSTabView window, whose tab contents are only
created when the tab is clicked on.
I have set the resizing on the tab view, in IB, to follow the size of the main
form.
I have created another view, to be inserted into the NSTabViewItem, in a
separate N
35 matches
Mail list logo