H Scott
>> I've worked on projects where other people have made the app delegate
>> responsible for everything and the kitchen sink. It's one thing to have a
>> few core data stack methods in the app delegate; it's another to do a lot of
>> one's core data tasks in the app delegate. Personally,
On Apr 18, 2011, at 12:56 AM, Andy Lee wrote:
> * What if you don't use NSFileManager to rename the directory, but
> rename([shootPath UTF8String], [newShootPath UTF8String])?
Minor quibble: Use -fileSystemRepresentation to get C strings for BSD/POSIX
APIs working with file paths.
Cheers,
Ken
Hi Greg
> A narrow technical reason: Objective-C's type system is limited when it comes
> to class objects. Singleton instances are better supported.
Do you mean in that static fields are not supported, or something else?
Joanna
--
Joanna Carter
Carter Consulting
_
Dear all,
Recently, I need to do the following:
1. add a sub view of a view controller onto the window.
2. Make it fit the bottom of the window. That is, the bottom side of the
view and the bottom of the window will
coincide.
3. When the device rotated, the height of the subview will not be change
For not using autoresizing masks, is it that you don’t want to use
them (theological reasons) or you can’t (pragmatic reasons)?
Please just use them if possible, will save lots of wasted hours
wrestling the frameworks. Don’t fight the frameworks :)
Otherwise, try willAnimateRotationToInterfaceOr
On Apr 18, 2011, at 5:05 AM, Joanna Carter wrote:
> Yes; after the first few projects, based on the default Core Data project
> template, I started to realise that this (separating out the Core Data stack)
> was an excellent case for a singleton/static class.
>
> Can someone tell me if it is ju
Hi all,
I'm trying to use the new 10.6 NSPasteboard APIs. In NSPasteboard.h
there's a section "The recommended approach for reading URLs" which is
what I'm using.
I'm trying to allow drops of any flat file URL (no folders, packages,
volumes, http URLs, ftp URLs, etc.).
So I use kUTTypeData for
Hi Steven
> How? If you don't have an instantiation of the class you don't have
> anywhere to store the data.
> Either I am misunderstanding what you are saying or you are missing my
> suggestion of class methods.
> Perhaps you could explain?
// StaticClass.h
@interface StaticClass : NSObject
{
Hi all,
I seem to have acquired a repeatable crash problem - which has only
just appeared.
The log looks like this :-
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
PID: 223
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x5079
Thread 0 Cras
On Apr 18, 2011, at 1:26 PM, Peter Hudson wrote:
> Hi all,
>
> I seem to have acquired a repeatable crash problem - which has only just
> appeared.
> The log looks like this :-
>
> OS Version: 10.4.11 (Build 8S2167)
> Report Version: 4
>
>
> PID: 223
> Thread: 0
>
> Exception: EXC_BAD_ACCES
On 18 Apr 2011, at 12:38 PM, Nick Zitzmann wrote:
> Did you save the dSYM from when you built the shipping product? If so, then
> you can use dwarfdump with the --lookup option to look up that address. Don't
> forget to include the architecture from the crash log.
atos can also read .dSYMs ---
What is the dSYM - and this output was produced from a debug build.
Peter
On 18 Apr 2011, at 20:38, Nick Zitzmann wrote:
On Apr 18, 2011, at 1:26 PM, Peter Hudson wrote:
Hi all,
I seem to have acquired a repeatable crash problem - which has only
just appeared.
The log looks like this :-
On Apr 18, 2011, at 2:09 PM, Peter Hudson wrote:
> What is the dSYM - and this output was produced from a debug build.
dSYM bundles are created if you (1) turned on debugging symbols, and (2) set
the information format to "DWARF with dSYM," both in the project or target
build settings. I would
Thanks for this Nick - I'll give it a go !
I've hunted around on the web for material on using dwarfdump - but
can't find anything much.
Any suggestions appreciated !
Peter
On 18 Apr 2011, at 21:17, Nick Zitzmann wrote:
On Apr 18, 2011, at 2:09 PM, Peter Hudson wrote:
What is the dS
I'm trying to get a row of buttons to look and behave like the buttons across
the Preview app's preference window. It seems like a nicer way to do a tabbed
view.
Is that just an NSToolbar with custom graphics/icons, or is that NSMatrix with
icon radio buttons? Or is it something else entirely?
In cases alike I sometimes find the UIElementInspector application
quite helpful to get an idea about which objects make up a view
hierarchy.
- Peter
Am 19.04.2011 um 00:50 schrieb Todd Heberlein:
I'm trying to get a row of buttons to look and behave like the
buttons across the Preview a
See "Selectable Toolbar Items" in Toolbar Programming Topics. The art is rather
out of date so it's not obvious that it's what you're looking for.
On Apr 18, 2011, at 3:50 PM, Todd Heberlein wrote:
> I'm trying to get a row of buttons to look and behave like the buttons across
> the Preview app
On 2011 Apr 18, at 13:36, Peter Hudson wrote:
> I've hunted around on the web for material on using dwarfdump - but can't
> find anything much.
> Any suggestions appreciated !
Here is my "cheat sheet" for symbolizing crash dumps. Fortunately, I don't
need to use it often enough to remembe
Hi Evadne,
Thanks for your reply! I tried the
"willAnimateRotationToInterfaceOrientation:duration:" as you mentioned. And
so far, so good.
Best regards
Leon
2011/4/18 Evadne Wu
> For not using autoresizing masks, is it that you don’t want to use
> them (theological reasons) or you can’t (pragm
I have created a service by using Automator and a "run shell script".
The problem is that just like all the Automator services I have it tends do be
too slow so I'm considering a rewrite into something more "native".
I seem to remember there was a well documented section in the developer
docume
In an app I am working on I have the below code to detect physical DVDs
attached to the computer.
io_iterator_t dvdDeviceList;
CFMutableDictionaryRef classesToMatch;
kern_return_t result = KERN_FAILURE;
// Get an iterator for all DVD devices
classesToMatch = IOServiceMatching(kIODVD
Hi All,
This is probably a simple question for someone other than I.
I have a very simple CALayer which is a simple plain layer with a white
background. I then create a CABasicAnimation and add it to the actions property
to animate the @"opacity". From here I setup a timer to fire and toggle th
On Apr 18, 2011, at 18:45, Jean-Christophe Helary wrote:
> I have created a service by using Automator and a "run shell script".
>
> The problem is that just like all the Automator services I have it tends do
> be too slow so I'm considering a rewrite into something more "native".
>
> I seem to
Suppose a user is editing a cell in a table, and I would like to call
reloadData in order to reflect updates that have arrived asynchronously. What
would I need to do in order to preserve the user's editing state, including
current selected cell and its text selection? (This would need to work 1
Hi Jerry
Many thanks for theSTEPS TO SYMBOLIZE A CRASH DUMP.
I'll pick my way through it.
Peter
___
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
25 matches
Mail list logo