On Feb 27, 2013, at 10:46 PM, "Gerriet M. Denkmann"
wrote:
>
> On 28 Feb 2013, at 02:28, Tony Parker wrote:
>
>> On Feb 26, 2013, at 10:56 AM, Gerriet M. Denkmann
>> wrote:
>>>
>>> On 27 Feb 2013, at 01:00, Gwynne Raskind wrote:
>>>
> 2. NSKeyedArchiver seems to be ok.
>But i
Assume I do:
ThingWhichKnowsItsContainer *a = [[ ThingWhichKnowsItsContainer alloc ] init];
NSArray *array = @[ a ];
a.theContainer = array;
NSData *d = [ NSKeyedArchiver archivedDataWithRootObject: array];
NSArray *unarchivedArray = [ MyVeryOwnUnarchiver: unarchiveObjectWithData: d ];
MyVeryOwnU
On 28 Feb 2013, at 02:28, Tony Parker wrote:
> On Feb 26, 2013, at 10:56 AM, Gerriet M. Denkmann
> wrote:
>>
>> On 27 Feb 2013, at 01:00, Gwynne Raskind wrote:
>>
2. NSKeyedArchiver seems to be ok.
But it does create unnecessary data. E.g. in the case of an array
containi
On 28/02/2013, at 2:03 PM, Kyle Sluder wrote:
> 1. Did you actually verify that you're setting the install name of the dylib
> to the correct value?
>
> 2. You should probably use @rpath instead of @executable_path.
>
> Do read Mike Ash's blog post on the topic of install name. It's a bit ter
On Feb 27, 2013, at 6:53 PM, Graham Cox wrote:
> Hi all,
>
> I have a private dylib that my app links to. This dylib is copied into the
> app's bundle (at the moment into /Frameworks, this might be the wrong place),
> but at runtime this isn't found, as it appears to be searching in
> /usr/lo
Hi all,
I have a private dylib that my app links to. This dylib is copied into the
app's bundle (at the moment into /Frameworks, this might be the wrong place),
but at runtime this isn't found, as it appears to be searching in
/usr/local/lib/.
What setting do I need to add to ensure that at ru
I have users still reporting this to me on 10.8.2. I am calling
kProcessTransformToForegroundApplication in initialize maybe this is my problem?
On Feb 28, 2013, at 9:48 AM, Seth Willits wrote:
>
> Yeah, there's nothing you can do about it (and as I recall it wasn't a big
> deal anyway). W
Yeah, there's nothing you can do about it (and as I recall it wasn't a big deal
anyway). When I first heard about it, it was right around 10.7.0 so it was
users either on 10.6 or early 10.7. I haven't heard a user complain about it in
a long time, so it was probably fixed somewhere in later 10.
Quincey and John,
Thank you both for the replies and opinions. I do like the factory method
approach, however there is something about a mandatory process or workflow for
using an object that seems like it should naturally be put in an init method.
It sometimes strikes me a little weird when I
Thanks for the followup Greg.
Chris
On Wed, Feb 27, 2013 at 5:05 PM, Greg Parker wrote:
> On Feb 27, 2013, at 4:52 PM, Chris Markle wrote:
>> Anyone have any success using this on technique to annotate crash
>> reports on iOS?
>
> The iOS crash reporter does not support these annotations. Sorry
Yes that's it! So if there's no solution for now I guess I'm stuck... :-(
And to answer previous questions yes both icons point to the same location...
On Feb 28, 2013, at 8:20 AM, Seth Willits wrote:
>
> For what it's worth, I'm certain there's a bug in some versions of OS X where
> apps
On Feb 27, 2013, at 4:52 PM, Chris Markle wrote:
> Anyone have any success using this on technique to annotate crash
> reports on iOS?
The iOS crash reporter does not support these annotations. Sorry.
--
Greg Parker gpar...@apple.com Runtime Wrangler
_
In "Application Specific Crash Report Information"
(http://mjtsai.com/blog/2013/02/27/application-specific-crash-report-information/)
Michael Tsai notes:
* * * his comments * * *
Wil Shipley shows how an application can add information to a crash
log by assigning to a special string variable. I se
For what it's worth, I'm certain there's a bug in some versions of OS X where
apps that transform from background to foreground processes
("TransformProcessType" or the newer NSApplication activation policy) would
cause the Dock to show two icons. I'm pretty sure I filed a radar for it a long
On Feb 27, 2013, at 13:12 , Brad O'Hearne wrote:
> - (id)init:(NSError **)error;
> {
>self = [super init];
>
>if (self)
>{
>if ([self operationThatMightFail:error])
>{
>*error = nil;
>}
>else
>{
>return nil;
>}
>
On Feb 27, 2013, at 1:12 PM, Brad O'Hearne wrote:
> I have a need to construct an object with the possibility of an error taking
> place and needing to return that error. While it would be nice to have a
> clean init method that returned no errors, in this particular case, the error
> belongs w
Hello,
I have a need to construct an object with the possibility of an error taking
place and needing to return that error. While it would be nice to have a clean
init method that returned no errors, in this particular case, the error belongs
with init. I've been pondering two ways of doing th
On Feb 27, 2013, at 11:28 AM, Tony Parker wrote:
> Out of curiosity, what do you expect to happen if your string is @“ab” or
> something even longer, but repeated 1 million times? Your test implies that
> the answer is 2,000,000 but in fact the answer is that it only grows one more
> byte. Th
A shot in the dark but will this solve the problem? kills lsregister.
http://underurhat.com/tips-tricks/os-x-lion-how-to-fix-the-duplicate-application-bug-in-open-with-menu/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
Hi Gerriet,
On Feb 26, 2013, at 10:56 AM, Gerriet M. Denkmann wrote:
>
> On 27 Feb 2013, at 01:00, Gwynne Raskind wrote:
>
>> On Feb 26, 2013, at 12:47 PM, Gerriet M. Denkmann
>> wrote:
>>> My investigations regarding archiving on OS X:
>>>
>>> 1. NSArchiver stores all strings in Utf-8.
>>
On Feb 27, 2013, at 3:45 AM, Stephane Sudre wrote:
> On Wed, Feb 27, 2013 at 9:27 AM, Rick C. wrote:
>> Hi,
>>
>> When a customer adds my app to Login Items in System Preferences it
>> (sometimes) causes my app to launch showing 2 icons in the dock after a
>> restart. Only one instance is ru
> From: James Lee
> Subject: Re: iOS books, etc for experienced OSX programmers
> To: "Koen van der Drift"
> Cc: "Cocoa Dev"
> Date: Saturday, 2013 February 23, 14:21
> I am looking at Xcode 4 by Fritz Anderson now.
I read everything I could get my hands on:
Maher Ali _Advanced iOS 4 Programmi
On 27 Feb 2013, at 02:17, Kyle Sluder wrote:
> I understand the frustration caused by Apple's embarrassing penchant for not
> fixing bugs.
> But refusing to report future bugs is only going to harm yourself.
Grudgingly I did:
NSKeyedArchiver creates bloated archives. Your tracking number for
No. Don't do this. The class name might change at any time.
Do what I suggested. Check something which is under your control.
--Kyle Sluder
On Feb 26, 2013, at 10:59 PM, anni saini wrote:
>
> I got the solution, just need to check for NSStatusBarWindow className as
> follows:
> if([awindow i
On Wed, Feb 27, 2013 at 9:27 AM, Rick C. wrote:
> Hi,
>
> When a customer adds my app to Login Items in System Preferences it
> (sometimes) causes my app to launch showing 2 icons in the dock after a
> restart. Only one instance is running (Activity Monitor) and only one icon
> shows in Comman
Yeah thats true its Apple-private implementation. However, I'm closing windows
only those are visible in my App and I have checked with title, its only
closing windows created by my App.
I think, a solution as suggested by you "You can either track them by adding
and removing them from a list or
Hi,
When a customer adds my app to Login Items in System Preferences it (sometimes)
causes my app to launch showing 2 icons in the dock after a restart. Only one
instance is running (Activity Monitor) and only one icon shows in Command-tab.
What normally happens is if my app icon is in the do
Tom,
If you find a Core Data based app from somewhere else and look in the package
contents you will find the .xcdatamodel file (or .xcdatamodeld if it has
multiple versions). If you then look into a .xcdatamaodeld package you see
every version of the data model that has shipped with that app.
I am looking at Xcode 4 by Fritz Anderson now. This is not his first effort; he
is an established Mac technical writer and this is a good well edited book.
Unlike Xcode 3, which was strictly Mac and developed your skills all in one
application example, Xcode 4 has both iOS and Mac examples. I li
Can you point to a screen shot of what your desired effect is, and one that
looks like what you're seeing now?
If you want something _exactly_ like the Calendar app
(http://i.imgur.com/4LG3qU0.png) and that is not what you're getting, you need
to populate the popover with a UINavigationControll
On iOS sync will freeze your user interface for the duration of the network
call, because it is done on the main thread, async
is done in the background and keeps the interface responsive, you can then
update your data when done
Dave schreef op 2013-02-22
11:13:
> Hi All,
>
> I was readin
I took a cue from Apple's own multiple samples. I thought about that and I
changed my code to force create the managed object context and the persistent
store right when the application has started.
Thanks, Mike. Seems we got to the same cause.Í
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:La
On Feb 27, 2013, at 12:59 AM, anni saini wrote:
> I got the solution, just need to check for NSStatusBarWindow className as
> follows:
> if([awindow isVisible] && ![aWindow aboutWin] && ![aWindow loginWindow] &&
> ![[aWindow className] isEqual:@"NSStatusBarWindow"])
You're relying on Apple-priv
33 matches
Mail list logo