Expression is not assignable

I have an object (a custom UIView) in which I have this property in the public API:
@property (nonatomic) CGPoint theOrigin;
then, in the implementation file I have:
@synthesize theOrigin = _theOrigin;
also in the implementation file I have the method:
-(void)setDefaultOrigin {
    _theOrigin.x = self.bounds.origin.x + self.bounds.size.width/2;
    _theOrigin.y = self.bounds.origin.y + self.bounds.size.height/2;
which doesn't generate any compiler complaints but if I try to code the above method
like this:
-(void)setDefaultOrigin {
    self.theOrigin.x = self.bounds.origin.x + self.bounds.size.width/2;
    self.theOrigin.y = self.bounds.origin.y + self.bounds.size.height/2;
I get a complaint on both lines of the method stating that the "Expression is not assignable"
and it won't allow me to build. I am not understanding why I can't code it the second way.

self.theOrigin.x assumes x is a property of theOrigin, which it is not.  It's a field of a structure.  _theOrigin.x references the supporting ivar directly and correctly sets the x field of the structure.

Similar Messages

  • Why does my Airport Express say "self assigned IP address"?  No IP address for the ethernet, and it is not connecting to my cable router any longer...

    Why does my Airport Express say "self assigned IP address"?  No IP address for the ethernet, and it is not connecting to my cable router any longer...

    Some cable providers.....like mine, a well known company......seem to take anywhere from a few moments to sometimes up to 30 minutes to allow their equipment back at the cable company to fully reset and issue a new fresh connection.
    So, it would not hurt to leave things powered down for 15-20 minutes or more when you perform the reset that John Galt suggests.

  • Configuring the time capsule airport wlan function as "connect to wlan", the time caspule gets a correct IP adress from the other wlans IP range, but does not assign this to the ethernet ports. With Airport Express it worked!

    Configuring the time capsule airport wlan function as "connect to wlan", the time capsule gets a correct IP adress from the other wlans IP range, but does not assign this to the ethernet ports. With Airport express it worked, the single Ethernet port got the IP Parameters passed through!
    My setup is a Vodafon Esaybox connected to ISP. Time Capsule is not able to extend the wlan of the easybox, neither airport express can do.
    Only the option "connect to wlan" is succesful.
    With airport express I was able to connect my Sony Bravia TV to the lan via ethernet to stream pictures, the TV set got an IP adress from the easybox.
    With the time capsule the easybox dosn't find devices connected to the ethernet ports to submit IP adresses. The TV set get another IP adress (169.xxx.x.x.) in subnet mask 255.255.0.0 and I don not now where from.
    My notebook is a MacBook pro.
    Any idea????
    Thank a lot in advance!
    Kind regards
    Ingo

    Neverthe less, could there be the chance, that this feature could be implemnented with an firmware update?
    That would appear to be a question for Apple to answer. You can make suggestions to Apple here:
    Apple - AirPort Extreme - Feedback
    If the AirPort Extreme and Time Capsule are configured to "extend a wireless network" they will provide additional wireless coverage....and...the Ethernet ports are enabled in this type of setup.
    The "catch" here is that you must have an Apple router providing the network to be extended.

  • SD card detected but not assigned a device

    I have a Dell XPS 14 notebook which comes with a SD card slot. I plug in my SanDisk 8GB card from my camera and the following shows up in dmesg:
    [821605.639247] mmc1: cannot verify signal voltage switch
    [821605.750637] mmc1: new ultra high speed SDR50 SDHC card at address e624
    And that's it. The card is not assigned to any device. lsmod seems to indicate that I have the required modules loaded:
    ± % lsmod | egrep 'mmc|sdhci|sd'
    sd_mod 31361 3
    rtsx_pci_sdmmc 13911 0
    scsi_mod 132250 4 usb_storage,libata,sd_mod,sr_mod
    sdhci_pci 12604 0
    sdhci 28820 1 sdhci_pci
    mmc_core 95465 3 sdhci,rtsx_pci_sdmmc,sdhci_pci
    rtsx_pci 32305 2 rtsx_pci_ms,rtsx_pci_sdmmc
    lspci also shows the SD card controller:
    03:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    But fdisk -l just shows my hard drive
    ± % fdisk -l
    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 0FBC37E2-A97E-4040-996C-F290C0C9CF0A
    Device Start End Size Type
    /dev/sda1 2048 1050623 512M EFI System
    /dev/sda2 1050624 976773134 465.3G Linux filesystem
    Anything else I need to do to get the SD card assigned to a device so I can mount it.

    It's considered a removable drive.  I have a USB card reader that if I insert it after the computer has been booted it gives me a little trouble, but having it inserted on booting it wants to put the device in a different order.

  • The expression is not being displayed in the alert inbox

    Hi,
    I have created an expression in 'Long and Short Text' tab present in the ALRTCATDEF transaction screen.
    The expression is "test Error in message &SXMS_MSG_GUID&". However if i goto alert inbox, this expression is not getting displayed. I tried putting this expression under Message title, Short text and Long text tabs. But no change in the result.
    In the above expression, SXMS_MSG_GUID is a container variable declared in ALRTCATDEF transaction screen.
    Same is the situation irrespective of the container variable being used - SXMS_ERROR_CAT etc.,
    I appreciate your early response.
    Regards
    Ganesh

    Hi Venkat,
    Without using BPM, you can think/try out with triggering an alert from UDF:
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Otherwise, you can use email functionality to notify the error message rather an alert....so that you can customize your output format/or error message required.
    Also check out this Michal's blog on ALERT Configuration..
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Hope this wull help.
    Nilesh

  • In our enterprise MPLS network we are using 192.168.20.0/24 subnet, in this subnet we have not assigned the IP 192.168.20.200/30 & 204/30, But still these subnets are reachable . Are these NNI IP ...Please explain.

    In our enterprise MPLS network we are using 192.168.20.0/24 subnet, in this subnet we have not assigned the IP 192.168.20.200/30 & 204/30, But still these subnets are reachable . Are these NNI IP ...Please explain.

    I have checked with ISP, there response is like below:
    Those are the NNI to GBNET IPs for Dominican Republic. They are Network IPs. You should be able to ping them-that means they are working.
    WANRT01#show  ip route | include 192.168.20.20
    B        192.168.20.200/30 [20/0] via 192.168.20.226, 02:18:29
    B        192.168.20.204/30 [20/0] via 192.168.20.226, 02:18:29
    Here its shows from any of our MPLS site we are able to trace the IP and it seems like, 192.168.20.204/30 is one more site but in actual its not.
    INMUMWANRT01#ping 192.168.20.205
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.20.205, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 224/232/260 ms
    INMUMWANRT01#trace              
    INMUMWANRT01#traceroute 192.168.20.205
    Type escape sequence to abort.
    Tracing the route to 192.168.20.205
    VRF info: (vrf in name/id, vrf out name/id)
      1 192.168.20.226 24 msec 24 msec 24 msec
      2 192.168.20.206 [AS 8035] 232 msec 232 msec 252 msec
      3 192.168.20.205 [AS 8035] 224 msec 224 msec *

  • Airport Express will not talk to my router

    I have 2 airport express stations that are 6.3 and they have always been able to connect to my qwest wireless router no prob. I've recently updated to Leopard and was surprised to see the new airport utility instead of the airport admin and airport setup tools. I like the new utility and interface as it seems less confusing than the old but now I'm having issues.
    1. I can get the new utility to recognize my airport express ONLY when I do a hard reset to the airport express.
    2. As I've done many times in the past, I go through the following setup protocol to join my current wireless network. I simply want to join my current network so I can talk to my stereo and printer wirelessly.
    3. When I finish the setup and hit update, the airport utility updates the express successfully and then attempts to restart the express in order to join my network. This is where the problem lies.
    *Here's the error message I get:*
    AirPort Utility was unable to find your Apple wireless device after restarting.
    The settings for this Apple wireless device have been successfully updated, but there was a problem re-joining the wireless network or finding the Apple wireless device. You may need to select your network from the AirPort menu and try again.
    Now, I've tried repeating this process 10 times with both airport express stations and the same result happens? Remember, the only way for the utility to find the express is to hard reset the express. What gives? I bought both of these express stations over a year ago and they've been working fine til now. Because they are older and updated to 6.3, I shouldn't update them to the 802.11n7.3.1 update or should I? Is there something different about this new airport utility in Leopard that is causing the problem?
    Like I said, I've done this exact same thing many times and its pretty straight forward but I'm stumped.
    Anyone? Thanks in advance

    I've got the solution! It took me some fair hours, though...
    It seems the Airport Express can not handle the WEP-encryption properly, nor the 64 or the 128 bit versions. Here's how to work around it:
    1) change your routers encryption to WPA2 with passkey (WPA-2-PSK). You may use the 10-digit code supplied with most routers or any of your own choice.
    2) Change all wireless cards in your network to WPA2-PSK. It can take some time to figure it all out, but in the end you'll fix it. I had to download a new driver for my D-Link card DWL-G650 for instance.
    3) Do the usual config thing with the Airport Express. Choose to connect to an existing network, apply the 10-digit passkey (be sure to choose the WPA2-PSK-option in the drop down-menu).
    4) Off you go! Itunes will find the remote speakers, green lights all over and everybody turns happy...
    /W

  • My new airport express does not connect my printer to my computer?  My old airport did! then I updated to OS 10.9.2.  How do I get it connected?

    My new airport express does not connect my printer to my computer.  The old airport did.  I recently updated to OS 10.9.2.  I have since bought a new
    HP 6700 all in one wireless printer,  got the latest Comcast router.  None of which connect to my computer wirelessly.  Which do I throw away the printer, router, or Mac?  Help

    Contact HP for support.
    Explain that you are using a Mac, anticipate the inevitable groan, and wait patiently for their resident Mac expert to return from vacation.
    Until then download and install its driver here: http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=5058338&cc=us&dlc=en &lc=en
    Otherwise return the printer and purchase one from a company that visibly supports OS X. HP isn't on that list.

  • Error while trying to run Bex Query -------- Field symbol is not assigned.

    Hello Every body,
    I am facing the following error after giving some value in Selection screen and trying to run the Bex Query
    ERROR : Field symbol is not assigned.
    Thanks in advance,
    Praveen

    can u plz give details of variables, what it is build on and the value u r inputing,
    also is thr any dump.
    double click on the error message it shows u. it will give u the detailed error message. post that too

  • Reporting Issue   "Opening Balance values are going to Not Assigned Values"

    Hi Friends,
    Closing Balance values are perfectly showing but opening balance values are going to Not Assingned Values? I am not able to find it out.
    our query is built on PCA Daily Multiprovider.
    Pls Help.
    Thanks
    Asim

    Hi Ravish,
    Here are the details
    Stock values and quantities in the PCA cube of BW never show correctly at an article level due to an opening balance issue.  This reduces our ability to report on stocks at moving average price, i.e. anything that actually matches the financial values in the system. The issue arises because stock at the beginning of the year (quantity and value) for any site is only shown against an article of "Not assigned."  Stock movements during the year are shown against the appropriate article.(If you have a new site, the will have stock assigned against an article up until 31 December and then the 31 December values are shown against "not assigned" for the next year).
    Thanks
    Asim

  • How to pass # (Not Assigned) in open doc url ??

    I am unable to pass # (Not Assigned) in open doc URL. I am also try %23 ( encoded form of #) but it show MDX error and when i supply directly # then my WebI report pull all the data i.e. my filter doesn't work. Please give me some way to pass # in opendoc..

    http://boseimdev60:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=AQgEkeXDfo5PpR_IFC.rse0&sIDType=CUID&sType=wid&sRefresh=Y&mode=full&sRefresh=Y&lsSCalendarYear%2fMonthTo=032010&lsSCalendarYear%2fMonthFrom=032010&lsSInfoprovider (Multiple Required)=ZPUR_C15&lsSPlant(SelectionOptions%2cOptional)From=&lsSPlant(SelectionOptions%2cOptional)To=&lsSPur Doc Category (Optional)=K&lsSPlant=%23
    Here Plant=%23 i.e. in last i increase this prompt in WebI level so its work.

  • Showing as not assigned

    Hi All,
    In the bex analyzer report, I am seeing values as NOT ASSIGNED and #  in text and key columns when there is no data.
    I want to see them as blank instead of them,
    Can anyone tell where can I make that setting or change.
    Thanks In advance!

    Hi Pallavi,
    I think you can find some VB macro code posted here that will help you to do this...there is no option set in the query designer to blank out the records.
    Hope this helps...

  • SAP MII 14.0 SP5 Patch 11 - Error has occurred while processing data stream Dynamic Query role is not assigned to the Data Server

    Hello All,
    We are using a two tier architecture.
    Our Corp server calls the refinery server.
    Our CORP MII server uses user id abc_user to connect to the refinery data server.
    The user id abc_user has the SAP_xMII_Dynamic_Query role.
    The data server also has the checkbox for allow dynamic query enabled.
    But we are still getting the following error
    Error has occurred while processing data stream
    Dynamic Query role is not assigned to the Data Server; Use query template
    Once we add the SAP_xMII_Dynamic_Query role to the data server everything works fine. Is this feature by design ?
    Thanks,
    Kiran

    Thanks Anushree !!
    I thought that just adding the role to the user and enabling the dynamic query checkbox on the data server should work.
    But we even needed to add the role to the data server.
    Thanks,
    Kiran

  • How can I find photos that are not assigned to any collection?

    Hi !
    I'm using LR 5.7.1 on a Mac.
    When I've retouched raw pictures with PS CC (and do not need the PSD file any longer) I export the PSD (that is in my catalog) as JPG and let it add to my catalog automatically. After that I delete the PSD file. That works fine.
    But .... the new JPG file is not assigned to any collection. That's no problem unless I forget to do it manually after that export (and import).
    That brings me to my question.
    How can I find photos that are not assigned to any collection?
    I tried it with a smart collection after I found nothing suitable in library filter. The search criteria I tried are Source -> Collection with any of the conditions. One with an empty value field, then with just a space and so on.
    Has anybody a good hint for me?
    Thomas

    You can also add numbers if you have collections that don't use alphabet characters.

  • How to get rid of a "not assigned" line in Bex

    Hello Experts,
    I feed a Cube with two ODS-Objects, one fpr orders and one for items.
    ODS1 provides the number of orders and
    ODS2 provides the number of items and the charachteristic item_type for the dimension item.
    Because the charachteristic item_type is not provided by ODS1 there is a "not assigned" line at the bottom of the table in Bex!
    How can I get rid of this line? I want to avoid usong seperate Cubes for Orders and Items!
    thanx
    hiza

    Hi Hiza.
    In the query designer restrict item_type to # -> right click on # -> exclude from selection.
    Hope it helps.
    BR
    Stefan

Maybe you are looking for

  • What Function/Features you want to have in next Sun Studio release?

    Hello, My name is Ngoc Nguyen, from Sun Studio product team. We just shipped Sun Studio 12 ML release (for C, C++, Fortran compiler) past few weeks. We start working on the next release. This is the right time for the community to tell us what featur

  • HT201304 How do I set password for all in app purchases?

    How do I set password for all in app purchases? xx

  • Dashboard causing system freeze

    I have just upgraded from a G5 iMac to an Intec iMac - I find that when I select dashboard the windows come "in" to about halfway and then the system freezes and a cold restart is necessary (never happened on the G5 with the same widgets). This doesn

  • ICloud Calendar problem on PC

    I have an issue with the iCloud calendar on my PC. I have loads of events in my calendar and it's synced with my iPhone 4, running iOS 6.0.1. Yesterday I deleted some repeating events for my spring holiday, starting on 23rd March and as a result I go

  • How do I hang up on a conference call

    Need Help Here! How do I hang up on a conference 3-way call without completly diconnct the call?