On Jan 14, 2011, at 5:23 AM, Remco Poelstra wrote:
> I add the observer as follows:
> [[DigiDevicesManager sharedDigiDevicesManager] addObserver:self
> forKeyPath:@"digiDevices" options:NSKeyValueObservingOptionOld context:nil];
> It's superclass is NSObject and I did not disable automatic
On 14 Jan 2011, at 23:35, Kyle Sluder wrote:
> On Fri, Jan 14, 2011 at 1:17 PM, Shawn Bakhtiar
> wrote:
>> Don't listen to the naysayers... You can do whatever you want.
>
> Sure, but koko asked how he could tell an NSSegmentedCell to draw its
> image and its text. It's apparent that the autho
Hi Ken,
On Jan 15, 2011, at 7:36 AM, Ken Ferry wrote:
> I'm not sure this has been made clear: It is intentional that it is
> difficult to determine whether a dictionary is mutable.
>
> That's because you shouldn't do it. Whether a dictionary is mutable _to_you_
> is a matter of what's in
On Jan 15, 2011, at 5:38 AM, Tito Ciuro wrote:
> On Jan 15, 2011, at 7:36 AM, Ken Ferry wrote:
>
>> I'm not sure this has been made clear: It is intentional that it is
>> difficult to determine whether a dictionary is mutable.
>>
>> That's because you shouldn't do it. Whether a dictionary i
On Jan 15, 2011, at 1:04 PM, Ken Thomases wrote:
> On Jan 15, 2011, at 5:38 AM, Tito Ciuro wrote:
>
>> On Jan 15, 2011, at 7:36 AM, Ken Ferry wrote:
>>
>>> I'm not sure this has been made clear: It is intentional that it is
>>> difficult to determine whether a dictionary is mutable.
>>>
>>>
Hi Amy,
It might be helpful if you could post an extract from your mapping method, or
the whole thing if it's short. The last time I had a problem of this kind it
turned out I had made a stupid error which only became obvious after I had left
the problem for a week and then returned to it with
This may be obvious to people, but it took me a while to figure out, so I
thought I'd post it in case it saves someone a bit of time.
My application is structured with a split view controller as the main interface
element. The root view has a primary controller, and a second one which is
pushe
Le 15 janv. 2011 à 13:18, Tito Ciuro a écrit :
> On Jan 15, 2011, at 1:04 PM, Ken Thomases wrote:
>
>> On Jan 15, 2011, at 5:38 AM, Tito Ciuro wrote:
>>
>>> On Jan 15, 2011, at 7:36 AM, Ken Ferry wrote:
>>>
I'm not sure this has been made clear: It is intentional that it is
difficu
NSNotFound is formally defined as NSIntegerMax. But the framework
methods returning NSNotFound are typically typed NSUInteger.
Is there a technical reason why NSNotFound is not defined as
NSUIntegerMax?
--Richard Somers
___
Cocoa-dev mailing lis
On 15 Jan 2011, at 18:43, Richard Somers wrote:
> NSNotFound is formally defined as NSIntegerMax. But the framework methods
> returning NSNotFound are typically typed NSUInteger.
>
> Is there a technical reason why NSNotFound is not defined as NSUIntegerMax?
1) Because it's usable for NSIntege
When requesting a thumbnail, it's up to the underlying plug-in to honor the
requested size.
If icon == NO, Quick Look will return the plug-in's image result as is.
If icon == YES, Quick Look will force the requested size (because it adds
icon decoration which should match the requested size) - so
Hi Ken,
You may want to ask on the colorsync-users mailing list as well as give
sample before/after images. My quick test produced some degradation, but
not more than I would expect. I'm not sure if you're seeing something else
or if you expect the RGB->CMYK->RGB (when it goes back to the screen
I am creating views which are being prepared for view swapping in the
init method of my apps main controller. So the view controllers exists
and each view controller's init method calls initWithNibName:.
My problem is that, if I swap views by selecting a view so that it is
displayed, when I load m
Hi Olivier,
Unless I misread this, this section cannot be doing anything helpful:
NSImageView *tempIm = [[NSImageView alloc] initWithFrame:frontRect];
> [tempIm setImage:[cusThumbFront image]];
>
> NSData* theData = [tempIm dataWithPDFInsideRect:[tempIm bounds]];
> NSPDFImageRep* pdfRep = [NSPDFI
On 16/01/2011, at 8:49 AM, Shane wrote:
> So I guess my question is, how do I make sure my view is able to
> receive the data I want sent to it before it is ever displayed. I hope
> that makes sense.
Put the initialization in the -awakeFromNib method of that view.
--Graham
__
On Jan 15, 2011, at 1:49 PM, Shane wrote:
> I am creating views which are being prepared for view swapping in the
> init method of my apps main controller. So the view controllers exists
> and each view controller's init method calls initWithNibName:.
>
> My problem is that, if I swap views by s
>> So I guess my question is, how do I make sure my view is able to
>> receive the data I want sent to it before it is ever displayed. I hope
>> that makes sense.
>
>
> Put the initialization in the -awakeFromNib method of that view.
>
I moved the view swapping setup from the init to the awakeFro
> If this is iOS, -initWithNibName doesn't actually load the nib immediately,
> so the outlets won't be connected until such time as the nib is loaded, which
> doesn't happen until something tries to access the view. Instead, you should
> initialize your outlets' data in the -viewDidLoad method.
Hi List,
I am trying to learn core data and have a very basic question on how to set up
a one-to-many relationship. Can someone look at the screen shots (links below)
and provide some guidance. Do I have this set up correctly?
CDSites
CDAnnotations
My Entity "CDSites" will have Many "CDAnnot
Well, not sure if this is correct, but I got it to work by calling
loadView on the view's controller just after it was created.
// ...
dvc = [[DataDetailsViewController alloc] initWithController:self];
[dvc setManagedObjectContext:[self managedObjectContext]];
[deta
Thanks, Julien. This is helpful.
On Jan 15, 2011, at 2:28 PM, Julien Jalon wrote:
> When requesting a thumbnail, it's up to the underlying plug-in to honor the
> requested size.
>
> If icon == NO, Quick Look will return the plug-in's image result as is.
>
> If icon == YES, Quick Look will forc
Hello all,
Cannot seem to find this in the HIG.
What type of image would give the inverted look of the built in media types
(NSQuicklookTemplate for example) when in a Textured Square Button or Segmented
control?
The images appear black with a clear alpha in Interface Builder.
I've tried png,
On Jan 15, 2011, at 8:13 PM, John Joyce wrote:
> Cannot seem to find this in the HIG.
> What type of image would give the inverted look of the built in media types
> (NSQuicklookTemplate for example) when in a Textured Square Button or
> Segmented control?
>
> The images appear black with a cle
On Sat, Jan 15, 2011 at 7:15 PM, Ken Thomases wrote:
> On Jan 15, 2011, at 8:13 PM, John Joyce wrote:
>
> > Cannot seem to find this in the HIG.
> > What type of image would give the inverted look of the built in media
> types (NSQuicklookTemplate for example) when in a Textured Square Button or
On Jan 15, 2011, at 9:41 PM, Ken Ferry wrote:
>
>
> On Sat, Jan 15, 2011 at 7:15 PM, Ken Thomases wrote:
> On Jan 15, 2011, at 8:13 PM, John Joyce wrote:
>
> > Cannot seem to find this in the HIG.
> > What type of image would give the inverted look of the built in media types
> > (NSQuickloo
On Sat, Jan 15, 2011 at 7:44 PM, John Joyce <
dangerwillrobinsondan...@gmail.com> wrote:
>
> Thanks so much!!
>
No problem.
Arguably, that release note stuff is darn hard to look through. Search
> results generally don't seem to find it.
I'll file a bug on the HIG docs or on IB docs to get that
I've got an Xcode project that compiles and works fine.
The short question now is: what is the proper way to change the bundle's name
from the command line?
(and, at the same time, its executable name)
A little bit of background information might be in order.
I am writing a screensaver.
Now some
I'm working on my first Cocoa / Objective-C app: an "external editor" for
iPhoto. Actually, it isn't an editor at all - its sole purpose is to replace
the Modified image with a user-selected image from disk. In this way a user
can select an Original in iPhoto, double-click to edit, then find t
Hello.
I have a window in my application for which I have set resize
increments. When I click the zoom button in the window's title
bar, sometimes it obeys the resize increments, i.e. the window
fills the screen as much as possible without violating the resize
increments. But sometimes the window
My question is: can I get a scripting bridge handle on iPhoto without making
iPhoto launch?
And can I retrieve a list of iPhoto albums and a list of images in an album
without making iPhoto launch?
Right now, I am using
iPhoto_ = [[SBApplication
applicationWithBundleIdentifier:@"com.apple.iP
Hi Gabriel,
No, you cannot.
Scripting Bridge works by sending messages back and forth with a target
process. If there is no process running, there isn't anything to
communicate with. A scripting dictionary does not (and cannot) include
information about how to access the on disk data iPhoto use
On Jan 14, 2011, at 7:55 AM, Gabriel Zachmann wrote:
> I've got an Xcode project that compiles and works fine.
>
> The short question now is: what is the proper way to change the bundle's name
> from the command line?
Assuming your project is set up like normal (e.g. with Info.plist values base
32 matches
Mail list logo