NSNumberFormatter problems in user interface

Hi guys.
I have number formatters applied to some text fields in my user interface. They work fine generally. The only problem is, if I put in a number, then move onto the next field, and then go back and get rid of that number, the text field requires I enter a '0' instead of being able to leave it blank.
Does anyone know of a way to get a number formatter to accept a blank?
FYI - I am setting these number formatters up in Interface Builder, and have no minimum value set.
I'd appreciate any help you could offer.
Thanks,
Ricky.

You can try overriding UITextFieldDelegate
– textField:shouldChangeCharactersInRange:replacementString:
Check if the replacement string is a space. If so, accept it and if not call super. You will need to implement this in the class that you use as the text field delegate.

Similar Messages

  • Freeze problem in user interface initiatilisation after all NVDIA update and 8.0.1

    I just received Pre 8 and installed it
    When starting the various modules
    - Organiser works more or less fine (it crash when it looks at my folders with 28000 pictures), but it works when doing import folder by folder
    - but when I am starting a new project
    I never get to the user interface of the software
    I get a small red dot and when clicking problem with your driver
    I have already looked at the forum
    updated at NVidia site
    I am running a
    Dell Inspiron 1720
    Windows 7 , 64 bits, French
    4 GB RAM
    NVIDIA 8600 M GT
    latest NVIDIA driver from July 2010 (version 258.96)
    Installed PrE 8 French from the DVD
    upgraded to 8.0.1 from the Adobe website
    I can not use any of the software function as the screen is fully black and I only see the top level menus
    theoptions are availalbe but non of them is working
    and the message atbottowlefttays at user interface initialisation
    Thanks

    I've never set Portuguese, so I really don't know what to tell you. It would be my presumption, though, that this sort of feature would be handled in the World-Ready Composers, but clearly there is either a bug or I'm mistaken, or both.
    I would suggest you file a bug report at Adobe - Feature Request/Bug Report Form, though I doubt there will be a fix.

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • User interface template substitution tags problem

    Portal 9.0.2.0.3 (Upgraded from 9.0.2.2.14A)
    Hi all,
    I am designing an unstructured user interface for use with my portal reports.
    I have located a help document called 'Unstructured user interface template substitution tags' from the standard portal help pages.
    My problem is that only a few of these tags are actually being substituted for their correct values when I run my reports. For example the help document says the #PAGE.CUSTOMIZEPAGE# tag should be substituted with HTML text hyperlink to the customize page dialog. On my report this tag and the majority of others are substituted with a blank line.
    Any ideas?

    Same problem exists with the #TITLE# tag. However, SOMETIMES (I don't know how or why) the tag shows up. If I find out what the secret is, I'll let you know.
    Anyone else have any input?
    Pat Murray

  • Problem in Configuring the Object Editor User Interface

    Hi,
         I m using NetWeaver 7.0.11 & facing the problem in Configuring the Object Editor User Interface.In the Configuration Browser ,when i click on Object Editor & choose New Configuration & try to select service,it shows the flollowing error:
    com.sap.caf.rt.exception.CAFBaseRuntimeException: Service manager initialization failed Illegal argument exception: Unable to create javax.ejb.EJBObject.
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.init(ServiceFacade.java:121)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacade.<init>(ServiceFacade.java:50)
         at com.sap.caf.rt.ui.cool.generic.ServiceFacadeFactory.getFacadeInstance(ServiceFacadeFactory.java:51)
         at com.sap.caf.ui.utils.cool.CoolUtils.getServiceFacade(CoolUtils.java:123)
         at com.sap.caf.ui.ptn.objecteditor.ObjectEditorCC.getServiceFacade(ObjectEditorCC.java:505)
         at com.sap.caf.ui.ptn.objecteditor.wdp.InternalObjectEditorCC.getServiceFacade(InternalObjectEditorCC.java:245)
         at com.sap.caf.ui.ptn.objecteditor.config.OEconfiguratorLayout.onActionSelectModule(OEconfiguratorLayout.java:322)
         at com.sap.caf.ui.ptn.objecteditor.config.wdp.InternalOEconfiguratorLayout.wdInvokeEventHandler(InternalOEconfiguratorLayout.java:300)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Can anybody please tell,what can be the problem?
    regards
    Sumit

    Hello Sumit
    This is most probably the result of metadata corruption on runtime.
    A possible workaround for this situation is:
    Undeploy all the metadata DCs of all the CAF applications you have
    deployed (these are the components which names end on "/metadata", excl.
    caf/core/metadata and caf/tc/metadata (which are part of CAF itself)).
    And then deploy the CAF applications again.
    Regards,
    Désiré

  • Fundamental User Interface Refreshing Problem with Acrobat X

    After installing Acrobat X (both
    Reader and Standard) I got the problem that over time the refreshing of user interface elements stops,
    which means that Acrobat gets into a state, where you can't see parts of the toolbar (and search button) any longer.
    I'd assume that this might have to do something with my combination of operating systems, grafic chip and or the
    new user interface framwork Acrobat uses now (I guess at least it changed, but don't know details).
    Updating to the newest grafics driver didn't help.
    This problem only occurs in Acrobat X applications on my machine.
    Does anybody have the same problem?
    Does anybody have an idea what might go wrong?
    Here is my data:
    - Windows 7 Pro
    - NVIDIA Quadro NVS 135M
    BTW, it seems I can't switch back to Acrobat Std 9 because after installing Acrobat X with a new
    serial number, the old number is reported as invalid if I remove Acrobat X and try to install Acrobat 9 again.
    So, if somebody has a solution there...

    Anyone have any ideas?James

  • I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoint​s along with text box. Can anybody help me in this? Thanks.

    I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.

    Thanks for you reply.
    But actually I don't want to show the \ (backslashes) to the user in my text box. 
    Ok let me elaborate this problem little more. 
    I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark). 
    Regards,
    Waqas Ahmad

  • Problem in designing user interface

    Hi
    I am new to weblogic workshop.Please guide me regarding designing user interface.I had tried form weblogic help but i wasn't able to do it .I am giving the whole form below .i need to finish it asap,please reply
    " REQUESTOR INFORMATION(with black background)
    Date Phone no
    Requestor Name Phone NO
    Alternate contact name
    {all text boxes}
    WEB APPLICATION INFORMATION(with black background)
    Applicatiion name
    Description
    {text boxes}
    environment A() b()
    {check boxes}
    INFORMATION OWNERS(with black background)
    NAME TITLE
    1
    2
    SSO GROUPS(black backgound)
    some more fields)
    SUBMIT BUTTON
    {SHOW BUTTON}
    the following fields are hidden ,they get showed only after i press SHOW BUTTON
    RECEIVED BY
    TICKET NUMBER(any random number generated)
    COMPLETED BY
    {all text boxes}
    Looking forward for a favorable reponse from your side

    Maverick
    It is not possible to post the codes for your requirement.Also you have not mentioned whether you want to use this web app for portal application or simple web application which will be running on weblogic server.
    If you are using portal application
    the JSPs will be the part of JPF(Java Page Flow)
    If you are using web application
    You have to create jsp in weblogic workshop.
    You can use weblogic workshop help to do that
    Also you can find help on www.edocs.bea.com
    Regards
    Bishnu

  • CS6 Hi Resolution Screen User Interface Problems

    I have a new Lenovo Yoga 2 laptop which has a native resolutions of 3200 x 1800. When I install the CS6 suite on this laptop, the user interfaces are too small to be seen.
    Here are some screen shots. Oddly enough, inDesign is the only application that looks proper.
    Photoshop
    Illustrator
    Dreamweaver
    InDesign
    I've tried to find a solution to this but I can only come up with "Retina" based fixes... Have you guys made these fixes for PC users?

    I have the same computer and have patiently waited for the fix.... what a waste of time!!! This is absolutely incredible that a company that wants to compete in the graphic software market will not support resolutions which are rapidly becoming the standard... ADOBE your non-support is an absolute disgrace to your customers that spend money on your software....

  • Problem with "Creating a user interface" ex1_02

    I was going through the exercise for creating a user interface for the Employee Portal and the window is not resizing at all when the window is adjusted. I thought I made a simple mistake somewhere but my code is exactly the same as the solution file which doesn't resize as well. I followed the instructions exactly as described (triple-checked) and tried running the web application in both Mozilla Firefox 6.0 and IE 8.
    The files and instructions mentioned can be found here: http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_02.html
    Thanks in advance.

    Sorry for the delayed response.
    Are you referring to the part of the video where the browser window is resized so that the application content is not contained within the Rect component? If so, this was only shown in the video to demonstrate how the bottom of the Rect component resizes based on the browser, while the contentGroup does not resize based on browser's height.
    In the finished application, you should not see the application's height collapse. However, if you expand your browser, you should see that the Rect component is still constrained to 20 pixels from the bottom of the window.

  • Unity Connection 7.1.3 user interface webpage access problem

       I'm running Cisco Unity Connection 7.1.3.10000-68 on a vmware 1.0.8 platform in lab and I'm trying to access the user interface
    "http//:<UnityPublisher Address>/ciscopca" and I get the web error message:
    HTTP Status 404 - /ciscopca
    type: Status report
    message: /ciscopca
    description: The requested resource (/ciscopca) is not available.
       I've checked that all the sevices are activated and I can't figure out why the user interface isn't working. Am I missing something or does Unity Connection on a VMWare platform not support access to the user interface webpage?
    Thanks,
    Jim

    David,
          I had it at 1024 and I bumped it up to 2048 and now it works.
    Thank you very much!
    Jim

  • How can I display step info in User Interface with Tracing Disabled?

    I'm trying to modify the CVI Operator Interface application to update the execute panel with some step information during the execution of the program. i.e. I want to display the measurement, high & low limits during the run WHEN TRACING IS DISABLED. (Doing this, when tracing is enabled is easy, all you do is access the step record that's been constructed (I can cope with that!))
    I've successfully implemented a User defined execution event to signal the User Interface application when the current step is a result (using TS_UIMsg_UserMessageBase etc. I'm posting a UI Message in the Process Model under the ProcessModelPostStep so that I will only display if its a result step.) I've added a user defined
    entry in the execute.c module execution event switch statement which will call a function in the exedisp.c module to update the display. However, I don't have a context to the step that I can use. (I can't use e.g. the exeRec record since this is only completed with the context if tracing is enabled.) I've got a handle to the correct panel to write the information to, but how do I get the context to the current step when tracing is disabled?
    Regards,
    Brian

    Hi,
    no problem - btw, if you wanted to acheive this in TS 1.x, you could always write to a local variable with the ActiveX reference for the step concerned, and then use the msg reference that you have in the OI within the UI Message handler, to dig through to the Execution ->Sequence File->Sequence->Locals, or Execution->Thread->SequenceContext (and you can get almost anywhere from that).
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • After Effects not starting at all, stops at "initializing user interface"

    I installed CS5 master collection trial version on W7 64 bit machine.
    After Effects  doesn't load at all (it stops at "initializing user interface") and it's  even impossible to kill the  process in windows (never had this problem with any app). I can shut down all  the other processes, like dynamiclinkmanager.exe  or Adobe QT32  Server.exe, but aftereffects.exe  just won't stop and I need to restart my PC.
    Also  Premier crashes after I click 'new project', or try to open something,  but the application starts and I do see the whole GUI.
    I updated Quicktime, as well as my video card  drivers. All  other apps in the master collection seem to work fine. Uninstalled the  whole thing twice (with the remove preferences option), cleaned the registry with a comodo system clean up utility,  reinstalled also twice- nothing. Tried with the firewall turned off and  quick time completly uninstalled - nothing changed.

    can you rename or delete "C:\Users\xxxxx\AppData\Roaming\Adobe\After Effects\10.0"
    can you rename or delete for max 11
    "C:\Users\xxxxx\AppData\Local\Autodesk\3dsmax\2011 - 64bit\enu"

  • My laptop will not start - it's telling me that "the logon user interface dll csgina.dll fail to loa

    My Laptop will not start - it's a 4 year PC and it's runing on XP.
    When I start I get this message" The Logon USer Interface DLL failed to load - Contact your administratoe to replace the DLL or restore the original".
    How do I fix so I can start my windows.
    Thanks,

    Hello -
    Try this:
    - When you receive the error message that is described in the "Symptoms" section, click Restart.
    - Press F8 repeatedly as your computer begins to restart. This triggers the Windows Advanced Options menu.
    - Use the arrows on your keyboard to select Last Known Good Configuration, and then press ENTER.
    (Also, You can try Safe Mode and do a "System Restore" from there.)
    ***Last Resort, you will have to edit the registry and this may prevent your computer from booting***
    - boot your system and tap away at F8
    - Select Safe Mode
    - After Windows loads into safe mode.
    - Start >> Run >> “regedit” Press Enter.
    - Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
    - Look for the GinaDLL Key
    - Select and delete this key and this key ONLY. DO NOT delete the entire Winlogon folder of keys.
    - Close Regedit with the RED "X"and reboot the machine
    ****Although I am an HP employee, I am speaking for myself and not for HP.****
    ****Click the White Kudos star to say thanks****
    ****Please mark "Accept As Solution" if it solves your problem****

  • A more successful experiment in creating compositable user interfaces for Config Dialogs

    A couple weeks ago I posted an experiment in creating compositable user interfaces using transparent subpanels. The approach might best be described as, "It at least was notable for being novel."
    Today, I'm posting another attempt, this one along more traditional lines, and far more successful. Particularly notable: this one can do all the arbitrary composition of the last one AND it solves the TAB order problem.
    This solution uses a picture control and renders N copies of a control. When the user tabs to a control or moves the mouse over the control, a real control slides into that position to be able to catch the events (update mouse over draw state, highlight for keyboard focus, handle typing, etc). When the Value Change occurs, a master array of data is updated and the picture control is updated.
    This is something that has been attempted in various forms in the past, but there are two aspects of this particular implementation that make it nice:
    its programmatic interface for specifying the behavior of the various objects should make it fairly easy for a user of the framework to programmatically generate their dialogs
    it handles the TAB problem without flickering, something I haven't seen in other attemps
    This idea spawns out of conversation about the previous experiment -- thanks to those of you who posted on various forums, e-mailed me, or, in a couple cases, showed up at my desk. That last one is not something I'm encouraging unless you work at NI... just saying. :-)
    Now, this experiement has already yeilded some interesting conversation. We note that as long as controls are instantiated independent of each other -- that is, no property of one control depends upon the property of another control -- this dialog system scales nicely. But in this experiment, I implemented Radio Buttons, which interact with each other -- when one is set True, the others go False. As soon as controls start interacting with each other (such as graying out one control when a checkbox is toggled, or having expandable sections, or really complex cases like updating a graph as some options change, like happens in some Express VI config dialogs) then we start needing ways to refer to the other controls. This rapidly moves us in one of two directions: naming controls or creating references. The naming approach is definitely my preference as it fits better with dataflow and I can do some interesting effects with breaking apart some of the tree. But all of this quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you unfamiliar with XAML, in the world of UI design, it might very well be the coolest thing since sliced bread. A XAML string would indeed fit with dataflow, and we could start building that up. I hesitate to head down this road for two reasons. One, as many have noted, there's really not a good XML parsing library written in LabVIEW that can give me a useful DOM tree. Two, that's a huge project and my gut sense is that you'd have to complete a fairly large chunk of it before you'd start seeing any return on investment. But it is worth thinking about -- I might be wrong. Wouldn't be the first time. This code that I've posted today can at least get you started on the generation side if one of you decides to become industrious.
    I'm turning my attention away from this project for now... coding in G is lots of fun, and I wish I could spend more days doing it, but this has been a side project and it's time to get back to my assigned projects in text programming. Building a powerful platform for automatic UI generation in LabVIEW would be really useful -- I see lots of requests for this sort of thing, and other languages are pulling ahead of us in this domain.
    [UPDATE 5/17/2012 - There is an improved version.]
    Solved!
    Go to Solution.
    Attachments:
    ConfighThroughCtrlCreation.zip ‏558 KB

    Elijah K wrote:
    Thanks for posting this Aristos.  I would normally be one of those to go bug you at your desk, but in case I'm not the only one with this question... which particular flickering problem are you referring to?  The act of switching tabs?  In all honesty, I've never noticed...
    When you move controls around on the screen, normally you try to Defer Panel Updates while you do that. But Defer Panel Updates has an effect on control's abilities to catch certain mouse clicks, so when you're trying to move a control to catch the mouse, you have to work a lot without Defer Panel Updates, so if you're adjusting captions, etc, to match the new location, you can see flicker as properties adjust. You can move the control off-screen, as long as you have already updated the picture control to reflect the changes. It took a while to catch all the ways that the flickering can crop up. I think I got 'em all.
    Attached are the VIs saved for LV 2009. Actually, they're saved for LV 8.6, but it doesn't work in 8.6 because of a bug in the picture control that existed back then.
    Attachments:
    ComposableUI_LV2009.zip ‏391 KB

Maybe you are looking for

  • TS1538 How do you get the devices to list in iTunes

    "Devices" doesn't show up in my iTunes lefthand side list.  I have WiFi and the Apple TV (1st generation) has been connected successfully.  I want to sync some photos.  The lastest software has been downloaded in both iTunes on my computer and on the

  • Webi Reporting Help

    I have created a universe based on Query and using Webi for reporting Using Finance data,Bex Query is defined in such way that  if run a report is run for 01.2012  the layout shows actual data for period 1 and rest of period ( 2-12 ) columns plan dat

  • Witholding tax calculation - Accumulation type

    Hi Experts, I have two scenario in extended witholding tax to be configured. 1. 194C - Payment in excess of Rs.30,000/- in a single payment or Rs.75,000 in aggregate in a FY 2. 194I - Payment in excess of Rs.1,80,000 p.a. It would be greatful , If an

  • Setup openvpn to access the client's lan

    i have the following topology: http://imgur.com/ANEtu i want to be able to access 10.20.30.2 from the server. restrictions: - 10.20.30.2 cannot be modified in any way - VPN client is windows. is this possible?

  • Rec_transactions_interface table troubleshooting

    Hello we are having errored records processing_status_code = 'ERROR' or transaction_status_code = 'ERROR' from the previous months. 1--when we run this process next month, will we need to remove all previous months records from  rcv_transactions_inte