On Fri, Aug 20, 2010 at 8:21 AM, Steve Steinitz
wrote:
> - Removed any stray mopping models, just in case
>
I didn't see your question until you'd already solved it yourself, but
I just wanted to highlight this one point; Assumming you're referring
here to old .mom files, I'd almost bet money tha
Hi All,
I am trying to decode a Yahoo chat file which has been encoded using
NSArchiver. The problem is I don't have the definition of the class it has
encoded and I want to be able to decode it to view the chat conversation.
Any ideas on how I go about working out the definition to decode the f
Hi,
I have a subclass of CALayer (below self) and it has a sublayer (textLayer).
I want self to be shrank and enlarges, so I created animations like
the following:
CABasicAnimation *fadeInAnimation;
fadeInAnimation=[CABasicAnimation animationWithKeyPath:@"opacity"];
fadeInAnimation.repeatCo
Hi,
Is it possible to save a screen shot of last running application screen as
the app loading screen next time..
I see may be Maps iPhone application does something similar to that instead
loading static Default.png image.
Could someone kindly clarify this ??
Thanks and Kind Regards,
Tharindu
On Aug 19, 2010, at 7:54 PM, Quincey Morris wrote:
> On Aug 19, 2010, at 12:44, Brian Postow wrote:
>
>> ah, so, the way to zoom is to leave the NSImageView on
>> NSImageScaleProportionallyUpOrDown, and then change the size of the frame!
>> That gives me scrollbars!
>
> I had to go out for a
On Aug 19, 2010, at 10:56 PM, Kyle Sluder wrote:
> On Thu, Aug 19, 2010 at 4:54 PM, Quincey Morris
> wrote:
>> On Aug 19, 2010, at 12:44, Brian Postow wrote:
>>
>>> ah, so, the way to zoom is to leave the NSImageView on
>>> NSImageScaleProportionallyUpOrDown, and then change the size of the fr
It is not, no. You're not allowed to replace anything in the bundle.
You could start with a black Default.png and then very quickly load your own
shot into an image view while the rest of your apps loads. Probably depends on
your use case.
On Aug 20, 2010, at 5:15 AM, Tharindu Madushanka wrote:
Thanks to all for support!
-koko
On Aug 20, 2010, at 9:11 AM, Ken Thomases wrote:
On Aug 19, 2010, at 8:43 PM, Sherm Pendley wrote:
On Thu, Aug 19, 2010 at 9:32 PM, Murat Konar wrote:
CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint
point);
But heed the other's hints that,
You know, sometimes it just helps getting other developers perspectives to help
you look at a bug from a different angle (even though you think you're doing
this by yourself). The code works fine for me too! My problem is I had the
WRONG ENCODING when I use the converted string to create the d
Hello,
I have been googling for a while now and have tried a few suggestions I
have found in other like posts but have not had much success.
I'm trying to create a stand alone Foundation tool which will connect to
MySQL and I can get this to work if I link to the "libmysqlclient.dylib"
library. Bu
On Fri, Aug 20, 2010 at 1:26 PM, Heizer, Charles wrote:
>
> I have been googling for a while now and have tried a few suggestions I
> have found in other like posts but have not had much success.
>
> I'm trying to create a stand alone Foundation tool which will connect to
> MySQL and I can get thi
On Aug 20, 2010, at 06:46, Brian Postow wrote:
> If I don't want to be using NSImageView, what DO I want to be using? I
> started out trying to use IKImageView, but that is swatting a fly with a
> bazooka. It takes like 2 seconds to draw the image because its doing lots of
> thumbnailing and s
Hi
I'm trying to embed a couple of the system pref panes into an app by following
the Apple documented method, here's basically whats going on:
NSBundle *bundle = [NSBundle
bundleWithPath:@"/System/Library/PreferencePanes/SharingPref.prefPane"];
Class principalClass = [bundle principalClass];
pr
Hey!
On 20/Aug/2010, at 1:44 AM, Jon Guy wrote:
> This is not something hacky, it is documented by Apple and is supposed to
> work but it's clearly not or I'm doing something wrong.
A shot in the dark however...
What OS version are you running and is it in 32 of 64 bit mode? There was a
time w
On Aug 20, 2010, at 1:35 PM, Quincey Morris wrote:
> On Aug 20, 2010, at 06:46, Brian Postow wrote:
>
>> Ok,. Since the NSImageView wants to always center the image in the bounds
>> rect, that should make the translation (moving the origin) not too hard, yes?
>
> Yes, though I'd say it differe
On Aug 20, 2010, at 3:44 AM, Jon Guy wrote:
> Hi
> I'm trying to embed a couple of the system pref panes into an app by
> following the Apple documented method, here's basically whats going on:
>
> NSBundle *bundle = [NSBundle
> bundleWithPath:@"/System/Library/PreferencePanes/SharingPref.pref
Open the file in a hex editor (0xED, for example), if it has the text "plist"
near the beginning, it may have been archived with NSKeyedArchiver. If instead
it displays 0x3 or 0x4 followed by 0xb followed by "typedstream" or
"streamtyped" at the beginning of the file, it was probably archived wi
Thanks for the quick response. So I just tried this and I'm having the
same issue.
I changed my "Other linker flags" as suggested and when I try to run this
without the libmysqlclient.dylib in my path it still complains ...
/Users/local/Desktop/new/MySQLTest2
dyld: Library not loaded: libmysql.1
On Fri, Aug 20, 2010 at 2:03 PM, Heizer, Charles wrote:
> Thanks for the quick response. So I just tried this and I'm having the
> same issue.
>
> I changed my "Other linker flags" as suggested and when I try to run this
> without the libmysqlclient.dylib in my path it still complains ...
What di
So I did a "Clean All" and here is what is in the link step.
Ld build/Release/MySQLTest2 normal i386
cd /Users/heizer1/Desktop/MySQLTest2
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot
/Developer/SDKs/MacOSX10.5.sdk
-L/Users/local/Desktop/MySQLTest2/build/Rele
bump*
On Thu, Aug 19, 2010 at 10:47 AM, Ahsan Shafiq wrote:
> Hi
> I have read that in explicit animation, say translation, to really change
> the model layer position we have to change it's position too. So here is my
> code:
>
> CABasicAnimation *animation =
> [CABasicAnimation
I found it "-lmysqlclient" I removed the "libmysqlclient.a" from my
external frameworks. And I was good to go. I had the "External Frameworks
and Libraries" group closed so I did not see it.
Thanks for all of your help!
Charles
--
Charles Heizer
Systems Management Solutions Group
Lawrence Liver
I'm still having some serious issues. I've tried all suggestions from all
three responses. One or two of the suggestions worked once or twice, but
nothing worked reliably.
Is it possible that the dataModel itself is corrupt? I rebuilt it by creating
a new data model and copying all of the o
On Aug 20, 2010, at 10:54, Brian Postow wrote:
> I just discovered [imageView setImageAlignment: ] which, as long as the
> imageView is bigger than the scrollview, does the correct thing (Lock the
> image to the upper left corner of the scrollView). However, when the
> imageView is smaller
On Aug 20, 2010, at 2:52 PM, Quincey Morris wrote:
> On Aug 20, 2010, at 10:54, Brian Postow wrote:
>
>> I just discovered[imageView setImageAlignment: ] which, as long as the
>> imageView is bigger than the scrollview, does the correct thing (Lock the
>> image to the upper left corner of
On Aug 20, 2010, at 11:48, Brad Gibbs wrote:
> - (NSManagedObjectModel *)managedObjectModel {
Here's what the lightweight migration documentation says:
> To perform a lightweight migration, Core Data needs to be able to find the
> source and destination managed object models itself at runtime.
Am 20.08.2010 um 10:44 schrieb Jon Guy:
> I'm trying to embed a couple of the system pref panes into an app by
> following the Apple documented method, here's basically whats going on:
<...>
I've slightly modified your code (mainWindow is the apps main window) to look
like this:
NSBundle *pr
This could be cocoa-related or Xcode-related, so I will
probably eventually do separate posts to the two lists, but
I thought I would start here.
I am using Xcode 3.2.2 to write an iPad app, using the SDKs that
came with it (all public to developers now), running on the simulator.
All is well, til
Bill Bumgarner wrote:
> Preference panes are not designed to be embedded into applications other than
> the System Preferences application. Even if you were to make it work (which
> would require duplicating all of the internal functionality of the System
> Preferences application), you are s
Addendum: I should also have said that my implementation's
"didReceiveMemoryWarning" contains nothing at present but the
canonical call to [super didReceiveMemoryWarning], and that
the crash occurs even when I comment out the entire overwrite
of "didReceiveMemoryWarning".
-- Jay Reynolds Freeman
On Aug 20, 2010, at 12:13, Brian Postow wrote:
> So, just to clarify, the whole hierarchy is Window> ContentView > ScrollView
> > ClipView > ImageView > Image? I take the "ContentView" to mean the content
> view of the window, or is there some other view between the scrollview and
> the clipvie
Hey,
I'm trying to use CGEvent to create a pinch/magnify event, but I can't find any
info on how to do it. I see there's a NSEventTypeMagnify for NSEvent, but the
magnification factor does not seem settable. Even if it was, weird things
happen when you try to convert an NSEvent to a CGEvent. So
On Aug 20, 2010, at 2:33 PM, Gregory Weston wrote:
> Bill Bumgarner wrote:
>
>> Preference panes are not designed to be embedded into applications other
>> than the System Preferences application. Even if you were to make it work
>> (which would require duplicating all of the internal functi
I'm currently starting a project that involves buffering a large number of
video frames, and blending between them based on a depth map (i.e depth 0 =
current frame, previous frames are blended in based on values from the depth
map). I'm currently using the QTCoreVideo201 as a guide for buffering i
___
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(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com
> CABasicAnimation *animation =
> [CABasicAnimation animationWithKeyPath:@"bounds"];
> CGRect orgVal = CGRectMake(0, 0,
> firstWheelLayer.bounds.size.width, firstWheelLayer.bounds.size.height);
> CGRect newVal = CGRectMake(0, 0,
> firstWheelLayer.bou
On 8/18/10, Gideon King wrote:
> I have a relatively large area on my NSView that I want to tile images into.
> I tried using CIAffineTile, but it gives me the following error: "CoreImage:
> ROI is not tilable" for even moderately large images (for small images, it
> works exactly as I want it to)
On 8/20/10, Ignacio Enriquez wrote:
> Hi,
>
> I have a subclass of CALayer (below self) and it has a sublayer (textLayer).
> I want self to be shrank and enlarges, so I created animations like
> the following:
> self is animated as expected but sublayer textLayer is not resized, it
> just chang
I have a Core Data entity with an associated class file and a bunch of dynamic
properties defined. One of them is:
@property (nonatomic, copy) NSString* urlName;
For some reason, every now and again when my code goes to access this property,
it throws an exception for accessing a zomb
Thanks for that Michael - I'd missed that.
I think what I'll do is what you suggest: exclude the subwindows then
add them myself in the correct order and see if that works. I have to modify
their titles anyway.
On 20/08/2010, at 4:23 AM, Michael Dautermann wrote:
>
> On Aug 18, 2010,
On 20 aug 2010, at 18.50, Rick Mann wrote:
> I have a Core Data entity with an associated class file and a bunch of
> dynamic properties defined. One of them is:
>
> @property (nonatomic, copy) NSString* urlName;
>
> For some reason, every now and again when my code goes to access this
It's only ever assigned in one place, and inspection of that code shows that
the original string it's assigned from is autoreleased. Everywhere else it is
referenced, it is read (passed in to -[stringWithFormat:] as one of the
arguments, always with %@ as the format specifier).
I'll try Instrum
42 matches
Mail list logo