camera shutter sound is not eared the first time.

2014-11-24 Thread Luca Ciciriello
Hi all.I've implemented an app using the camera (UIImagePickerController). After I've updated my system to iOS 8.1.1 on iPhone 5S, the behaviour of my app is changed. When I take the first picture the sound of the camera shutter is not played. After the first one, the shutter sound is played

iAd banner on iOS 7 simulator

2013-09-21 Thread Luca Ciciriello
Hi all. Rebuilding a project using an iAd banner with the new Xcode and iOS 7 simulator, I'm unable to visualise the banner on the simulator. Is this a known issue? Luca -- All problems in computer science can be solved by another level of

Re: OS X 10.8.5 Can't detect FactTime Camera on new macbook air

2013-09-17 Thread Luca Ciciriello
Have you tried to do a hardware reset of your macbook? I had the same problem passing from 10.8.3 to 10.8.4 and a hardware reset has solved my problem. The problem is I've no idea how to perform a hardware reset on a MacBook Air :-) Luca. --

Re: Number of chars

2013-03-21 Thread Luca Ciciriello
No problem :-) Luca On Mar 21, 2013, at 5:59 PM, Luther Baker lutherba...@gmail.com wrote: I apologize for leading you the wrong way Luca! -Luther On Thu, Mar 21, 2013 at 9:46 AM, Luca Ciciriello luca_cicirie...@hotmail.com wrote: Ok, thanks. Luca. On Mar 21, 2013, at 3:43

UIActivityIndicatorView

2013-01-15 Thread Luca Ciciriello
Hi all. I use an activity indicator in order to show, in my UIViewController, a work in progress activity. here my code - (void)myMethod { [[self activityElab] setHidden:NO]; [[self activityElab] startAnimating]; // here I call a very CPU-intensive method.

Re: UIActivityIndicatorView

2013-01-15 Thread Luca Ciciriello
Understood, thanks. Luca. On Jan 15, 2013, at 4:31 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On Jan 15, 2013, at 3:18 PM, Luca Ciciriello luca_cicirie...@hotmail.com wrote: I use an activity indicator in order to show, in my UIViewController, a work in progress activity

lambda in C++

2012-10-17 Thread Luca Ciciriello
Hi All Is there some WWDC2012 video section talking about lambda in C++ 0x11? Thanks. Luca. ___ 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

Re: lambda in C++

2012-10-17 Thread Luca Ciciriello
I've read that Apple LLVM supports many specific features of the C++ new standard including lambda functions. Luca. On Oct 17, 2012, at 10:36 AM, Mikkel Islay my.inputstr...@googlemail.com wrote: Luca, On 17 Oct 2012, at 10:19, Luca Ciciriello wrote: Is there some WWDC2012 video

Re: lambda in C++

2012-10-17 Thread Luca Ciciriello
a clang specific conference. http://channel9.msdn.com/Events/GoingNative/GoingNative-2012 Le 17 oct. 2012 à 10:44, Luca Ciciriello luca_cicirie...@hotmail.com a écrit : I've read that Apple LLVM supports many specific features of the C++ new standard including lambda functions. Luca

setting font

2012-08-06 Thread Luca Ciciriello
Hi All. I'm trying to set a specific font in my UITextView. The font is Chalkboard SE Regular and my code is [[self textView] setFont:[UIFont fontWithName:@Chalkboard se regular size:39.0f]]; but nothing appear un my UITextView. Where is my mistake? Luca.

gesture

2012-08-06 Thread Luca Ciciriello
Hi All. Probably my problem is very stupid with a very immediate answer, but I'm very new using storyboard. I've have 2 pages. in the first page I've the following code: @property(strong, nonatomic) IBOutlet UISwipeGestureRecognizer *swipeGestureNext; 1) swipeGestureNext =

Re: setting font

2012-08-06 Thread Luca Ciciriello
Thanks, You are right. My problem was in the name of the font (@ChalkboardSE-Regular) Luca. On Aug 6, 2012, at 7:30 PM, Jens Alfke j...@mooseyard.com wrote: On Aug 6, 2012, at 1:05 AM, Luca Ciciriello luca_cicirie...@hotmail.com wrote: [[self textView] setFont:[UIFont fontWithName

Core Image

2012-06-15 Thread Luca Ciciriello
Hi All. I'm porting some CoreImage code from MacOS X to iOS and I'm unable to find the key KCGImagePropertyOrientation. My doubt is: Is this key available in iOS? I'm using iOS 5.1 with Xcode 4.3.3 Thanks in advance for any answer. Luca. ___

Re: Core Image

2012-06-15 Thread Luca Ciciriello
framework? It's normally, and indeed in this case is, listed at the top of the documentation for the symbol. On Jun 15, 2012, at 8:24 PM, Luca Ciciriello wrote: Hi All. I'm porting some CoreImage code from MacOS X to iOS and I'm unable to find the key KCGImagePropertyOrientation. My

Re: Core Image

2012-06-15 Thread Luca Ciciriello
Yes this is the problem. Thanks Luca. On Jun 15, 2012, at 4:03 PM, Fritz Anderson wrote: On Fri, June 15, 2012 7:24 am, Luca Ciciriello wrote: Hi All. I'm porting some CoreImage code from MacOS X to iOS and I'm unable to find the key KCGImagePropertyOrientation. I notice that you keep

Accelerate framework

2012-05-12 Thread Luca Ciciriello
Hi All. A simple question. Using the accelerate framework in iOS 5.1 I've imported the header Accelerate/Accelerate.h and in my code I'm using the line: uint_8 kernel = {-2, -2, 0, -2, 6, 0, 0, 0, 0}; My problem is that I've got the error: Use of undeclared identifier uint_8. Which is the

Re: Accelerate framework

2012-05-12 Thread Luca Ciciriello
Yes You are right. It was a my stupid syntax error. L. On May 12, 2012, at 10:34 AM, Ken Thomases wrote: On May 12, 2012, at 3:25 AM, Luca Ciciriello wrote: Using the accelerate framework in iOS 5.1 I've imported the header Accelerate/Accelerate.h and in my code I'm using the line

Re: Accelerate framework

2012-05-12 Thread Luca Ciciriello
Now my problem is: How can I rebuild an UIImage from the output of the vImageConvolve_ARGB elaboration? I can't find any code sample on this. L. On May 12, 2012, at 11:16 AM, Luca Ciciriello wrote: Yes You are right. It was a my stupid syntax error. L. On May 12, 2012, at 10:34 AM

Audio question

2012-03-31 Thread Luca Ciciriello
Hi All, I'm using an AVAudioPlayer object to run some Garage Band loop in my App. My question is how to delete the object when I live the view. I've set to stop the AVAudioPlayer object when I live to stop the music, but the object is not destroyed. Have I to set object=nil; befor exit? Anyway,

iPad 5.1 simulator

2012-03-31 Thread Luca Ciciriello
Is it possible to use MPMediaPickerController with the iOS 5.x simulator? I've used it but I get the following exception: 'NSInternalInconsistencyException', reason: 'Unable to load iPodUI.framework' The code I've used is: MPMediaPickerController *picker = [[MPMediaPickerController alloc]

background image

2012-03-09 Thread Luca Ciciriello
Hi All. Is there a way from iOS code to set an UIImage as iPad desktop wallpaper? Luca. ___ 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

iOS API

2012-02-01 Thread Luca Ciciriello
Hi All. Is there a way to programmatically shutting off the iPhone? In other world I'm searching a public API to control the power manager of the iPhone. Searching on iOS documentation I haven't found nothing (only thing I can do is monitoring the status of the battery.) and this make me think

MapKit

2011-11-27 Thread Luca Ciciriello
Hi All. Is there a way to load a custom map (instead of Google map) in the MKMapView component? Thanks. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Text to speech

2011-11-18 Thread Luca Ciciriello
Hi All Is there in iOS 5 something like COCOA NSSpeechSynthesizer to be used to read some text on iPhone? Thanks for any answer. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Natural language

2011-11-17 Thread Luca Ciciriello
/Reference/NSLinguisticTagger_Class/Reference/Reference.html. If you have specific questions, you can send them to the list. Douglas Davidson On Nov 14, 2011, at 7:02 AM, Luca Ciciriello wrote: Yes, indeed!!! On Nov 14, 2011, at 2:56 PM, Eric E. Dolecki wrote: Just started watching

Re: Natural language

2011-11-17 Thread Luca Ciciriello
Thanks for your answer. This solve my problem :-) Luca. On Nov 17, 2011, at 5:39 PM, Douglas Davidson wrote: On Nov 17, 2011, at 7:51 AM, Luca Ciciriello wrote: but if i analyze the phrase: I am a man I got the result: I -- otherword am -- otherword a -- otherword man -- otherword

RE: Natural language

2011-11-14 Thread Luca Ciciriello
. https://developer.apple.com/videos/wwdc/2011/ On Nov 13, 2011, at 4:31 PM, Luca Ciciriello wrote: Hi All. Any one knows how to use the class NSLinguisticTagger in order to decompose a phrase in its grammar components (name, adjective, verb, etc.)? Thanks for any answer. Luca

Re: Natural language

2011-11-14 Thread Luca Ciciriello
Yes, indeed!!! On Nov 14, 2011, at 2:56 PM, Eric E. Dolecki wrote: Just started watching this video - it's awesome. - Eric On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello luca_cicirie...@hotmail.com wrote: Thanks Vincent, that should solve my problems. Luca. Subject: Re

Re: Natural language

2011-11-14 Thread Luca Ciciriello
. Douglas Davidson On Nov 14, 2011, at 7:02 AM, Luca Ciciriello wrote: Yes, indeed!!! On Nov 14, 2011, at 2:56 PM, Eric E. Dolecki wrote: Just started watching this video - it's awesome. - Eric On Mon, Nov 14, 2011 at 3:32 AM, Luca Ciciriello luca_cicirie...@hotmail.com wrote

Natural language

2011-11-13 Thread Luca Ciciriello
Hi All. Any one knows how to use the class NSLinguisticTagger in order to decompose a phrase in its grammar components (name, adjective, verb, etc.)? Thanks for any answer. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

CoreBluetooth framework

2011-10-29 Thread Luca Ciciriello
Hai List. Is there someone knowing where I can find some line of sample code about CoreBluetooth framework? Thanks in advance for any answer. Luca.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

newbie question

2011-03-18 Thread Luca Ciciriello
Hi All. Im' new in Cocoa and Cocoa touch programming. My question is: How can I make the keyboard disappear when I use a UITextView conroller? In my class I've a Text field and a Text view controller and in my declaration I'v added the delegates: UITextFieldDelegate, UITextViewDelegate now In

Re: newbie question (SOLVED)

2011-03-18 Thread Luca Ciciriello
Sorry for this question. I've find out how to solve my problem in apple documentation. At my first reading I'd missed it. Luca. On Mar 18, 2011, at 4:17 PM, Luca Ciciriello wrote: Hi All. Im' new in Cocoa and Cocoa touch programming. My question is: How can I make the keyboard disappear when

RE: Lyrics in an application

2010-09-21 Thread Luca Ciciriello
Hi. I've found that SQLite is very useful in this kind of Mac|iPhone|iPad applications. Is easy to use, fast and can contain a huge quantity of data in a single not to big file. Using Google you can find many examples how to use in Xcode SQLite and Objective-C. This one:

RE: Reboot? Slow First Run

2009-12-03 Thread Luca Ciciriello
Hi Leonardo. Which version of OS are you using? Which architecture (32/64 bit), Which version of compiler? I don't know if this matter, but is useful for me in order to try to reproduce your behaviour. Luca. Date: Thu, 3 Dec 2009 12:47:27 +0100 From: mac.iphone@gmail.com To:

real beginner question

2009-11-16 Thread Luca Ciciriello
Hi All. I'm a real beginner in Objective-C/Cocoa developing and I have two questions. First of all I want to ask to you if exists a list dedicated to beginners as I am. This in order to not bother the real programmers in this developer list with real beginner question. The second question

RE: real beginner question

2009-11-16 Thread Luca Ciciriello
, this will answer all basic questions about ObjC. Have fun! Sebastian Am 16.11.2009 um 09:18 schrieb Luca Ciciriello luca_cicirie...@hotmail.com : Hi All. I'm a real beginner in Objective-C/Cocoa developing and I have two questions. First of all I want to ask to you

template metaprogramming optimization in COCOA app

2009-08-20 Thread Luca Ciciriello
Hi list. I've included in an Objective-C++ project some part of a my old application written in pure ANSI ISO/IEC 14882:2006 C++. For the portability sake was very important to me the compliance with this standard. In this ANSI C++ application I've used the template metaprogramming

Exit an Application

2009-04-13 Thread Luca Ciciriello
Hi All. I Know this, may be, is the most stupid question on this list by I'm pretty new using cocoa (I'm a C++ developer). I've created an application with a button Exit and I've connected it with the method: - (IBAction)exitApp:(id)sender { // TODO } Now my question is: Which call

Re: Exit an Application

2009-04-13 Thread Luca Ciciriello
Thanks to everybody. You saved my life I'v released the application to my Boss just in time. Bye. Luca. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

RE: Merry Christmas

2008-12-25 Thread Luca Ciciriello
Thank you very much.A Merry Christmas to all the list members. May the knowledge, the meaning and the light be with you.Luca. From: jote...@charter.net To: cocoa-dev@lists.apple.com; xcode-us...@lists.apple.com Date: Thu, 25 Dec 2008 07:24:54 -0500 CC: Subject: Merry Christmas A very Merry

RE: Any reason to avoid GCC-4.2 for Leopard and later targeted code?

2008-12-03 Thread Luca Ciciriello
07:00:00 -0800 How about with Tiger users? Do the applications work there, too? BobSent from my iPhone On Dec 3, 2008, at 6:47 AM, Luca Ciciriello [EMAIL PROTECTED] wrote: No Idea, but I use currently GCC-4.2 for my Apps. I've to say that my applications are C++ and Objective-C++ apps.I

cString

2008-11-27 Thread Luca Ciciriello
Hi All.Recently I've installed the new Xcode 3.1.2 and I've removed my old Xcode 2.5.I've compiled with Xcode 3.1.2 (using the optional compiler GCC 4.2) one of the my Objective-C++ project. No problem, but I've got a warning about the code line: string elem = [[[gridArrayObjc objectAtIndex:i]

RE: cString

2008-11-27 Thread Luca Ciciriello
Thanks Mattias, UTF8String has solved my problem.Bye.Luca Date: Thu, 27 Nov 2008 20:54:11 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: cString CC: cocoa-dev@lists.apple.com On Thu, Nov 27, 2008 at 20:48, Luca Ciciriello [EMAIL PROTECTED] wrote: Hi All.Recently I've

RE: using C++ STL in Empty Project

2008-11-24 Thread Luca Ciciriello
Could you please give to me more info? Which compiler are you using? What kind of project are you attempting to build (Obj-C,/Obj-C++/C/C++)? Luca. From: [EMAIL PROTECTED] To: cocoa-dev@lists.apple.com Date: Mon, 24 Nov 2008 12:27:22 + Subject: using C++ STL in Empty Project Hi all,I

RE: Problem using GCC 4.2

2008-11-21 Thread Luca Ciciriello
I'd a similar problem. I've solved it removing all the pre-define preprocessor macro expecially __gnu_debug_def. Try this way. Luca. www.mitosrl.com Date: Fri, 21 Nov 2008 10:23:56 +0100 From: [EMAIL PROTECTED] To: cocoa-dev@lists.apple.com Subject: Problem using GCC 4.2 I tried to upgrade

FW: failing opening socket

2008-08-25 Thread Luca Ciciriello
Thanks for the answer. Yes, I'm working as root but I'm still unable to find a solution to my problem. Unfortunately I've to implement this blessed ping function in C++ inside my cocoa app. I've used the following code without any results: struct hostent *hp = 0; struct

failing opening socket

2008-08-22 Thread Luca Ciciriello
Hi all. I'm porting a Linux project (using sockets to implement a ping function) on Mac OS X. My problem is that the function: int sock_icmp = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); returns always -1. Where is my mistake? For me is the very first time using socket on Mac. Thanks in

RE: Simple question

2008-03-17 Thread Luca Ciciriello
Yes, you got it. .h stands for header and is the place where you make your declarations, .m stands for module and is where the definitions take place. You can encounter also .mm exetension. In these file you can mix Objective-C an C++ language. Luca.