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 nor

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 in

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 wrote: > I apologize for leading you the wrong way Luca! > > -Luther > > > > On Thu, Mar 21, 2013 at 9:46 AM, Luca Ciciriello > wrote: > Ok, thanks. > > Luca. > > On Mar 21, 2

Re: Number of chars

2013-03-21 Thread Luca Ciciriello
Ok, thanks. Luca. On Mar 21, 2013, at 3:43 PM, Glenn L. Austin wrote: > > On Mar 21, 2013, at 2:34 AM, Jean-Daniel Dupas wrote: > >> >> Le 21 mars 2013 à 09:27, Luca Ciciriello a >> écrit : >> >>> Hi all. >>> I'm using in my

LTO and debugging

2013-03-21 Thread Luca Ciciriello
Is it normal that no breakpoint is reached (disabled?) when the Link-Time Optimization is enabled? Luca. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderat

Re: Number of chars

2013-03-21 Thread Luca Ciciriello
I don't think your example makes sense. How is 'num of char of "test"' ever 3? > > In a particular string representation, all letters are each, generally > represented with the same number of bytes. > > On Mar 21, 2013, at 3:27 AM, Luca Ciciriello > wr

Number of chars

2013-03-21 Thread Luca Ciciriello
Hi all. I'm using in my iOS project some Objective-C++ modules. Here I have some conversion from NSString to C++11 std::string. After this conversion I found (correctly) in my std::string some 2-byte characters. My question is: How can I count the number of chars and not the numbers of byte in

Re: UIActivityIndicatorView

2013-01-15 Thread Luca Ciciriello
Understood, thanks. Luca. On Jan 15, 2013, at 4:31 PM, Uli Kusterer wrote: > On Jan 15, 2013, at 3:18 PM, Luca Ciciriello > wrote: >> I use an activity indicator in order to show, in my UIViewController, a >> "work in progress" activity. >> >&g

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: lambda in C++

2012-10-17 Thread Luca Ciciriello
; it even include a clang specific conference. > > http://channel9.msdn.com/Events/GoingNative/GoingNative-2012 > > Le 17 oct. 2012 à 10:44, Luca Ciciriello a > écrit : > >> I've read that Apple LLVM supports many specific features of the C++ new >> standard includi

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 wrote: > Luca, > > On 17 Oct 2012, at 10:19, Luca Ciciriello wrote: > >> Is there some WWDC2012 video secti

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 cocoa-de

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 wrote: > > On Aug 6, 2012, at 1:05 AM, Luca Ciciriello > wrote: > >> [[self textView] setFont:[UIFont fontWithName:@"Chal

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 = [[UISwipeGestureRec

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. __

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 KCGImage

Re: Core Image

2012-06-15 Thread Luca Ciciriello
0_4, > __IPHONE_4_0); > > Did you pick the right 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

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. ___ Cocoa

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 Ma

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

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 he

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] in

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? Anyw

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 cocoa-dev-admi

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 moder

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
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 --> otherwor

Re: Natural language

2011-11-17 Thread Luca Ciciriello
l> > and the NSLinguisticTagger class reference > <http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSLinguisticTagger_Class/Reference/Reference.html>. > If you have specific questions, you can send them to the list. > > Douglas Davidson >

Re: Natural language

2011-11-14 Thread Luca Ciciriello
uestions, 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 this video - it's

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 > wrote: > > Thanks Vincent, that should solve my problems. > Luca. >

RE: Natural language

2011-11-14 Thread Luca Ciciriello
sion from WWDC '11 should be of help. > 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

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 pos

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 c

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 t

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: now In the case of UITextField I've used the met

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: http://thinki

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: c

RE: real beginner question

2009-11-16 Thread Luca Ciciriello
er.apple.com/mac/library/documentation/cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html > > , this will answer all basic questions about ObjC. > > Have fun! > Sebastian > > > > Am 16.11.2009 um 09:18 schrieb Luca Ciciriello >: > > > > > Hi

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 (th

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 methodo

Re: C++ constructors.

2009-05-13 Thread Luca Ciciriello
in addition to this copy-constructor, had you provided a default constructor? in addition try to using the copy constructor with const parameter has show below. Cbyte1::Cbyte1 (const Cbyte1 &val) { // SOMETHING } Luca. ___

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 moderat

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 ca

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 ver

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

2008-12-03 Thread Luca Ciciriello
2008 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 Obje

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> <[EMAI

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: using C++ STL in Empty Project

2008-11-24 Thread Luca Ciciriello
In this case make you sure to use .mm as extension for your module and, as Jean-Daniel Dupas has said, try to link against libstdc++ lib Luca. _ See the most popular videos on the web http://clk.atdmt.com/GBL/go/115454061/direct/01/

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 a

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 upg

FW: failing opening socket

2008-08-24 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 sockaddr_in

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 advance

RE: Learning How to Program in Objective-C

2008-07-11 Thread Luca Ciciriello
Hi. You are right. If you have no programming experienced at all, yours will be a very long journey. Anyway you can start with a good tutorial in OOP (object oriented programming) and then start to learn some basis of Objective-C and COCOA framework. Yes, Xcode 2.5 on 10.4.11 (2.5 is the last

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. ---

POSIX thread in cocoa project

2008-02-23 Thread Luca Ciciriello
Hi All. I've added to a cocoa project a .cpp file. In this file I've implemented a multithreading system using POSIX. Now, from my cocoa app's window I can use the functionality of the new added cpp file (using a .mm file as interface). The problem is that I'm able to create a detached thread w