On 16.08.2011, at 00:31, Dale Miller wrote:
> It looks like Apple's current answer is to programatically create the custom
> elements. I find this interesting considering the roasting I took some time
> back when I wrote in about a problem I was having programatically creating a
> custom element
On Aug 16, 2011, at 5:46 AM, Kyle Sluder wrote:
> We are back to bothering engineers in order to get turnaround on some
> of these aspects of our applications. Is it an insurmountable burden?
> No. But we saw an opportunity to improve our workflow and our products
> by giving more power to our UX
Le 16 août 2011 à 13:20, Vince a écrit :
>
>
>> The point Charles makes about garbage collection is a very valid one.
>> Writing dual-mode code sucks so much that Apple invented ARC. And I'm
>> sure that the Xcode 4 team had perfectly valid reasons for omitting IB
>> plugins from their ground-up
On Aug 15, 2011, at 9:49 PM, Laurent Daudelin wrote:
> On Aug 15, 2011, at 21:39, Matt Neuburg wrote:
>
>>>
>>> Date: Mon, 15 Aug 2011 19:45:03 -0700
>>> From: Laurent Daudelin
>>> Subject: Problems with UIAlertView
>>
>>> [loginAlertView addSubview:emailAddressTextField];
>>> [loginA
On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote:
> I'm having a problem with a UIAlertView that was working fine under iOS 4.
> Now, when running under iOS 4.3.2, the application crashes when the user
> click on the "Go" button and I'm not sure why, since I haven't changed
> anything in this
Hi folks,
If I launch my app from the command line, I can pass it options like this
(this would be the argc, argv parameters to main):
./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
What I would like to have is launch my application from the GUI and somehow
pass the command line
On Aug 16, 2011, at 8:54 AM, Abdul Sowayan wrote:
> What I would like to have is launch my application from the GUI and somehow
> pass the command line parameters to it. If I had to guess, this would be
> encoded in the Info.plist file in the bundle. It is not clear to me how to
> do that. Any fee
On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote:
> Of course, if there is a better way of using the Cocoa text system to layout
> multiple non-contiguous pages of text with margins, I'd like to hear about
> it. Maybe it'll even solve the problem I'm having.
Well, it should just work without an
My version of 4.1 is Build 4B110 so it sounds like you're maybe not on the GM
of 4.1?
On Aug 15, 2011, at 9:45 PM, Laurent Daudelin wrote:
> I'm using Xcode 4.1, build 48103. Crash occurs both on the iPad (running
> 4.3.2) and in the simulator (4.3) although I just discovered that if I click
>
Rogue Research is looking for a motivated individual to join our team of
software developers to help make the next generation of neuronavigation
equipment for the neuroscience community.
We are currently looking for a Cocoa Software Developer.
Responsibilities:
- Assist in the design, developme
On Mon, 15 Aug 2011 20:21:15 -0500, Charles Srstka said:
>I do hold out a tiny bit of hope that this might all be related to
>Xcode’s ill-fated adoption of garbage collection. The old IB plugins
>didn’t support GC, so they wouldn’t be compatible with Xcode 4
But this would only require a few code
Working for a small company, alot of time beta, nay even alpha, products go
straight into production.
The conversation goes something like this:
Developer - "Hi everyone, to address our inventory issues, I created a program
that "
User - "Lets take a look"
User - " Oh my God, this is exa
On Aug 16, 2011, at 10:00 AM, Shawn Bakhtiar wrote:
> If the app date deceases, and they can not use it again, until you decide,
> find yourself another job.
Well, yes, it's your responsibility to get another release into their hands
well before the expiration date. And it's their responsibilit
Hi,
I need to validate input when the user enters data on a particular cell
(caseNumber) in a table view. Not using coredata but data is stored in a
Postgresql database. Here's what I need to ensure:
1- only digits
2- dont already exists in the database
3- dont already exists in the tableview's
I pretend to launch a beta with 2 months fixed for tests, but this beta is
just to make sure it runs smoothy on other machines, and if some servers
(that application depends on) will be ok with heavy access. If I got
problems and need more things, for sure I will launch another beta with
longer tim
On Aug 16, 2011, at 7:54 AM, Abdul Sowayan wrote:
> If I launch my app from the command line, I can pass it options like this
> (this would be the argc, argv parameters to main):
> ./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
This is basically a convenience for development, so y
Anyone know what the exact behavior of NSLiteralSearch is when calling
-[NSString compare:options:]?
I need to sort an array of NSStrings, with the ordering based on a raw
comparison of UTF-16 character values*. That is, sorting the strings as though
they were just arrays of UInt16, instead of
On Aug 16, 2011, at 9:09 AM, Ross Carter wrote:
> On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote:
>
>> Of course, if there is a better way of using the Cocoa text system to layout
>> multiple non-contiguous pages of text with margins, I'd like to hear about
>> it. Maybe it'll even solve the
I¹m doing the same thing under iOS 4.3.3 with no problems (no private APIs).
Is this liable to break under new OS?
On 8/16/11 11:38 AM, "cocoa-dev-requ...@lists.apple.com"
wrote:
> On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote:
>
>> > I'm having a problem with a UIAlertView that was worki
I have a window that contains an NSTextField instance. When the textfield
contains text, I can select it with a single click. I want to preserve that
behavior. When I click (mouseDown) and hold, the cursor changes to an arrow
and drag-and-drop (d&d) is initiated. I want to disable this behav
Hmmm… I'm pretty sure I downloaded the GM when Lion came out but I'll
double-check. Thanks!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://www.nemesys-soft.com/
Logiciels Nemesys Software
laur...@nemesys
On Aug 16, 2011, at 06:20, Fritz Anderson wrote:
> On 15 Aug 2011, at 9:45 PM, Laurent Daudelin wrote:
>
>> I'm having a problem with a UIAlertView that was working fine under iOS 4.
>> Now, when running under iOS 4.3.2, the application crashes when the user
>> click on the "Go" button and I'm
On Aug 16, 2011, at 06:10, Matt Neuburg wrote:
>
> On Aug 15, 2011, at 9:49 PM, Laurent Daudelin wrote:
>
>> On Aug 15, 2011, at 21:39, Matt Neuburg wrote:
>>
Date: Mon, 15 Aug 2011 19:45:03 -0700
From: Laurent Daudelin
Subject: Problems with UIAlertView
>>>
[logi
I’ve been using the STxxx test macros lately, as they’re the path of least
resistance, but I’m getting pretty frustrated with them. Worst is the way that
STAssertEquals is extremely picky about types (the actual and expected
parameters have to have exactly the same type), and worse, somehow mana
Just giving back a little here in case anyone else is struggling with side
by side Xcode3 and 4. Two quick scripts are below. Xcode3 is installed at
/Xcode3, and Xcode4 at /Xcode4.
xcode3 open script:
#!/bin/bash
open /Xcode3/Applications/Xcode.app --args `cd $1; pwd`
xcode4 open script:
#!/bin
On Tue, Aug 16, 2011 at 9:59 AM, Nick Zitzmann wrote:
> But how? I can't use a single NSTextView because this is for a view where
> each text view corresponds to a single page of text, and so AFAICT text
> containers and views must be created manually as the layout manager lays out
> text.
Hav
On Aug 16, 2011, at 10:44 AM, Lou Zell wrote:
> xcode3 open script:
> #!/bin/bash
> open /Xcode3/Applications/Xcode.app --args `cd $1; pwd`
It's easier just to do
open -a /Xcode3/Applications/Xcode.app "$@"
which has the benefit that it works on source files as well as projects.
Or you
On Tue, Aug 16, 2011 at 10:15 AM, Michael Crawford
wrote:
> I have a window that contains an NSTextField instance. When the textfield
> contains text, I can select it with a single click. I want to preserve that
> behavior. When I click (mouseDown) and hold, the cursor changes to an arrow
>
Hello,
In KVC, the setValue:forKeyPath: method is super handy to set values in deep
hierarchies. I was wondering if it would be possible to access array elements
using KVC. I haven't seen any reference about it in the docs, so I was
wondering if it's at all possible. Example:
NSDictionary (cha
Greetings,
I have an iOS 4 + app, which is now being retrofitted to use Core Data. I have
an Entity "Article" which has a to-many relationship to another Entity
"MediaResource" and I generated NSManagedObject subclasses for each. The
relationship is called "media" and is set to be optional, a
Thanks for responding, Kyle.
I assume you meant NSTextField not NSTextView? I'm working on touch based
museum exhibits, which run on Mac mini's. Suffice it to say I don't want to
allow the movement of text.
In the time since I asked the question, I've done some more reading on
NSTextField and
On Tue, Aug 16, 2011 at 11:26 AM, Michael Crawford
wrote:
> I assume you meant NSTextField not NSTextView? I'm working on touch based
> museum exhibits, which run on Mac mini's. Suffice it to say I don't want to
> allow the movement of text.
Remember, all editing is done by the field editor, whi
On 8/16/11, Abdul Sowayan wrote:
> Hi folks,
>
> If I launch my app from the command line, I can pass it options like this
> (this would be the argc, argv parameters to main):
>
> ./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
>
NSArgumentDomain under NSUserDefaults is the usual me
It's the first time I'm dealing with QTKit, and up to the current moment I've
successfully created my preview for user's camera device, using QTCaptureView.
However, I'd like to let users choose between reverting the image coming from
their camera or not. And here's the problem. Maybe I'm missin
On Aug 16, 2011, at 11:26 , Michael Crawford wrote:
> I'm working on touch based museum exhibits, which run on Mac mini's. Suffice
> it to say I don't want to allow the movement of text.
>
> On Aug 16, 2011, at 2:02 PM, Kyle Sluder wrote:
>
>> On Tue, Aug 16, 2011 at 10:15 AM, Michael Crawford
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/16/11 11:26 AM, Michael Crawford wrote:
> Thanks for responding, Kyle.
>
> I assume you meant NSTextField not NSTextView? I'm working on touch
> based museum exhibits, which run on Mac mini's. Suffice it to say I
> don't want to allow the move
On Tue, 16 Aug 2011 10:36:57 -0700, Jens Alfke said:
>I’ve been using the STxxx test macros lately, as they’re the path of
>least resistance, but I’m getting pretty frustrated with them. Worst is
>the way that STAssertEquals is extremely picky about types (the actual
>and expected parameters have
I suppose you could write some wrapper macros that use __typeof (or whatever
that compiler-specific keyword is) to automatically cast your second argument
to the type of the first argument. You could even limit it to "safe"
conversions.
Look at tgmath.h for inspiration.
--Kyle Sluder
(Sent fro
On Aug 16, 2011, at 2:44 PM, Quincey Morris wrote:
> On Aug 16, 2011, at 11:26 , Michael Crawford wrote:
>
>> I'm working on touch based museum exhibits, which run on Mac mini's.
>> Suffice it to say I don't want to allow the movement of text.
>>
>> On Aug 16, 2011, at 2:02 PM, Kyle Sluder wro
Answering my own question:
Read the documentation on:
- (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText *)fieldEditor
Cheers,
Andre Masse
On 16/08/2011, at 12:21 , Andre Masse wrote:
> Hi,
>
> I need to validate input when the user enters data on a particular cell
> (caseNum
On Aug 16, 2011, at 12:59 PM, Nick Zitzmann wrote:
>
> On Aug 16, 2011, at 9:09 AM, Ross Carter wrote:
>
>> On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote:
>>
>>> Of course, if there is a better way of using the Cocoa text system to
>>> layout multiple non-contiguous pages of text with margi
On Aug 16, 2011, at 12:00 PM, Kyle Sluder wrote:
> On Tue, Aug 16, 2011 at 9:59 AM, Nick Zitzmann wrote:
>> But how? I can't use a single NSTextView because this is for a view where
>> each text view corresponds to a single page of text, and so AFAICT text
>> containers and views must be creat
On Aug 16, 2011, at 1:20 PM, Ross Carter wrote:
> Right. You do have to add and remove the text containers and text views as
> needed. What I meant was, you shouldn't need to do anything to insure that
> the text is drawn correctly in the views and flows correctly between the
> containers. Wha
On Aug 16, 2011, at 12:18 PM, Andrew Kinnie wrote:
> I have an iOS 4 + app, which is now being retrofitted to use Core Data. I
> have an Entity "Article" which has a to-many relationship to another Entity
> "MediaResource" and I generated NSManagedObject subclasses for each. The
> relationshi
Hi Folks,
I can do:
./Foo.app/Contents/MacOS/Foo -ApplePersistenceIgnoreState YES
Or
defaults write com.Bar.Foo ApplePersistenceIgnoreState YES
My question is regarding options such as ApplePersistenceIgnoreState. Where
did this come from? Is there some documentation that lists similar option
On Aug 16, 2011, at 12:00 PM, Kyle Sluder wrote:
> I suppose you could write some wrapper macros that use __typeof (or whatever
> that compiler-specific keyword is) to automatically cast your second argument
> to the type of the first argument. You could even limit it to "safe"
> conversions.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/16/11 12:15 PM, Michael Crawford wrote:
> If that's your goal, why don't you just setEditable:NO ?
>
> I tried that. The only problem is that then I cannot display the
> keys the user taps as they happen. I'm injecting keyboard events
> and th
On Aug 16, 2011, at 11:03 AM, Tito Ciuro wrote:
> In KVC, the setValue:forKeyPath: method is super handy to set values in deep
> hierarchies. I was wondering if it would be possible to access array elements
> using KVC.
I asked this a couple of weeks ago and was told the answer is “no”. Appare
On Aug 16, 2011, at 12:46 PM, Abdul Sowayan wrote:
> My question is regarding options such as ApplePersistenceIgnoreState. Where
> did this come from? Is there some documentation that lists similar options I
> can use?
Any code can use the NSUserDefaults API to check the existence/values of valu
On Aug 16, 2011, at 3:51 PM, Conrad Shultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 8/16/11 12:15 PM, Michael Crawford wrote:
>> If that's your goal, why don't you just setEditable:NO ?
>>
>> I tried that. The only problem is that then I cannot display the
>> keys the u
Hm. I missed that thread. Thanks Jens!
-- Tito
On Aug 16, 2011, at 12:52 PM, Jens Alfke wrote:
>
> On Aug 16, 2011, at 11:03 AM, Tito Ciuro wrote:
>
>> In KVC, the setValue:forKeyPath: method is super handy to set values in deep
>> hierarchies. I was wondering if it would be possible to acces
On Tue, Aug 16, 2011 at 12:52 PM, Jens Alfke wrote:
>
> On Aug 16, 2011, at 11:03 AM, Tito Ciuro wrote:
>
>> In KVC, the setValue:forKeyPath: method is super handy to set values in deep
>> hierarchies. I was wondering if it would be possible to access array
>> elements using KVC.
>
> I asked thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/16/11 12:46 PM, Abdul Sowayan wrote:
> My question is regarding options such as ApplePersistenceIgnoreState.
> Where did this come from? Is there some documentation that lists
> similar options I can use?
>
> The above was helpful for me to disab
Hmm. Well the generated code was created by Xcode 4's "Create NSManagedObject
Subclass" based on the model. The properties are created along with the
methods, however due to an earlier issue, I changed @dynamic to @synthesize for
the various properties in the .m for Article and MediaResource.
On Aug 16, 2011, at 13:02 , Kyle Sluder wrote:
> Either way, I believe you're correct, and there's no way to get at
> individual indexed members of an ordered collection via
> -valueForKeyPath:.
In the Land of Speculation …
I think it's in principle possible to have such a mechanism, though of c
On Aug 16, 2011, at 13:14 , Andrew Kinnie wrote:
> Hmm. Well the generated code was created by Xcode 4's "Create
> NSManagedObject Subclass" based on the model. The properties are created
> along with the methods, however due to an earlier issue, I changed @dynamic
> to @synthesize for the v
On Aug 16, 2011, at 12:44 PM, Siegfried wrote:
> It's the first time I'm dealing with QTKit, and up to the current moment I've
> successfully created my preview for user's camera device, using QTCaptureView.
>
> However, I'd like to let users choose between reverting the image coming from
> th
Hi,
On Tue, 16 Aug 2011 11:03:30 -0700, Tito Ciuro wrote:
> In KVC, the setValue:forKeyPath: method is super handy to set values in deep
> hierarchies. I was wondering if it would be possible to access array elements
> using KVC. I haven't seen any reference about it in the docs, so I was
> w
I was doing the same type of casting for a little bit, but then I started to
set up variables for the testing. Now I prefer to keep constants out of the
STXXX macros and tend to write the tests like:
NSUInteger theExpectedLength = 32;
STAssertEquals(myArray.length, theExpectedLength, nil);
Whil
Hi,
On Tue, 16 Aug 2011 11:03:30 -0700, Tito Ciuro wrote:
> In KVC, the setValue:forKeyPath: method is super handy to set values in deep
> hierarchies. I was wondering if it would be possible to access array elements
> using KVC. I haven't seen any reference about it in the docs, so I was
> w
On 16/08/2011, at 17:37, Nick Zitzmann wrote:
> On Aug 16, 2011, at 12:44 PM, Siegfried wrote:
>
>> If not, how can I revert (mirror) the image coming from the camera?
>
> You have to implement that delegate method, and in the method, you can use a
> CoreImage filter to transform the image & ret
On Aug 16, 2011, at 6:16 PM, Thorsten Hohage wrote:
> NSArray *keyArray = [key componentsSeparatedByString:@"#"];
>
> NSString *arrayKey = [keyArray objectAtIndex:0];
> NSString *pathKey = [keyArray objectAtIndex:1];
>
>
> There's no reason (though someone will probably chime in with a perverse
> case) not to use a UIScrollView. It gives you scrolling and zooming for very
> little trouble, has almost no side effects on the content you're displaying,
> and works the way the user expects it.
Well, quoting the doc
On Aug 12, 2011, at 4:27 AM, Torsten Curdt wrote:
> 1) I could just create an UIImageView and just move the origin into the
> negative. The clipping happens naturally through the parent view.
This is basically re-inventing the wheel, except that users won't fully
understand what your re-inventi
On Aug 16, 2011, at 06:10, Matt Neuburg wrote:
> On Aug 15, 2011, at 9:49 PM, Laurent Daudelin wrote:
>
>> On Aug 15, 2011, at 21:39, Matt Neuburg wrote:
>>
Date: Mon, 15 Aug 2011 19:45:03 -0700
From: Laurent Daudelin
Subject: Problems with UIAlertView
>>>
[loginAl
This is one of those things that make my brain itch. I had to puzzle over
this...
On Aug 16, 2011, at 4:18 PM, Quincey Morris wrote:
> Noting that a key path like "someObject.someArrayProperty.count" is valid, I
> think you could envisage key paths of the form
> "someObject.someArrayProperty.@0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/16/11 4:09 PM, Laurent Daudelin wrote:
> I'm looking at popovers. I'm wondering if there is any way that I'm
> overlooking to make popovers modal. So far, in all the samples I
> looked at, if you just tap outside the popover, it will dismiss. I
Here's a .m file that I claim you can drop into your project and you'll get the
feature I described in my previous email. I wouldn't be surprised at all if I'm
overlooking a fundamental flaw, so please let me know if you find one.
I haven't tested with bindings, just with NSLog plus valueForKeyP
There's a method on UIPopoverDelegate that allows you to tell it NOT to dismiss
a popover.
something like (BOOL)shouldDismissPopover:(UIPopover *)popover
you can use that to make a popover modal.
On Aug 16, 2011, at 4:09 PM, Laurent Daudelin wrote:
> I'm looking at popovers. I'm wondering if t
>> 1) I could just create an UIImageView and just move the origin into the
>> negative. The clipping happens naturally through the parent view.
>
> This is basically re-inventing the wheel, except that users won't fully
> understand what your re-invention has to offer.
I would not go so far to c
Check out NSProcessInfo. The class has a -(NSArrary *)arguments method that may
be of some interest.
On Aug 16, 2011, at 10:54 AM, Abdul Sowayan wrote:
> Hi folks,
>
> If I launch my app from the command line, I can pass it options like this
> (this would be the argc, argv parameters to main):
On Aug 16, 2011, at 4:44 PM, Torsten Curdt wrote:
> So if one does not care about zooming and all other things UIScrollView helps
> with... this is not a terribly wrong thing to do? It's just that there is
> something in UIKit that does this, too? After all -in a very simple setup,
> think user
>> So if one does not care about zooming and all other things UIScrollView
>> helps with... this is not a terribly wrong thing to do? It's just that there
>> is something in UIKit that does this, too? After all -in a very simple
>> setup, think user interaction disabled- changing the frame of a
I'm pretty sure that's what NSLiteralSearch does. In practice for me, I found
the difference is that composed/decomposed character sequences are scene as
being the same when using compare with no options, but that there's a
difference when using NSLiteralSearch (and by extension, -isEqualToStrin
Thanks, all, for all the good suggestions. I've discovered the
UIPopoverControllerDelegate method "popoverControllerDidDismissPopover:" and
that seems to do the trick. I overlooked the modalInPopover property, it seems.
I'll have a look at it but I think I have a replacement for that UIAlertView
I'm seeing some weird difference between Device and Simulator for iPhone.
Xcode 3.2.6
Simulator 4.3(8F190)
iOS 4.3.38J2)
I call
UINib* nib = [UINib nibWithNibName: @"UserLeagueCell" bundle: nil];
on the simulator, this actually seems to return the nib named
"UserLeagueCell~iPhone.xib". On the
On Aug 16, 2011, at 10:36 AM, Jens Alfke wrote:
> I’ve been using the STxxx test macros lately, as they’re the path of least
> resistance, but I’m getting pretty frustrated with them. Worst is the way
> that STAssertEquals is extremely picky about types (the actual and expected
> parameters ha
77 matches
Mail list logo