I have a window sending data via NSStream to another app. Whenever I invoke
another modal window, the data stops. Somehow NSStream is block by
NSRunModalForWindow. The code is pretty standard, a snippet of the code,
[NSStream getStreamsToHost:host port:portNumber
On 24/05/2011, at 8:03 PM, Peter C wrote:
> [iStream scheduleInRunLoop:[NSRunLoop currentRunLoop]
> forMode:NSDefaultRunLoopMode];
At a guess I'd say you need to set the runloop mode to something else, such as
NSRunLoopCommonModes or NSModalPanelRunLoopMode. Check out the NSRunLo
On 24/05/2011, at 3:05 PM, Quincey Morris wrote:
> On May 23, 2011, at 18:27, Graham Cox wrote:
>
>> Am I worrying too much? Or is there a better way to think about layers that
>> means I don't have to give up on strict MVC?
>
> I'll take a stab at this -- not pontificating, just expressing an
On May 23, 2011, at 4:23 PM, Ken Victor wrote:
> ...can anyone tell me what additional information i need to be saving? or
> point me at some documentation that might help me.
I don't know if this will catch double-side or not, but in the past I've had to
use PMFlattenPageFormat and PMFlattenPr
Hi List,
I've been doing a lot with Authorization Services lately. My code is working in
regard to setting up an AuthorizationEnvironment and passing that into
AuthorizationCopyRights(). However, specifically I am curious about the
environment tag: kAuthorizationEnvironmentIcon
When I use this
Hi Graham
> Of course I'm simplifying when discussing MVC - I have rarely found a case
> that's "pure" in the sense of just M, V and C as well, usually there are
> several layers of controller and the data model is distributed among
> different objects as well. I felt the game example might be
I wonder how to define that an app should only be able to read and write
these types of files:
.csv
.dat
.txt
I tried everything I could find in the documentation for
CFBundleDocumentTypes but cannot manage to get it to work properly.
I also tried to configure it in the app's target's Proper
On Mon, May 23, 2011 at 8:21 PM, Kurt Sutter wrote:
> How? Is there any way to constrain the coordinates of the image passed to
> dragImage:at:offset:event:pasteboard:source:slideBack from the drag
> destination?
By not dragging an image, and drawing the dragged object directly in
your view, or
On Tue, May 24, 2011 at 7:05 AM, Ulf Dunkel wrote:
> Can someone please show me how to?
Post your Info.plist.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Co
Hello,
I have a question about Cocoa API design. I think I can give a concrete example
to best explain what the goal is. Assume I have an Inventory service and I need
to write a client API that deals with it. Goals:
- The API should allow me to add, update, delete and search items
- These opera
I would like to set things up for my application so that every
time the user mouses on a document of the application to open it,
a *new* instance of the application is launched to handle just
that one document. Thus if the user moused on many documents,
many instances of the application would be r
On Tue, May 24, 2011 at 9:13 AM, Jay Reynolds Freeman
wrote:
> I would like to set things up for my application so that every
> time the user mouses on a document of the application to open it,
> a *new* instance of the application is launched to handle just
> that one document. Thus if the user
Sandboxing may give you the option you really want. Look at the way Google's
Chrome and WebKit 2 do their plugins.
- Gary L. Wade (Sent from my iPhone)
On May 24, 2011, at 9:13 AM, Jay Reynolds Freeman
wrote:
> I would like to set things up for my application so that every
> time the user mou
On May 23, 2011, at 11:49 AM, Kyle Sluder wrote:
> On Mon, May 23, 2011 at 11:40 AM, Seth Willits wrote:
>> If this is the case (I'm not sure either), then you'd do an internal-only
>> drag using normal events, and when then mouse goes outside of the bounds of
>> the view, it starts a an actual
On May 24, 2011, at 8:25 AM, Tito Ciuro wrote:
> I have a question about Cocoa API design. I think I can give a concrete
> example to best explain what the goal is. Assume I have an Inventory service
> and I need to write a client API that deals with it. Goals:
>
> - The API should allow me to
On May 24, 2011, at 5:15 AM, cocoa-dev-requ...@lists.apple.com wrote:
James Merkel wrote:
I was trying to come up with a way to prevent the user from
starting at the wrong place. (Putting up an Alert that says you
can't start there). There's a method in the NSFileManager class
called isDeleta
On May 24, 2011, at 5:15 AM, cocoa-dev-requ...@lists.apple.com wrote:
James Merkel wrote:
I was trying to come up with a way to prevent the user from
starting at the wrong place. (Putting up an Alert that says you
can't start there). There's a method in the NSFileManager class
called isDeleta
On Tue, May 24, 2011 at 10:27 AM, Seth Willits wrote:
> No, it still works. Drag out of the view vs hold near the edge. Same as how a
> text view works. Exiting the view changes the type of drag so you couldn't
> reenter and expect internal-only behavior. (And that should be accompanied by
> a
I just got a little RFID reader, and I was wondering what I could do with it.
One thought was to create a thing that would require me to have the RFID card
present to unlock the computer.
Is it possible to hook into Mac OS X's security such that it's not possible to,
say, wake the machine from
Hi Seth,
I thought about adding blocks, but I would like to support older iPhones if
possible. Blocks were introduced in iOS 4, correct?
Thanks,
-- Tito
On May 24, 2011, at 10:30 AM, Seth Willits wrote:
> On May 24, 2011, at 8:25 AM, Tito Ciuro wrote:
>
>> I have a question about Cocoa API d
In that case, look at the way AppleScript (and Automator, I assume) do
this. If I recall correctly, they create an application, according to the
OS's definition, that launches a small interpreter that fires off the
AppleScript.
Depending on how much or little you want to include in each small app
What about use NSOPeration?
This way you could have a different NSOperation implementation depending of the
item type, and use a solution like path1, and it will work at older iOS (the
documentation said it is available since IOS 2.0).
I think Bloks was introduced at iOS 4 but, anyway iOS 4 wor
Hi Pablo,
Why would NSOperation be a better solution than say, NSURLConnection? I can
call NSURLConnection several times (performing different actions) and have each
delegate be invoked appropriately while maintaining some level of concurrency.
It seems that adding NSOperation would add an extr
So it looks like the QuickLook framework has some bugs with Garbage Collection
required.
I contacted Apple tech support and they confirmed this is "likely a bug in the
Quick Look framework" and asked me to file a bug report. Too bad this cost me
one of my free tech support chits.
In the mea
Hi Christiaan.
This is a list for questions about the use of the xcode tool set, so you're at
the wrong list.
You may have seen that I have xposted to cocoa-dev and xcode-users
because I wasn't sure if this refers to cocoa (CFBundleTypeExtensions)
or Xcode, where you can set up these parame
Hi Kyle.
On 24.05.2011 17:10, Kyle Sluder wrote:
On Tue, May 24, 2011 at 7:05 AM, Ulf Dunkel wrote:
Can someone please show me how to?
Here is the relevant part of the Info.plist with the current settings
for just one file extension (.csv):
CFBundleDocumentTypes
On 24 May 2011, at 1:03 PM, Rick Mann wrote:
> Is it possible to hook into Mac OS X's security such that it's not possible
> to, say, wake the machine from sleep, without some intervention? Better still
> would be to require the RFID card before any login prompt would accept a
> password (login
In my project, I have a problem with editing NSPredicateEditor in a xib with
Xcode 4.
If I add a row template for strings, when I run my application and try to add a
row to the predicate editor, I have an exception saying that it's impossible to
init a predicate with a nil expression. If I edit
Googling this has produced nothing useful, just undocumented APIs, which is
a sure way to get an iOS app rejected. Two questions:
1. How to detect the presence of a Bluetooth keyboard? I need this because
I only want response when the Bluetooth keyboard is present, and not display
the virtual ke
Maybe you are right, for the developer point of view maybe it doesn't simplify
the use of the API, this suggestion was from the problem of use block (that if
the intention was to use bloks as delegate method parameter doesn't have to
much sense the use of NSOperation).
But from the implementati
Hi All,
Is it possible to display a keyboard and take input from (via a
delegate) without using a text field?
There's not much reading from Apple's doc:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=UIKeyboard+class+reference+site%3Aapple.com
Jeff
__
On May 24, 2011, at 5:28 PM, Jeffrey Walton wrote:
> Hi All,
>
> Is it possible to display a keyboard and take input from (via a
> delegate) without using a text field?
>
> There's not much reading from Apple's doc:
> http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=UIKeyboard+class+refe
On Tue, May 24, 2011 at 6:35 PM, glenn andreas wrote:
>
> On May 24, 2011, at 5:28 PM, Jeffrey Walton wrote:
>
>> Hi All,
>>
>> Is it possible to display a keyboard and take input from (via a
>> delegate) without using a text field?
>>
>> There's not much reading from Apple's doc:
>> http://www.go
scott,
thanx. altho some of those specific APIs are deprecated, their “modern”
equivalents seem to do the job.
thanx,
ken
On May 24, 2011, at 5:36 AM, Scott Ribe wrote:
> On May 23, 2011, at 4:23 PM, Ken Victor wrote:
>
>> ...can anyone tell me what additional information i need to be saving?
On May 24, 2011, at 8:58 AM, John Joyce wrote:
> Sorry, this is a bit of a tangent on the topic...
> When you say "canonical form" here, is that the same as "decomposed" form?
I meant Apple's file-system-specific canonical form, which is a variant of
Normalized Form D, which is decomposed.
> Al
I'm trying to do this:
CGSize imgSize = CGSizeMake(25.0f, 25.0f);
UIGraphicsBeginImageContext(imgSize);
NSString* s = [NSString stringWithFormat: @"%u", ga.stations.count];
CGRect r = CGRectMake(0.0f, 0.0f, imgSize.width, imgSize.height);
CGContextRef ctx = UIGraphics
Ugh. My font was bad. Sorry for the noise.
On May 24, 2011, at 17:58 , Rick Mann wrote:
> I'm trying to do this:
>
>CGSize imgSize = CGSizeMake(25.0f, 25.0f);
>UIGraphicsBeginImageContext(imgSize);
>
>NSString* s = [NSString stringWithFormat: @"%u", ga.stations.count];
>CGRect r
Note: by administrator request please respond to this Ad offline.
Cocoa Developer
Box is looking for a talented, passionate developer that can help us innovate
in the high end digital asset management sphere. A core focus will be on
Flowork 3, the third iteration of Box’s state-of-the-art asse
First post since a long time...
I did some Cocoa/ObjC coding several years ago, but haven't really
touched it since. I want to dive back in, and am looking for resources
to brush up my knowledge, especially related to subjects like
CoreData, CoreAnimation, etc. Besides the obvious docs at Apple,
Which *Aspect-Oriented Programming *framework* is *recommended to work with
Cocoa?
I tried MGAOP but I am not sure it is the right one.
Guillermo Moral
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderat
I've heard good things about this one:
https://github.com/tomdalling/AspectObjectiveC
Dave
On May 24, 2011, at 3:05 PM, Guillermo Moral wrote:
> Which *Aspect-Oriented Programming *framework* is *recommended to work with
> Cocoa?
>
> I tried MGAOP but I am not sure it is the right one.
>
> Gu
On 24/05/2011, at 11:49 PM, Joanna Carter wrote:
> I would definitely argue that this kind of design is not really "cleaning up"
> the design but, further, polluting it :-)
>
> In the Cocoa world, the Controller is a very important part of getting the
> non-UI code to connect to the UI element
On May 24, 2011, at 17:33, Ken Thomases wrote:
>> I am sure this becomes more difficult with Arabic, Hebrew and Thai and other
>> writing systems that have highly composed forms. (not sure if that's the
>> right term)
>
> Not really.
There *is* another level, described briefly here:
On May 24, 2011, at 11:05 AM, Tito Ciuro wrote:
> I thought about adding blocks, but I would like to support older iPhones if
> possible. Blocks were introduced in iOS 4, correct?
Yes, they're new in iOS 4, but like Pablo said, iOS 4 runs on a 3G. (And most
of us 3G users got suckered into dow
On May 24, 2011, at 11:09 PM, Quincey Morris wrote:
> On May 24, 2011, at 17:33, Ken Thomases wrote:
>
>>> I am sure this becomes more difficult with Arabic, Hebrew and Thai and
>>> other writing systems that have highly composed forms. (not sure if that's
>>> the right term)
>>
>> Not really.
On May 24, 2011, at 22:12, Ken Thomases wrote:
> Also, I wouldn't say that codepoints "may each consist of a variable number
> of components". They may be _encoded_ to a variable number of components,
> but don't "consist" of them.
OK.
>> This make absolutely no sense unless the word "charac
46 matches
Mail list logo