Xcode Changes My Capitalization

Sometimes, when I type something in Xcode, it changes the capitalization. For example, I type psSimpBox, and it changes to psSimpbox. That's OK since it's just a variable, but it is annoying. However, here's a real problem: When I type stringValue(), it changes to StringValue(). And, so I get a unrecognized selector error.
Also, Xcode has been recently doing a weird thing where my code starts appearing to run into itself. This is annoying, but has never actually broken things before. I don't think these two problems are related, but it seemed worth mentioning. Photo here.
The code is less than 1000 lines. I'm not getting any other errors. I don't have other vars with similar names. This isn't being caused by Xcode's autocomplete, or TextExpander, or something like that. It doesn't change until I compile.
Any ideas for how to fix this? The main problem is the capitalization, but the others would be nice to fix too...
Not sure if this is worth mentioning, but the app is mostly in ASObjC.
Thanks!

Xcode and the AppleScript Editor will remember the capitalization of your term from the first time you use it and will use that instead of anything else. About the only way I have found that works to correct something like this is to quit Xcode (and the AppleScript Editor if it is also open), then edit the .applescript file(s) to correct the case. You can open an editor again for the editing, but the first time you compile you will get stuck with the current capitalization again - I usually use BBEdit.
The Xcode editor formatting gets lost more often if you have changed from the default preferences (the first versions were worse), but the display will be correct again if you close that file and reopen it.

Similar Messages

  • How to change Asset Capitalization date ?

    Hello
    All Experts,
    I want to chnage asset capitilizatio date so how can I ?
    Experts guidance is needed.
    Regards,
    Pankaj.

    Hi,
    You can change the asset cap date at any point of time using AS02.
    But the date in the First acquisition on cannot be changed, since it is a display field.
    At the time of changing the cap date, system will shows an warning message like below.....
    You should no longer change the capitalization date
    Message no. AA225
    Diagnosis
    You have changed the asset capitalization date.
    You can make this change, however this warning should make you aware of the consequences of such a change.}
    And what is the business requirement to change the cap date?, since if you have already posted the dep posting, it doesnot make any adjustment to it.
    Thanks,
    Srinu

  • COI activity - change in capitalization (Rights issue)

    Hi,
    Please can you provide a solution to handle the following business scenario. (SAP help documentation mentions that the product does not support the decrease in stake resulting from change in capitalization)
    How to handle Rights Issue resulting in stake dilution of holding company?
    Business Scenario - Co. A has 80% stake in company B (at first consolidation level)
    Company B issues additional equity(rights issue) which is not exercised by Co. A. This is bought by others(minority)
    As a result, the stake of Co. A in B decreases from 80% to say 60%(dilution of stake of A)
    Can you please tell how should the AFD(in terms of COI activity numbers/types) be provided to handle this situation. Because for activity - Increase in capitalization - SAP standard says that the % shareholding doesnt change.
    Waiting for your valuable inputs.
    Thanks
    AJ

    Hi AV,
    I'll try to give the entire scenario in detail -
    Co. A is parent company of Co. B (100% subsidiary)
    First acquisition -
    Investment data 100000
    Equity share capital - 100000
    Reserves  23205
    hence, total equity - 71795
    Goodwill posted after first conso 28205
    Next period - Co. B increases its equity share capital by -50000
    which is provided to system in AFD with CI activity 05
    Co. A's share gets diluted because all additional equity is taken by external parties.
    Say it gets diluted to 82.11%
    So in investment data I provided -17.89% as change in shares, with activity type 10 and investment value zero.
    System posts two docs - one for increase in capitalization and another for partial divestiture
    1. Increase in capitalization document -
    Equity share capital is reversed(+50000)
    and entire -50000 goes in negative goodwill (since the investment was zero)
    2. Partial divestiture document - 8945 (17.89% of 50000)is posted in "Profit from divestiture" and Minority interest is also created of 8945
    This doesnt serve my purpose of "Dilution of stake resulting from additional equity issued by subsidiary company"
    Goodwill posted earlier(in first conso) is not getting affected?
    Please give me some inputs because this is a very common business scenario..and whoever has done a BCS implementation must have tested for this scenario...
    Regards
    AJ

  • Why can't I change the capitalization of letters in my iPhone music library?

    Just got a new iPhone 6. Once I sync music to my phone, I'm unable to change the way song/album/artist titles are capitalized. For example I synced one album to my phone where the title of the album was in all caps. I then deleted the album from my phone, changed the title to lowercase letters in iTunes, and re-synced it to my phone, but on my phone the album title still appears in all caps. The problem persisted even after I restarted my phone, and I made sure to type the album title in lowercase letters in the "sort as" field as well.
    The same problem is happening with an artist name as well. How do I fix this?

    I have this exact problem, an artist is in all caps. Must be an issue with how the music app database is set up somehow. Changing the text to something else "fixes" the capitalization but the app still remembers the old all caps name for it when I try to change back.

  • New XCode = Changed Applescript

    Hello Forum,
    I recently got a new macbook pro 13 inch. *yay* With it, I received the new XCode 3.2.3. I noticed that the Applescript based application has changed to Cocoa-Applescipt. Sounds cool. Could anybody give me the changes, that where made? There is a field of default code projected in my main file of my project.
    script UntitledAppDelegate
      property parent : class "NSObject"
              on applicationWillFinishLaunching_(aNotification)
      -- Insert code here to initialize your application before any files are opened
              end applicationWillFinishLaunching_
              on applicationShouldTerminate_(sender)
      -- Insert code here to do any housekeeping before your application quits
                        return current application's NSTerminateNow
              end applicationShouldTerminate_
    end script
    Could some one explain what this does? Do I need this?
    Another question: How do I link my GUI to my code. For instane, how do I link a simple button, so when it is clicked, my code exectues some task.
    Thanks a lot guys. I need to make my self compftable with this changed environment.

    Essentially AppleScriptObjC throws out all of the old AppleScript Studio wrappers (on clicked, etc) and provides a way to call Cocoa methods directly.  There aren't a whole lot of examples by Apple, since part of the reason for this change was to be able to use the existing Cocoa documentation (adapting to the new calling conventions is left as an exercise for the user).  Apple documents their changes in the AppleScriptObjC Release Notes, but in general you are going to be wandering around the existing documentation for a while.
    You usually need those default handlers, since they are called when your application launches (equivalent to the old on will finish launching) and when it quits (on should quit).  To link your GUI items, it isn't too much different - instead of using names, you create properties in your application, and connect the interface objects to them from Interface Builder.
    There are some examples in the AppleScriptObjC in Xcode tutorial at MacScripter, and I have a few simple example projects and references on my AppleScriptObjC web page that have been gathered from various travels and experiments.
    Shane Stanley also has an excellent e-book available at Mac OS X Automation, that really fills in the blanks - definitely worth the investment.

  • How to change the capitalization date

    Hi ,
    I carried out WBS to AUC settlement on 31.12.2009, due to which AUC cap. date becomes 31.12.2009. Now i want to change the cap date to 01.12.2009. How do i do it? Reversing the settlement using CJ88 can only change the first Acq date but not the cap date. Also cap date is not an editable option in AS02.
    Reason for all this is that i want the cap date of fixed asset to be 01.12.2009.
    Regards,
    DP

    Hi Srinu,
    Thanks for your reply. Are there any implications of changing the cap date manually? Is it an advisable option or is it better to keep asset value date as 31.12.2009 and then post an unplanned dep for the asset.
    Regards,
    DP

  • Asset Capitalization Date change

    Dear SAP Gurus,
    We uploaded the opening assets in 2006  and the cpitalization date updated as 31.03.2006. Now our asset accounts team
    wants to update the actual capitalization date .
    Shall we change the capitalization date now? what is the impat ?
    Is there any SAP notes available is this regard?
    urg please...
    Tamilselvan

    Hi Tamilselvan,                                                                               
    it can have impact on the derpeciation calculation.
    Perhaps it have impact on reporting (for example RAGITT_ALV01  if some transactions are posted bevore the  capitalization date.                                                                               
    perhaps the following notes will help you.                          
    50970   When and with which date is an asset capitalized?           
    548899  FAQ depreciation asset accounting                           
    Generally this should not be really critically.
    Regards Bernhard
    Edited by: Bernhard Kirchner on Apr 21, 2010 2:31 PM

  • Captilaisation date change

    Experts,
    I need to change the capitalization date for the asset purchased. That can be done through AS02.
    Asset purchased on Oct 2008 and the same has to be changed as Sept 2008. Depreciation run for sept and oct 08 already done.
    Now we need to change the capitalization date from oct 2008 to sept 08 and depreciation has to be posted after that changes.
    Is that possible by anyway ???
    Points will be awarded fully.
    Cheers,
    Raja.A

    Dear Raja,
    Try to choose "Repeat" for reason for posting run and then execute for depreciation, or can also try for "unplanned Run".
    If both of them does not work, and you have changed the depreciation run date, next time when you run AFAB for next period, it will automatically post the net amount as per the new depreciation date for that period.
    Hope this will help you Out.
    Regards
    Ashok Kumar.

  • Capitalization Date

    Hi Gurus,
    Kindly advise if it is advisable to change the capitalization date when we transfer asset within the company using t-code ABUMN just for reporting purposes.
    Thanks,
    Ellicec

    Hi Viswa,
    Here is the scenario.  We have an original asset no which is 7800002100. The capitalization date of this asset maintained in AS02 asset master data is 12/07/2009.  We need to transfer this asset to a new cost center so we transfer the asset within company code using ABUMN.
    In ABUMN, we created a new asset that will replace the original asset.  However, we change the capitalization date of the new asset (replacement) to 01/01/2011.
    Kindly advise if it's ok that we change the capitalization date from 12/07/2009 (old asset ) to 01/01/2011 (new asset )
    Regards,
    Ellicec

  • Capitalization in artist name different in iTunes and on iPhone

    I recently found that when I change the capitalization of an artist's name in iTunes, that change does not carry over to my iPhone when I put the music on the phone.
    For example, I had the artist Built to Spill classified as "Built To Spill" in iTunes, so I changed the artist name to "Built to Spill."
    But when I put their albums onto my iPhone, it lists them as "Built To Spill" with the capital T, even though I changed it.
    I'm not sure why my iPhone isn't recognizing the change in capitalization. I'm really nitpicky when it comes to organizing my music, so this is really annoying to me. Please help!

    I also have the same problem as you. I changed "Panic! at the Disco" to "Panic! At the Disco" on my iTunes but it didn't change when it was synced on my iPhone. Help!

  • How to organize Mail folders?

    Hello,
    I am having a heck of a time trying to figure out how to do something in Mac Mail (I'm on Mountain Lion with a MacBook Pro with Retina Display).
    In the past (pre-Mountain Lion), I had individual folders for each of my mail accounts. For example, I had a folder for Comcast mail, Gmail, Hotmail, iCloud, and Yahoo. In the left-hand column of the main Mail window, it was nicely organized so that there was the "main" folder for a particular email service, and then underneath that folder there would be other folders such as Sent, Trash, etc.
    However, the way it appears now is that there is one single "Inbox", and underneath that Inbox are MORE Inboxes, with each one being a different mail service. For example, under my Inbox, the next thing down is "POP Account", then "GMail", then iCloud". But they ALL fall under the main heading of "Inbox".
    I really don't care for it to be set up this way. I much prefer having a dedicated Inbox for each mail service, and then the various folders that relate only to that service underneath.
    I hope I'm describing this correctly. For years, it was set up the way that I liked it. I'm not sure when it self-changed to the way it is now, but I really don't care for it. I've gone through all of the menus and I can not figure out how to get it back to the way it was.
    Any assistance would be greatly appreciated. Thank you!

    The “On My Mac” folder has never existed as such, neither in Mail 1.x nor in Mail 2.x. Mail uses that term to differentiate custom mailboxes stored locally on your computer from mailboxes stored on the server of IMAP accounts.
    In Mail 1.x such mailboxes appeared in the mailbox list grouped under an “On My Mac” icon, whether that’s how you wanted them to appear or not. In Mail 2.x, this changed to offer greater flexibility in how the user wants his/her custom mailboxes to be organized — see Mail Help’s “My mailbox organization was lost after upgrading Mac OS X” article. This allows the user to have multiple top-level “On My Mac” hierarchies, or name the group differently, or have custom mailboxes appear directly at the top level of the mailbox list for greater convenience, etc.
    To answer your question, no, you aren’t stuck with how Mail organizes custom mailboxes, but as you have found out, Mail has some bugs & glitches when it comes to reorganizing mailboxes, and you should make a back up of at least your ~/Library/Mail/ folder before start making changes, just in case.
    I sometimes reorganize my own custom mailboxes by renaming and/or moving them, and have never experienced any issues myself, so you should certainly be able to do things like that. There are only two things I recommend not doing in Mail when reorganizing mailboxes:
    1. Even though Mail allows it, don’t use a folder as both a mailbox (i.e. to store messages of its own) and as a parent folder for other folders.
    2. Never, ever, rename a folder just to change its capitalization. If you want to change from uppercase to lowercase or vice versa, rename the folder to something different first.
    A more thorough discussion of these issues, for those who might be interested, can be found in the following thread, for example:
    Mail - lost mail - driving me mad

  • Depriciation error.

    Hi,
    one asset Document has been posted after Actual date, 12 days after the capitalization of asset
    say asset supposed to  capitalized on 4.11.2008 but document has been posted on 16 th of the month,
    so first i need to change asset calculation and capitalization date (becuse asset has been capitalized after 12 days then the  actual date)since we posted the depriciation i need to rectify the depriciation of the asset which alrady posted.
    regards
    karishma

    hi,
    You can change the capitalization date from T-code:- AS02 or else you can give the depriciation start date
    from This  t_code which is suitable for you.
    After changing the depriciation recalculte the deprication for that specific asset.
    from T-code :- Afar.
    regards
    SU*

  • GGB0 Asset Master Validation of fields on different tabs, on SAVE button

    Hi, Experts.
    For the the validation step in GGB0,  I need to trigger the validation step when the SAVE button clicked in AS01.
    The point is, you have to trigger the validation step with ANY tab-screen in AS01 is ACTIVE ( General , Time-dependent, Allocations ...)
    Requirement:
    When following 2 conditions are satisfied, show error message and let the user to change the Capitalization date.
    Cond.1:  the Capitalization date ( ANLA-AKTIV ) on 'General' tab  is one specific value, YYYYMMDD , not Blank.
    Cond 2 : the City(ANLA-GDLGRP) on 'Allocations' tab includes one special value XXXXX, not Blank.
    I implemented the check and activated with OACV,
    with FGT  = 'A' and logical field group is 002 ( Posting information ) .
    The prerequsite on GB00 is as follows.
    [ (ANLA-GDLGRP <> 'XXXXX' ) AND ( ANLA-GDLGRP <> '' ) ]
    The check  is as follows.
    [ ANLA-AKITIV  <> 'YYYYMMDD' ]
    The current behavior on AS01 is as follows:
    The check works well only when  you click SAVE with 'General' tab active.
    However, it  does NOT work on different tabs ( Allocations, Time-dependent, and so on... )  are active.
    Normally, the users hop around different tabs in AS01, and finally SAVE.
    So  I can not expect which tab is active when the 'SAVE' was clicked....
    Need help & thank you lot in advance

    The link mentioned by you ToonS is not acessible.
    Here is the link:
    http://msdn.microsoft.com/en-us/library/office/gg615466(v=office.14).aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Add-AzureAccount - Account1 Ids do not match

    I have been using Azure as a part of my MSDN subscription for a while. I used Azure Powershell to log on to my account and e.g. move data to the blob storage. Everything worked fine.
    Today I have been assigned to a new subscription. Additionally to my existing MSDN subscription I have been assigned as a Co-Administrator to my company's Azure account. When I log on to the management web portal everything looks fine. I can see both subscriptions
    and switch between them.
    However when I open Azure Powershell and use Add-AzureAccount to logon, it opens up the logon window, I enter my credentials, but then I get an error message in the PowerShell saying "Account1 ids do not match". We thought it is related to upper/lowercase
    in my Live ID - but moving everything to lower case didn't resolve the issue.
    After using Add-Azure account and getting the error described above, I tried using Get-AzureAccount. This shows my LiveID, but only with one subscription.
    Any advice?

    PSVersion is:
    Name                           Value
    PSVersion                      4.0
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    CLRVersion                     4.0.30319.34014
    BuildVersion                   6.3.9600.17090
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion      2.2
    "changing the properties of the record of your ActiveDirectory guest account,
    through the portal" -This does not resolve the issue:
    I entered the portal, opened the enterprise subscription, went to the list of administrators and changed everything to lower case. Still
    receiving the same Powershell error.
    AND in the portal on the upper right site I still see the username in different formats. When I open my MSDN subscription the username is still showing as "[email protected]", but in the enterprise subscription it is showing as "[email protected]"
    (even after changing the capitalization in the administrator list)

  • Snafu summary and request for organizational tips from here

    Several questions and a long-arse explanation.
    Am I stuck with the organizational structure of folders and subfolders I had in mail when I upgraded to Tiger?
    If not, how do I organize my mail into folders and subfolders without losing it? (I'm afraid I won't remember to not drop messages into a white one).
    I have read in Apple's documentation and here that Mail 2.x does not use the "On My Mac" folder. But when I go to create a new folder (running 2.1), under "location" it says "On my mac," and it gives me no other option. Is this a glitch in my installation, or does the program tell you it's creating mailboxes in a folder it doesn't actually use? Or?
    I recently upgraded to Tiger. Late to the party, I know. Last night I also decided to tackle my overflowing inbox (2200 messages). I filed, I organized. I moved stuff around.
    Weird stuff ensued.
    Some of the messages wouldn't go into certain folders. Huh.
    Well, I can fix that; it's probably a permissions issue, or maybe the folder got corrupted in the update. I ran disk utility to repair anything; nada.
    I renamed folders. They changed color. That's odd. I went into colors and tried to change them to something else.
    I created a new mail folder elsewhere with the same name as the "broken" one and moved the subfolders from the "broken one" into it.
    I discovered some of the folders I had moved had nothing in them. I started looking. A LOT of folders had nothing in them, and they weren't in /library/mail, either.
    By now you're either banging your heads on your desks or laughing yourself silly at my naivete. (I should point out for your additional amusement that I not only had messages from mail from OS 10.2, I had mailboxes I had imported from Eudora, and one of those was one I'd tried to move to a higher level).
    So. I spent several panicked hours trying to fix things, bolluxing them up worse. I finally ended up here, where read very helpful messages, many by David Gimeno Gost. I would like to point out this is the ONLY place I found relevant and helpful info.
    Thank you; Thank you; Thank you. I am restored (well, at least my mailboxes are.) Lost two hours of organizational work and I'm back to an inbox of 2200 messages, but I HAVE THEM. (Thanks also to the friends who nagged me until I got an external hard drive and started weekly backups.)
    And I'm back to square one with a bulging inbox, only I'm leery about doing anything. If I understand what I'm reading right, unless I like migraines and upset stomaches I:
    1. will always have to remember that white folders are simply "scaffolding" for lack of a better term, and cannot hold anything except other folders. Thus I should never try to file messages in a white folder.
    2. really shouldn't move folders with subfolders in them at all. Especially if they're from a previous incarnation of Mail, or imported.
    3. should never never never accidentally name a folder with the same name, even to "fix" capitalization.
    4. avoid renaming folders at all, especially ones that contain other folders.
    I realize that's fairly draconian, but I'm often in Mail at 11 p.m. when my brain is dead. Rules that require no thought whatsoever are best. So.
    FINALLY, back to my original questions:
    Am I stuck with the organizational scheme I had when I upgraded?
    If not, how do I REorganize my folders without losing anything?

    The “On My Mac” folder has never existed as such, neither in Mail 1.x nor in Mail 2.x. Mail uses that term to differentiate custom mailboxes stored locally on your computer from mailboxes stored on the server of IMAP accounts.
    In Mail 1.x such mailboxes appeared in the mailbox list grouped under an “On My Mac” icon, whether that’s how you wanted them to appear or not. In Mail 2.x, this changed to offer greater flexibility in how the user wants his/her custom mailboxes to be organized — see Mail Help’s “My mailbox organization was lost after upgrading Mac OS X” article. This allows the user to have multiple top-level “On My Mac” hierarchies, or name the group differently, or have custom mailboxes appear directly at the top level of the mailbox list for greater convenience, etc.
    To answer your question, no, you aren’t stuck with how Mail organizes custom mailboxes, but as you have found out, Mail has some bugs & glitches when it comes to reorganizing mailboxes, and you should make a back up of at least your ~/Library/Mail/ folder before start making changes, just in case.
    I sometimes reorganize my own custom mailboxes by renaming and/or moving them, and have never experienced any issues myself, so you should certainly be able to do things like that. There are only two things I recommend not doing in Mail when reorganizing mailboxes:
    1. Even though Mail allows it, don’t use a folder as both a mailbox (i.e. to store messages of its own) and as a parent folder for other folders.
    2. Never, ever, rename a folder just to change its capitalization. If you want to change from uppercase to lowercase or vice versa, rename the folder to something different first.
    A more thorough discussion of these issues, for those who might be interested, can be found in the following thread, for example:
    Mail - lost mail - driving me mad

Maybe you are looking for

  • Sharing album artwork with fast user switching and soft links

    We have 4 users, 4 iPods, 4 sets of playlists. Each has their own account. All the music lives on an external drive and each iTunes is set to store its music in the same shared folder. That all works fine. Now we're getting into album artwork, and I

  • How to make ADF Business Component Connection which is using XATransaction?

    Hi all, I'm using ORACLE 10.1.3 ADF business component, how to set this component using XA transaction? Is that possible to use xa transaction manually from application module? thanks

  • Change line styles in an Excel graph

    I am using the report generation toolkit in LabVIEW 2009 and need to change the line styles of three lines on a graph in Excel.  I found the property node that allows me to change the line style but I am not sure what to pass into the varient.  I hav

  • Calling BSP from Workflow

    Hi,   Can we call an BSP page from within workflow step and can it show in Universal worklist of the Enterprise Portal?   If it possible then from which version of Web application server and enterprise portal it is supported? Thank you arun

  • Installing CSA MC 4.5 with SQL 2000

    Hi I am trying to install the CSA MC on a Server running SQL 2000 . I select the "Remote Database" option , create a database, user and File group within the database called analysis as instructed however upon install of he CSAMC I keep getting promp