ausgelogged

Y2Square | C. Scherff

Tel: +491797001820

Image_2

A list of the most important works

Image_

Swift-Architecture

iOS Swift supports various design patterns that can be used to structure and organize code for better readability, maintainability, and scalability. Here are some of the most commonly used design patterns in iOS Swift:

  • Model-View-Controller (MVC) pattern: This is a widely used design pattern in iOS Swift that separates the code into three main components: Model, View, and Controller. The Model is responsible for storing data, the View is responsible for displaying the data, and the Controller is responsible for controlling the flow of data between the Model and the View.
  • Model-View-ViewModel (MVVM) pattern: MVVM is another popular design pattern that separates the code into three main components: Model, View, and ViewModel. The ViewModel acts as a mediator between the View and the Model, providing the necessary data and logic to the View for display.
  • Delegation pattern: The Delegation pattern is used to allow one object to communicate with another object. In iOS Swift, this pattern is used frequently for event handling and to establish communication between a View and a Controller.
  • Observer patternThe Observer pattern is used to establish a one-to-many relationship between objects, where the state changes of one object trigger updates in the other objects that are observing it. This pattern is commonly used in iOS Swift for handling events and notifications.
  • Singleton patternThe Singleton pattern is used to ensure that only one instance of a class exists in the application. This pattern is commonly used in iOS Swift for managing shared resources, such as network connections or database access.
  • Factory pattern: The Factory pattern is used to create objects without specifying their exact class. This pattern is commonly used in iOS Swift to create UI elements dynamically at runtime.

These are just some of the commonly used design patterns in iOS Swift, and there are many others available as well. The choice of design pattern largely depends on the specific requirements of the project, the architecture of the application, and the development team's preferences and expertise.

 

Follow the SOLID principles: This set of principles can help you write code that is modular, maintainable, and scalable. SOLID stands for Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion. By following these principles, you can create code that is easier to understand, test, and modify.

 

Certainly, here's an example of how you could use SOLID principles in a Swift app:

Let's say you're building a weather app that displays the current weather for a user's location. Here's how you could use the SOLID principles to build a modular and maintainable app:

Image_

StateObject vs EnvironmemntObject

In summary, StateObject is used for managing data within a single view or view hierarchy, while EnvironmentObject is used for sharing data across multiple views or view hierarchies. StateObject is owned by the view hierarchy, while EnvironmentObject is injected into the view hierarchy.

Image_

ChatGPT-3D App

**App description: 3D Visualizer with ChatGPT**

Immerse yourself in the world of three-dimensional visualization with our innovative iOS app that combines the power of 3D object representation with the intelligence of ChatGPT. Our app gives you a seamless and immersive way to view and manipulate 3D models while efficiently solving complex 3D problems.

**Main functions:**

1st **High-quality 3D display:**
   Enjoy detailed and realistic 3D models rendered in real time. Our app uses advanced rendering technologies to ensure outstanding visual quality.

2nd **Intelligent troubleshooting:**
   Experience the integration of ChatGPT to help you solve complex 3D problems. Whether it's adjusting lighting effects, optimizing rendering settings or debugging model errors - ChatGPT is at your side with intelligent solutions.

3 **Simple interaction:**
   Move, rotate and zoom your 3D objects intuitively with multi-touch gestures. The user-friendly interface allows you to navigate through your models quickly and easily.

4. **Customizable scenarios:**
   Customize your 3D scenarios as you wish.  Change light sources, materials and camera angles to get the best out of your 3D models.

5th **Dynamic support:**
   Use the ChatGPT feature to get real-time advice and solutions for your specific needs. Simply ask questions and get instant answers and recommendations.

6. **Optimized performance:**
   Our app is designed for maximum efficiency so that you can display and edit even complex 3D models smoothly and without delays.

**Why 3D Visualizer with ChatGPT?

- Innovative technology:** Experience the combination of advanced 3D rendering and artificial intelligence.
- User-friendliness:** Intuitive control and simple operation make the app accessible even for beginners.
- Efficient problem solving:** ChatGPT offers fast and precise support for all 3D challenges.
- Flexibility:** Customizable scenarios enable a tailor-made display of your 3D objects.

Discover the future of 3D visualization with the unique combination of 3D object representation and intelligent problem solving. Download the app now and experience the power and convenience of our technology for yourself!

Image_

XTConnect

Manage your xt:Commerce stores - mobile via iPhone or iPad app! xtConnect enables you to manage your xt:Commerce stores (open source and xtc forks such as Modified, Gambio GX2, SEO Commerce) via Apple iPhone or iPad. Quickly and easily change product features and special offers, view your orders and order data as well as statistics - no matter where you are!Download the free app

Image_

BMW - APP zur Prozessoptimierung bei Prüfständen

APP for process optimization on test benches in cooperation with BMW/Magna Steyr

This app was specially developed and used for the process optimization of a test bench management project. Communication between the test bench and the test bench administrator ensures that the latter can react extremely quickly in the event of failures.

Image_

SCRIPT

/usr/bin/env python3

import binascii import sys import can import time import socket import subprocess from time import sleep import shlex import codecs import string import json import ctypes import threading

DEBUG = False

bus = 0 controllerID1 = 107 #0x6B #bottom 108; 0x6C works controllerID2 = 108 #0x6C #top???  sendID=115;0x73, receiveID=107;0x6B controllerID3 = 161 #0xA1

controllerResponseID1 = 115 #0x73 #bottom 108; 0x6C works controllerResponseID2 = 116 #0x74 #top???  sendID=115;0x73, receiveID=107;0x6B controllerResponseID3 = 161 #0xA1

voltageCorrection = 1.84

delayCan = 0.01 delay = 1.0

noResponseErrCode = "1"              

class Controller():

        validForRange = []         responseArray = []         responseID = 0         controllerID = 0         iExpectedAnswer = 1         iStartAsk = 0         iEndAsk = 1         iCurrentAsk = 0         iPreviousAsk = -1         isActive = True         bus = None         output = None           ctrArray = None         iController = 0                  def __init__(self, controllerID, responseID, validForRange, expectedAnswer, startAsk, endAsk):                 self.responseArray = []                   self.controllerID = controllerID                   self.responseID = responseID                   self.validForRange = validForRange                   self.iExpectedAnswer = expectedAnswer                   self.iStartAsk = startAsk                   self.iEndAsk = endAsk                   self.iCurrentAsk = startAsk                   if DEBUG:                         print("Init Controller: %s" % self.controllerID)

        def get_responseArray(self):                 return self.responseArray

        def get_startAsk(self):                 return self.startAsk

        def get_isActive(self):                 return self.isActive

        def set_isActive(self, state):                 self.isActi

Image_

Y2Car-iOS-App

Individual app solution for electric cars;

see also: Y2Car system in action

The Y2Car complete system includes the following:

  • CAN/BLE hardware + software Y2Car tested and preconfigured hardware. The system is currently compatible with CURTIS 3510 and BOOSTECH. Kelly and BMS123 are easy to unlock if required. Other controllers can be added and purchased from the software through programming customization.  
  • iOS App (Software) Y2Car High-Performance App. Extremely fast display of CAN data. Based on the latest iOS technology from Apple. Low energy Bluetooth connection. Optimized for low power consumption, with switch-off functions. A charging function notifies the charging status by email when an Internet connection (3G or WLAN) is available.

    Advantages:

    1. Extremely fast display of CAN data. UI customizable to customer requireme
Image_

Proxy Server for iOS Devices

Proxy Server for iOS Devices


Track all outgoing connections on your iPhone with this app. It is also able to track Apple specific services. See how many MB you send to and receive from the Internet. The app is also able to process received content and e.g. generate Javascript or HTML: Javascript or HTML.

Image_

GFK

APP in cooperation with GFK (Gesellschaft für Konsum)

This app was written as part of the CSF to determine the user's usage behavior. It allows the tracking of various events, e.g. SMS received, outgoing call etc. This app was developed with 4 developers for 4 years.

Image_

Wagner App2

The Wagner App!in the App Store:This app was developed in collaboration with Schott Verlag and Mercedes Switzerland. What is special about this app is the fact that enormous amounts of content were processed. The app therefore had to be programmed in such a way that editing, design and programming could simultaneously deliver the data and flow into the code. This app is based on HTML5 and was optimized for loading speed.

Image_

Weber App

The Weber app!in the App Store:This app was developed in collaboration with Schott Verlag and Mercedes Switzerland. What is special about this app is the fact that enormous amounts of content were processed. The app therefore had to be programmed in such a way that editing, design and programming could simultaneously deliver the data and flow into the code. This app is based on HTML5 and was optimized for loading speed.

Image_

Bible4Kids

Bible4Kids App

in the App Store:The Bible4Kis app was developed in collaboration with the art book manufacturer L.Rex from Hong Kong and the publishing house Scandinavian Puplishing House. The app implements Y2Square's specially developed3D framework for officesr. An https upload/download implementation allows the framework to display server-side content.

Image_

Visual Choice

Visual Choice

The Visual Choice app was developed in collaboration with Bongo AG. The app implements the 3D framework for books and games developed by Y2Square. The game app is a traditional game in 3D form.