On Wed, May 18, 2011 at 11:53 AM, Nathan Sims
wrote:
> I'm writing an iPad app that has its main screen subdivided into 4 equal
> regions, each with a UIView, all defined in one IB nib. I have a dedicated
> view controller class for each view. When I instantiate the view controller
> class for
Hi,
I am working on iPhone. I wanted to get a certificate that contains a
particular value in the subject field. Eg. CN="myName" or O="myOrg" etc. I
tried to use the SecItemCopyMatching with kSecMatchSubjectContains. but the
certificate returned is not having the same subject name.
The example co
On Wed, May 18, 2011 at 3:31 PM, R4EE wrote:
> A very large THANK YOU to all that took the time to help. I'm a
> beginner and just discovered the svn command in terminal. That did
> the trick!
You will do yourself a great service to learn about revision control
now rather than later. Subversion
A very large THANK YOU to all that took the time to help. I'm a
beginner and just discovered the svn command in terminal. That did
the trick!
Again, thanks! -- Ron
On May 18, 4:10 pm, Howard Siegel wrote:
> As others have said, the files you are trying to get are under source
> code control w
As others have said, the files you are trying to get are under source
code control with Subversion. Just getting the files via the browser
will likely corrupt them in some way or another, as you've found out.
Get the files via the normal checkout methods for Subversion and
you should be ok. (Jus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/18/11 2:45 PM, R4EE wrote:
> Howard,
>
> That was my original approach but the .xcodeproj file wants to save as
> html. I then, wrongly, extracted the .pbxproj file and used it to
> replace the .pbxproj file inside my .xcodeproj package that was
Have you tried simply checking out the source tree directly from
Subversion? Google Code usually allows anonymous check outs.
sherm--
On Wed, May 18, 2011 at 5:45 PM, R4EE wrote:
> Howard,
>
> That was my original approach but the .xcodeproj file wants to save as
> html. I then, wrongly, extrac
Howard,
That was my original approach but the .xcodeproj file wants to save as
html. I then, wrongly, extracted the .pbxproj file and used it to
replace the .pbxproj file inside my .xcodeproj package that was
created as part of a new XCode project.
I'm tangled up in XCode process at this point.
The .xcodeproj isn't really a folder, it just looks that way on the FTP
site.
On your Mac it is really a "package".
You want to download all the files from that site (the .xcodeproj, the .m
files,
the .h file, and the .pch file). Drop 'em in a folder and double click on
the
.xcodeproj file to ope
Here is the original form
http://gtm-oauth.googlecode.com/svn/trunk/Examples/OAuthSample/
On May 18, 2:51 pm, Kyle Sluder wrote:
> On Wed, May 18, 2011 at 1:42 PM, R4EE wrote:
> > How do I incorporate this into a XCode project?
>
> Er, that *is* the project. Well, part of it anyway.
>
> Yo
On Wed, May 18, 2011 at 1:42 PM, R4EE wrote:
> How do I incorporate this into a XCode project?
Er, that *is* the project. Well, part of it anyway.
You should go back to whoever gave you the .pbxproj and ask for the
entire .xcodeproj.
--Kyle Sluder
___
Never mind I deleted my build directory manually and it worked.
Thank you very much :)
On May 18, 2011, at 1:18 PM, Hank Heijink (Mailinglists) wrote:
> Try #ifdef instead of #if.
>
> On May 18, 2011, at 4:09 PM, Development wrote:
>
>> I have a version of an application that I want to contai
How do I incorporate this into a XCode project?
___
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/U
On May 18, 2011, at 1:09 PM, Development wrote:
> I have a version of an application that I want to contain different code
> based on the builded target.
> for instance I have a lite version. After defining the ISFREE value in the
> preprocessor macros... I tried using:
>
> #if ISFREE
>
>
I've actually tried both... strangest part even if I choose #ifndef i get
nothing
On May 18, 2011, at 1:18 PM, Hank Heijink (Mailinglists) wrote:
> Try #ifdef instead of #if.
>
> On May 18, 2011, at 4:09 PM, Development wrote:
>
>> I have a version of an application that I want to contain di
What you are trying to do is perfectly fine to create a free vs non-free
version of your app.
The sticking point is how are you defining ISFREE???
The #if takes an expression which is evaluated to see if it is true
(non-zero) or false (zero).
Did you define ISFREE to be a non-zero numeric value??
Try #ifdef instead of #if.
On May 18, 2011, at 4:09 PM, Development wrote:
> I have a version of an application that I want to contain different code
> based on the builded target.
> for instance I have a lite version. After defining the ISFREE value in the
> preprocessor macros... I tried usin
I have a version of an application that I want to contain different code based
on the builded target.
for instance I have a lite version. After defining the ISFREE value in the
preprocessor macros... I tried using:
#if ISFREE
NSLog(@"It's Free");
#endif
Of course the line ne
I had a similar issue in my code and am unsure if my solution is correct. So if
I'm doing this wrong, let me know.
My strategy was to associated each custom view (MWView subclass of UITextField)
with a handler (MWHandler subclass of NSObject). The
MWHandler is a class whose interface and implem
Okay, that looks like a "go". I certainly have my work cut out for me :)
Thanks Luke, Eric, Mikkel.
-Nate
On May 18, 2011, at 12:40 PM, Mikkel Islay wrote:
> On 18 May 2011, at 20:32, Nathan Sims wrote:
>
>> Hmm, but then how would each custom class communicate with the view
>> elements? NSNoti
Hmm, but then how would each custom class communicate with the view elements?
NSNotifications?
On May 18, 2011, at 12:27 PM, Eric E. Dolecki wrote:
> I don't think so but you could always associate a custom Class with each of
> the UIViews to tuck most of the UIView specific code away from the
I don't think so but you could always associate a custom Class with each of
the UIViews to tuck most of the UIView specific code away from the view
controller's code.
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
O
Possibly. You'll have a better chance getting that right than doing your own
view controller composition, though. Custom composition of view controllers
isn't really supported in iOS right now. The composite view controllers that
are provided by the framework, such as UINavigationController, and
Okay, but won't that make for one mega-complex view controller?
On May 18, 2011, at 11:58 AM, Luke the Hiesterman wrote:
> The IB concerns aside, attempting to build your own "more than one view
> controller on the screen" solution is currently fraught with peril, and
> something you'll probabl
The IB concerns aside, attempting to build your own "more than one view
controller on the screen" solution is currently fraught with peril, and
something you'll probably get wrong. The window expects to have a single
rootViewController to handle rotations and such. You're probably better off
ha
I'm writing an iPad app that has its main screen subdivided into 4 equal
regions, each with a UIView, all defined in one IB nib. I have a dedicated view
controller class for each view. When I instantiate the view controller class
for each quadrant's view with -initWithNibName:bundle:, I have to
On May 18, 2011, at 1:55 PM, Bing Li wrote:
> Dear all,
>
> I am creating an XML chars to transmit over TCP. When an XML is created, I
> attempt to release some resources. However, I got some weird results.
>
> The XML is simple as follows.
>
>
>
>2412432
>greatfree
>1
On Wed, May 18, 2011 at 11:24 AM, Jeff Johnson
wrote:
> On May 17, 2011, at 9:37 PM, Kyle Sluder wrote:
>
>> When the panel is summoned, I want the panel to remember the
>> "document" window on whose toolbar item the user clicked, or none if
>> the panel was summoned by the menu item. This is beca
On May 17, 2011, at 9:37 PM, Kyle Sluder wrote:
> When the panel is summoned, I want the panel to remember the
> "document" window on whose toolbar item the user clicked, or none if
> the panel was summoned by the menu item. This is because I want to
> bring that window forward when I dismiss the
On 18 May 2011, at 12:55 PM, Bing Li wrote:
>NSXMLElement *root = [NSXMLNode elementWithName:"MessageRoot"];
>NSXMLDocument *xmlDoc = [[NSXMLDocument alloc]
> initWithRootElement:root];
>[xmlDoc setVersion:"1.0"];
>[xmlDoc setCharacterEncoding:"utf-8"];
// etc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bing Li wrote:
> But, if the releasing lines are changed as follows, it gets exceptions.
>
>
>
> [passwordElement release];
> [peerNameElement releases]; // The line is added.
> [root release];
> [xmlDoc release];
On May 18, 2011, at 12:55 PM, Bing Li wrote:
>NSXMLElement *root = [NSXMLNode elementWithName:"MessageRoot"];
As per Cocoa's memory management conventions, you don't not own the object
returned by -[NSXMLNode elementWithName:]. You have not invoked a method whose
name contains "alloc",
Dear all,
I am creating an XML chars to transmit over TCP. When an XML is created, I
attempt to release some resources. However, I got some weird results.
The XML is simple as follows.
2412432
greatfree
11
The code to create the above XML is as follows. It runs
thanks, it worked
2011/5/18 Gary L. Wade :
> You could use [NSApp currentEvent] if you really want the event, but if
> you want to do something else while tracking the mouse, you might want to
> consider overriding NSCell method -startTrackingAt:inView: and those
> related to it.
>
> On 05/18/2011
On May 18, 2011, at 7:14 AM, "McLaughlin, Michael P." wrote:
> Hello,
>
> Thank you for your response.
>
> I discovered that my code would work provided that I left all the UTI fields
> in the Properties dialog (--> plist) empty. This is *not* what it shows in
> the Apple document docs but wha
You could use [NSApp currentEvent] if you really want the event, but if
you want to do something else while tracking the mouse, you might want to
consider overriding NSCell method -startTrackingAt:inView: and those
related to it.
On 05/18/2011 4:00 AM, "Nick" wrote:
>Hello
>
>I have a slider, an
>
> You could probably use [NSApp currentEvent] from the slider's action.
thanks, i will try
>
> But why do you need this? The idea of a control is to abstract basic mouse
> gestures/events and turn them into a higher-level meaning within your app.
> Doing different things according to how the
On 18/05/2011, at 9:00 PM, Nick wrote:
> I have a slider, and i have set it "Continuous" checkbox in Interface
> builder. Now its action method is fired on all of these events from
> the e-mail title.
> How can i know what exactly event happened (when - mouseDown, when
> mouseUp and when - mouseD
On 18/05/2011, at 6:31 PM, Nava Carmon wrote:
> My question is when I change the frame of document view the enclosing scroll
> view has to adjust itself to the new frame size of document view.
> What I see that scroll view doesn't adjust itself properly. Do I need to call
> some specific API to
Hello
I have a slider, and i have set it "Continuous" checkbox in Interface
builder. Now its action method is fired on all of these events from
the e-mail title.
How can i know what exactly event happened (when - mouseDown, when
mouseUp and when - mouseDrag)? Is there a way?
Thank you
Hi,
I have a scroll view (NSScrollView) with a document view set as a NSView. This
document view is a superview for 2 other views, which are supposed to be
resized along with resizing of enclosing document view.
>From time to time I add drawing objects to document view. I need to calculate
>an
Try doing the animation one runloop after calling -setWantsLayer:, kinda like
this (typed in Mail):
- (void)doAnimation {
[parentView setWantsLayer:YES];
[self performSelector:@selector(noSeriouslyDoTheAnimation) withObject:nil
afterDelay:0];
}
- (void) noSeriouslyDoTheAnimation {
C
42 matches
Mail list logo