Re: Serious iPhone 4s & iCloud issue

2011-12-02 Thread Hunter Hillegas
The simplest way to see what's in your iCloud account is from a Mac (10.7.2 or 
later).

Go to: ~/Library/Mobile Documents - that's your iCloud 'Documents' storage 
sync'd to your Mac and you can see exactly what is, or isn't there.

On Dec 2, 2011, at 5:18 PM, April wrote:

>   I have had iCloud working in my app for a very long time. Today I 
> bought a 4s and after getting everything updated, reprovisioned, built and 
> installed my app, the one I've poured hours of blood sweat and tears in to 
> over icloud, cannot access anything stored on icloud.
> 
>   I cannot seem to figure out why. But if I attempt to get a listing of 
> the folders in the storage they are all empty. If I create a document it 
> supposidly goes in to icloud but is inaccessible on any other device. and if 
> I delete the app, no matter how long I wait, it tells me there are pending 
> document updates.
> 
> Does any one have any ideas on this?
___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Serious iPhone 4s & iCloud issue

2011-12-02 Thread April
I have had iCloud working in my app for a very long time. Today I 
bought a 4s and after getting everything updated, reprovisioned, built and 
installed my app, the one I've poured hours of blood sweat and tears in to over 
icloud, cannot access anything stored on icloud.

I cannot seem to figure out why. But if I attempt to get a listing of 
the folders in the storage they are all empty. If I create a document it 
supposidly goes in to icloud but is inaccessible on any other device. and if I 
delete the app, no matter how long I wait, it tells me there are pending 
document updates.

Does any one have any ideas on this?

April.___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Debugging problem

2011-12-02 Thread Eric Long
A person I work with is having continual problems debugging an Xcode
project. Unless he does a full clean build, he gets errors.

He says:

This is what I see in the Console when I try to debug. I see my app's icon
in the dock, but then this error pops up. If I run from the Finder the app
starts up with no problem.

---

Loading program into debuggerŠ
sharedlibrary apply-load-rules all
Program loaded.
run
[Switching to process 3078]
RunningŠ
_RegisterApplication(), FAILED TO REGISTER PROCESS WITH CPS/CoreGraphics in
WindowServer, err=-50
2011-12-02 15:50:53.472 Ming[3078:a0f] *** CFMessagePort:
bootstrap_register(): failed 1103 (0x44f) 'Service name already exists',
port = 0x741b, name = 'WakeUpProcessPort'
See /usr/include/servers/bootstrap_defs.h for the error codes.

Anyone have a clue about this problem?

___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


drag and drop to the finder

2011-12-02 Thread Eric Smith
All,

I want to declare a drag type that the finder will recognize, but that can be 
used for other destinations as well, like mail.  Right now, my users have to do 
option+drag for dragging files to the finder, in which case I call [NSView 
dragPromisedFilesOfType:..], and if they want to drag to something like mail 
they just drag, in which case I call [pboard declareTypes:...].  I can't figure 
out how to declare a type that will cause the finder to request the data.  How 
the heck do I do this?  All the sample code I've seen either drags to some 
application, or drags to the finder.. they're not combined.

Thanks in advance,
Eric

___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


CGContextDrawTiledImage crash on 10.5

2011-12-02 Thread Gideon King
I'm hoping someone can remember back to 10.5 days…

I am using CGContextDrawTiledImage, and it works absolutely fine on 10.6 and 
10.7, but sometimes crashes on 10.5.

If anyone else has seen this, and worked out what is going on, I'd love to hear.

I can resize the image that I am using to tile with just fine (I had to make 
sure that I was always using integral rects and sizes for this to work on 
10.5), but when I resize my view (changing the frame and bounds for a zoom 
operation), CGContextDrawTiledImage causes a crash. I have tried everything I 
can think of to fix this, ensuring that everything is integral etc, but to no 
avail.

If there is no way around this, is there an equivalent method that I can use in 
Cocoa? Using a color pattern image would seem to get me most of the way there, 
but I haven't been able to figure out how to get the pattern phase setting 
right to be able to emulate what CGContextDrawTiledImage does.


TIA

Gideon



___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


NSViewController KVO compliance

2011-12-02 Thread Kyle Sluder
The NSViewController documentation and header file do not mention if
NSViewController is KVO-compliant for its view property. The docs
mention that it is KVO-compliant for title and representedObject, and
the headerdoc comments mention KVO-compliance for representedObject
but not for title.

Can anyone on this list give a definitive answer to the KVO-compliance
of NSViewController.view? I've already filed rdar://problem/10497897
and rdar://problem/10498295 about view and title respectively.

--Kyle Sluder
___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How to Display Images in a WebView

2011-12-02 Thread Keary Suska
On Dec 1, 2011, at 6:25 PM, Sandeep Mohan Bhandarkar wrote:

> Hi All,
> 
> Can some one provide any pointers as to how we can display an Image in a 
> WebView. and can this be done without the use of a HTML File.?


Have you tried to simply pass the WebView a file:// request URL to the image? 
If the image is in memory, you can use 
-loadData:MIMEType:textEncodingName:baseURL: on the WebView's main frame.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Making target/action of a view visible to IB

2011-12-02 Thread Andy Lee
It does look a lot like specifying actions is hard-coded for controls and cells.

Nearest I can think of is to use the "User Defined Runtime Attributes" in the 
Identity Inspector (Command-6 in Xcode 3). Add a string property called 
actionName. Have setActionName: call setAction:, and have the actionName getter 
call NSStringFromSelector([self action]).

In IB, you'd have to hit the "+" button to add an actionName value to your 
view, but you can make a keyboard macro that does most of the work:

Command-1 Command-6 (init keyboard focus)
Tab Tab Tab Tab Tab Tab Space (press the "+" button)
actionName Tab (enter the name of the actionName property)
Space Str Return Tab (select "String" as the property type)
myAction: Command-A (enter a placeholder for you to replace with your own 
action name)

You don't get the benefit of IB validation that the action method exists, but 
you could add code that checks at runtime, which is the next best thing.

It'd be nice if there were a way to specify that you want a property to show up 
in IB as one of the "User Defined Runtime Attributes", sort of the way IBOutlet 
indicates a property or ivar is an outlet. If/when I get around to filing a 
request for this I'll post the Radar number.

Another idea for a Radar: have IB provide the action-specifying UI for any 
object that has target and action properties, not just controls and cells.

I don't know if Xcode 4 makes any of the above less cumbersome or contortional. 
In any case, this is all I can think of.

--Andy

On Dec 1, 2011, at 10:23 PM, Graham Cox wrote:

> I have some custom views that act in some ways like lightweight controls - 
> they have target and action properties - but they inherit NSView, not 
> NSControl.
> 
> It would be useful to be able to allow the targets and actions of these views 
> to be hooked up in IB. Target isn't usually a problem - it can be an outlet. 
> But the action is another matter, IB can't "see" it, so doesn't allow me to 
> specify the selector. Am I missing something or this a feature that is 
> hard-coded into IB and not available to custom views?
> 
> I'd rather not subclass NSControl, because that would compromise the 
> simplicity and lightness of these views just to allow an action to be set - 
> NSControl brings in way too much other baggage as well.
> 
> --Graham
> 
> 
> ___
> 
> 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/mailman/options/cocoa-dev/aglee%40mac.com
> 
> This email sent to ag...@mac.com

___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: "Unusual" interface, usage of 3d party GUI framework and Mac App Store

2011-12-02 Thread Ariel Feinerman
Hi,

I think you haven't to restrict yourself with Mac App Store's requirements
if your app is well, you may sell one everywhere. Instance is chrome.

2011/12/1 Nick 

> Hi
> I am wondering, does Apple allow applications to use non standard controls,
> like completely "drawn-from-png" buttons and custom window that QuickTime
> Player X uses for playback control?
> Does Apple accept applications written using 3d party frameworks (Nokia (ex
> Trolltech) QT+QML)?
>
> Apologize if this is a wrong place to ask such questions. Please tell me
> where should I ask then.
> Thank you
> ___
>
> 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/mailman/options/cocoa-dev/arielfapple%40gmail.com
>
> This email sent to arielfap...@gmail.com
>



-- 
best regards
Ariel
___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: launchctl agents unload clean up

2011-12-02 Thread Andreas Grosam

On Dec 2, 2011, at 1:39 PM, Rajendran P wrote:

> i need to  do some clean up on launchctl unload of my agent (cocoa 
> application with minimal ui ).   
> 
> 
> - (void)applicationWillTerminate:(NSNotification *)aNotification  does not 
> seems to be working any other solution ?

Maybe you have success with a signal handler.
see   $man sigaction, **and** 


Andreas
 

> 
> Please help
> Thanks
> Rajendran P
> 

___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


launchctl agents unload clean up

2011-12-02 Thread Rajendran P
i need to  do some clean up on launchctl unload of my agent (cocoa application 
with minimal ui ).   


- (void)applicationWillTerminate:(NSNotification *)aNotification  does not 
seems to be working any other solution ?

Please help
Thanks
Rajendran P






 
  P.Rajendran or Raju   

(for further details contact 
me )    
___

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/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com