Suchergebnisse
Suchergebnisse 241-246 von insgesamt 246.
-
class func jsonObject(with data: Data, options opt: JSONSerialization.ReadingOptions = []) throws -> Any Description Returns a Foundation object from given JSON data. The data must be in one of the 5 supported encodings listed in the JSON specification: UTF-8, UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE. The data may or may not have a BOM. The most efficient encoding to use for parsing is UTF-8, so if you have a choice in encoding the data passed to this method, use UTF-8. Note In Swift, this method …
-
Ich bekomme von einem REST Call Daten zurück die ich mit if let json = try JSONSerialization.jsonObject(with: data!, options: .allowFragments) as? [String: Any] in ein JSON Objekt umwandeln lasse. Wenn ich mir das Objekt nun mit print anzeigen lasse bekomme ich das hier: ["ConfigItem": <__NSSingleObjectArrayI 0x6000000060f0>( { CIXMLData = { AllIPAddresses = "192.168.0.60"; AssignedCompany = 13003; CPU = "Intel(R) Xeon(R) CPU 3060 @ 2.40GHz(2400 MHz)"; FQDN = WORKGROUP; HardDisk = ( { Capacity =…
-
Habe zu spät gemerkt das das Github Projekt irgendwie unvollständig war. Habe es noch mal hochgeladen. Kann mir hier keiner Helfer? Gruß Dirk
-
Hallo, ich probiere schon einige Zeit an der Dropbox API rum. Ich möchte für ein Projekt eine SQLite Datei auf das iPad bekommen um darin arbeiten zu können. Die Datei wird an Mac und iPad verwendet, deshalb will ich über Dropbox "syncen". Das die Datei niemals an 2 Orten gleichzeitig benutzt werden darf ist mir klar. Für SQLite benutze ich "fmdb" . Ich habe bereits mit der Core API das SQLite File in das Documents Directory vom iPad geladen bekommen und konnt per fmdb darauf zugreifen und Daten…
-
Hallo, ich bin total frisch in der ObjC Entwicklung und habe angefangen ein paar kleinere Speilprogramme für iOS zu schreiben. Dabei bin ich auf den Date Picket gestossen ,welchen ich auf Count Down Timer umgestellt habe. In der "Date & Time" ansicht ist, wenn ich Lokale auf "German" stelle, alles auf deutsch ("Heute" statt "Today" usw.), stell ich aber auf den Count Down Timer Mode um, steht als Beschriftung "hour" statt "Stunden", wobei Lokale immer noch auf "German" steht. Im Projekt hab ich …